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

    Interface NftAmmMarketObject

    Describes an NFT AMM market returned by the Aftermath API.

    The market exposes the pool used for pricing, the fractionalized coin that represents one NFT share, and the Move type arguments required by NFT AMM transaction calls. Balance fields use the smallest unit of their respective coin and remain bigint values.

    interface NftAmmMarketObject {
        assetCoinType: string;
        fractionalizedCoinAmount: bigint;
        fractionalizedCoinType: string;
        fractionalizedSupply: bigint;
        lpCoinType: string;
        nftsTable: { objectId: string; size: bigint };
        nftType: string;
        objectId: string;
        objectType: string;
        pool: PoolObject;
    }

    Hierarchy (View Summary)

    Index
    assetCoinType: string

    Move coin type deposited into or received from the market pool.

    fractionalizedCoinAmount: bigint

    Fractionalized coin amount represented by one NFT, in smallest units.

    fractionalizedCoinType: string

    Move coin type of the fractionalized coin.

    fractionalizedSupply: bigint

    Total fractionalized coin supply in the coin's smallest unit.

    lpCoinType: string

    Move coin type of the pool's liquidity-provider token.

    nftsTable: { objectId: string; size: bigint }

    Dynamic-field table that stores the NFTs available in this market.

    Type Declaration

    • objectId: string

      On-chain object ID of the NFT dynamic-field table.

    • size: bigint

      Number of NFT entries currently stored in the table.

    nftType: string

    Move object type of the NFTs traded by this market.

    objectId: string

    The on-chain object ID.

    objectType: string

    The Move type of the object.

    Pool that prices the asset coin against the fractionalized coin.