Description The signMerkleRoot method signs the Merkle root using the account's private key.
signMerkleRoot
Parameters
root (string): The Merkle root to be signed.
root
string
Returns Returns a Promise that resolves to a string containing the signature of the Merkle root.
Promise
Example
const signature = await sdk.signMerkleRoot(root); console.log("Signed Merkle Root:", signature);
Last updated 11 months ago