@wharfkit/session - v4.0.1
    Preparing search index...

    Class Action

    Interface that should be implemented by ABI serializable objects.

    Hierarchy (View Summary)

    Index
    abi?: ABI
    account: Name

    The account (a.k.a. contract) to run action on.

    authorization: PermissionLevel[]

    The permissions authorizing the action.

    data: Bytes

    The ABI-encoded action data.

    name: Name

    The name of the action.

    abiFields: ABIField[]
    abiName: string
    • get decoded(): any

      Returns any

    • get structFields(): ABIField[]

      Returns ABIField[]

    • Return action data decoded as given type or using ABI.

      Type Parameters

      Parameters

      • type: T

      Returns InstanceType<T>

    • Return action data decoded as given type or using ABI.

      Type Parameters

      • T extends keyof BuiltinTypes

      Parameters

      • type: T

      Returns BuiltinTypes[T]

    • Return action data decoded as given type or using ABI.

      Parameters

      Returns ABISerializable