Skip to main content

toDelegationChainScript

@totemsdk/recursive-mast


@totemsdk/recursive-mast / toDelegationChainScript

Function: toDelegationChainScript()

toDelegationChainScript(chain): string

Generate the full nested MAST script for a delegation chain. Each level delegates to the next via MAST.

Parameters​

chain​

DelegationChain

Returns​

string