Interface EntryFunctionArgument

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

Hierarchy (view full)

Implemented by

Methods

  • Returns Uint8Array

  • Returns Hex

  • Serialize an argument to BCS-serialized bytes.

    Parameters

    Returns void

  • Serialize an argument as a type-agnostic, fixed byte sequence. The byte sequence contains the number of the following bytes followed by the BCS-serialized bytes for a typed argument.

    Parameters

    Returns void