Interface ScriptFunctionArgument

interface ScriptFunctionArgument {
    bcsToBytes(): Uint8Array;
    bcsToHex(): Hex;
    serialize(serializer): void;
    serializeForScriptFunction(serializer): void;
}

Hierarchy (view full)

Methods

  • Serialize an argument to BCS-serialized bytes as a type aware byte sequence. The byte sequence contains an enum variant index followed by the BCS-serialized bytes for a typed argument.

    Parameters

    Returns void

Generated using TypeDoc