Interface TransactionArgument

Represents an argument for entry functions, providing methods to serialize the argument to BCS-serialized bytes and convert it to different formats.

interface TransactionArgument {
    bcsToBytes(): Uint8Array;
    bcsToHex(): Hex;
    serialize(serializer: Serializer): void;
    serializeForEntryFunction(serializer: Serializer): void;
    serializeForScriptFunction(serializer: Serializer): void;
}

Hierarchy (view full)

Implemented by

Methods