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

    Interface ApiRouterDynamicGasBody

    Represents data needed for dynamically estimating gas costs for a router trade, including the coin type for gas, the coin amount out, sender address, and an optional referrer or sponsor address.

    interface ApiRouterDynamicGasBody {
        coinOutAmount: string;
        gasCoinData: ServiceCoinData;
        gasCoinType: string;
        referrer?: string;
        senderAddress: string;
        sponsorAddress: string;
        txKindBytes: string;
    }
    Index
    coinOutAmount: string

    The expected output amount in the output coin's smallest unit, encoded as a decimal bigint string.

    gasCoinData: ServiceCoinData

    The service coin record used to select the gas coin.

    gasCoinType: string

    The coin type used to pay gas, such as "0x2::sui::SUI".

    referrer?: string

    An optional referrer address used by the referral-aware gas estimate.

    senderAddress: string

    The address that signs the transaction.

    sponsorAddress: string

    The address sponsoring gas for the transaction.

    txKindBytes: string

    The transaction-kind bytes for the intended trade.