@paystreamer/sdk
    Preparing search index...

    Interface BuildOnboardWithSwapTxParams

    interface BuildOnboardWithSwapTxParams {
        accountCapId?: string;
        accountId?: string;
        clockId: string;
        denomination: string;
        maxAttempts?: number;
        packageId: string;
        performSwap: () => any;
        platformId: string;
        tierAmount: bigint;
        tierFrequencyMs: bigint;
        tierIndex: number | bigint;
        tx: Transaction;
    }

    Hierarchy

    Index
    accountCapId?: string
    accountId?: string
    clockId: string
    denomination: string
    maxAttempts?: number
    packageId: string
    performSwap: () => any

    Called with no arguments; perform your swap (e.g. into a deepbook.swapExactQuantity call producing Coin<denomination>) and return the resulting coin argument. Composed into the same tx, before account creation and the deposit/subscribe call.

    platformId: string
    tierAmount: bigint
    tierFrequencyMs: bigint
    tierIndex: number | bigint
    tx: Transaction