Class SimpleTransferHandler

Deprecated

use Transaction.transfer and Payload.transfer APIs instead.

Hierarchy

  • SimpleTransferHandler

Implements

Constructors

Methods

  • Deserializes the serialized payload into the payload type.

    Returns

    The deserialized payload.

    Throws

    If deserializing the type was not possible.

    Parameters

    • serializedPayload: Cursor

      The serialized payload to be deserialized.

    Returns SimpleTransferPayload

  • Gets the base energy cost for the given payload.

    Returns

    The base energy cost for the payload.

    Returns bigint

Generated using TypeDoc