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

    Interface ApiPerpetualsTransferCollateralBody

    Request body for transferring collateral between two perpetuals accounts.

    interface ApiPerpetualsTransferCollateralBody {
        fromAccountCapId?: string;
        fromAccountId: bigint;
        sponsor?: PerpetualsSponsorConfig;
        toAccountCapId?: string;
        toAccountId: bigint;
        transferAmount: bigint;
        txKind?: string;
        walletAddress: string;
    }
    Index
    fromAccountCapId?: string

    Optional source account capability object ID.

    fromAccountId: bigint

    Source perpetuals account ID.

    Optional cached gas-pool sponsorship data.

    toAccountCapId?: string

    Optional destination account capability object ID.

    toAccountId: bigint

    Destination perpetuals account ID.

    transferAmount: bigint

    Amount to transfer in the collateral coin's smallest unit.

    txKind?: string

    Optional serialized transaction kind to extend.

    walletAddress: string

    Wallet authorized to transfer collateral.