Hierarchy (View Summary)

Constructors

  • Parameters

    • client: SuiClient

    Returns MoveCoder

Properties

adapter: ChainAdapter<
    SuiMoveNormalizedModule,
    | SuiEvent
    | {
        dataType: "moveObject";
        fields: MoveStruct;
        hasPublicTransfer: boolean;
        type: string;
    },
>
moduleMapping: Map<string, InternalMoveModule>

Methods

  • Parameters

    • account: string
    • name: string

    Returns boolean

  • Parameters

    Returns Promise<any>

  • Parameters

    Returns Promise<any[]>

  • Parameters

    • type: TypeDescriptor<any>
    • data: string | Uint8Array
    • Optionalencoding: Encoding

    Returns Promise<any>

  • Parameters

    • data: any

    Returns bigint

  • Parameters

    • res: any[]
    • func: string

    Returns Promise<any[]>

  • Type Parameters

    • T extends any[]

    Parameters

    • inspectRes: DevInspectResults

    Returns Promise<TypedDevInspectResults<T>>

  • Type Parameters

    • T
    • ST extends
          | SuiEvent
          | {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }

    Parameters

    • typeStruct: ST

    Returns Promise<undefined | DecodedStruct<ST, T>>

  • Type Parameters

    • T

    Parameters

    • event: SuiEvent

    Returns Promise<undefined | TypedEventInstance<T>>

  • Parameters

    • payload: MoveCallSuiTransaction
    • inputs: SuiCallArg[]

    Returns Promise<MoveCallSuiTransaction>

  • Type Parameters

    • T
    • ST

    Parameters

    Returns Promise<undefined | T>

  • Parameters

    • data: any

    Returns any

  • Parameters

    • entriesDecoded: any[]

    Returns any[]

  • Type Parameters

    • T

    Parameters

    Returns Promise<TypedEventInstance<T>[]>

  • Type Parameters

    • T

    Parameters

    • type: TypeDescriptor<T>
    • objects: {
          dataType: "moveObject";
          fields: MoveStruct;
          hasPublicTransfer: boolean;
          type: string;
      }[]

    Returns Promise<
        DecodedStruct<
            {
                dataType: "moveObject";
                fields: MoveStruct;
                hasPublicTransfer: boolean;
                type: string;
            },
            T,
        >[],
    >

  • Type Parameters

    • T
    • ST extends
          | SuiEvent
          | {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }

    Parameters

    Returns Promise<DecodedStruct<ST, T>[]>

  • Parameters

    Returns Promise<BcsType<any, any>>

  • Type Parameters

    • T1
    • T2

    Parameters

    • objects: {
          dataType: "moveObject";
          fields: MoveStruct;
          hasPublicTransfer: boolean;
          type: string;
      }[]
    • OptionalkeyType: TypeDescriptor<T1>
    • OptionalvalueType: TypeDescriptor<T2>

    Returns Promise<Field<T1, T2>[]>

  • Parameters

    • module: SuiMoveNormalizedModule
    • address: string

    Returns InternalMoveModule

  • Parameters

    Returns Promise<void>