signMerkleRoot

Description The signMerkleRoot method signs the Merkle root using the account's private key.

Parameters

  • root (string): The Merkle root to be signed.

Returns Returns a Promise that resolves to a string containing the signature of the Merkle root.

Example

const signature = await sdk.signMerkleRoot(root);
console.log("Signed Merkle Root:", signature);

Last updated