aftermath-ts-sdk - v6.7.0
    Preparing search index...

    Gas Credit funding included in an onboarding transaction.

    interface ApiPerpetualsOnboardGasCredit {
        amount: bigint;
        coinType: string;
        createGasPool: boolean;
        slippage: number;
    }
    Index
    amount: bigint

    Amount of coinType to spend on Gas Credit.

    coinType: string

    Coin used to fund Gas Credit. Non-SUI coins are swapped to SUI.

    createGasPool: boolean

    When true, create the wallet's Gas Credit pool in the same transaction.

    slippage: number

    Slippage tolerance for the swap to SUI.