@xoxno/sdk-js
    Preparing search index...

    Interface StellarWithdrawArgs

    A hub/token coordinate with a token base-unit amount.

    interface StellarWithdrawArgs {
        accountNonce: string | number;
        amount: string;
        asset: string;
        hubId: number;
        to?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accountNonce: string | number
    amount: string

    i128 decimal string in token base units; e.g. 1 token at 7 decimals is "10000000".

    asset: string

    Token contract address (C...), including SAC addresses for classic assets.

    hubId: number

    Liquidity hub from the selected reserve; independent of its risk spoke.

    to?: string

    Optional recipient override (C... or G...). The pool pays the withdrawn tokens to this address instead of the caller. Omit for the standard flow — the contract arg is still sent, encoded as Option::None (ScVal void), which the controller resolves to the caller.