aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Type Alias ServiceCoinData

    ServiceCoinData:
        | { Coin: ObjectId }
        | { Input: number }
        | { Result: number }
        | { NestedResult: [number, number] }

    Represents a coin reference in the Move environment, using either an on-chain ObjectId or an input index or result index from a transaction.

    Type Declaration

    • { Coin: ObjectId }
      • Coin: ObjectId

        On-chain object ID of the coin argument.

    • { Input: number }
      • Input: number

        Transaction input index that supplies the coin argument.

    • { Result: number }
      • Result: number

        Transaction result index that supplies the coin argument.

    • { NestedResult: [number, number] }
      • NestedResult: [number, number]

        Nested transaction result as [commandIndex, resultIndex].