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

    Request body for sharing a Perpetuals account that was created with deferred sharing.

    This finalizes the account creation flow by consuming the AccountSharePolicy and sharing the Account object.

    The deferred account fields (accountArg, sharePolicyArg, adminCapArg, collateralCoinType) are sent as top-level fields (matching the API's flattened layout).

    1. create-account with deferShare=true → returns deferred with argument references
    2. grant-agent-wallet with deferred → mints assistant cap
    3. transfer-cap with composed → transfers admin cap to primary wallet
    4. share with deferred fields → finalizes account sharing
    interface ApiPerpetualsShareAccountBody {
        accountArg: TransactionObjectArgument;
        adminCapArg: TransactionObjectArgument;
        collateralCoinType: string;
        sharePolicyArg: TransactionObjectArgument;
        sponsor?: PerpetualsSponsorConfig;
        txKind?: string;
    }
    Index
    accountArg: TransactionObjectArgument

    PTB argument for the deferred Account object.

    adminCapArg: TransactionObjectArgument

    PTB argument for the AccountCap with admin authority.

    collateralCoinType: string

    Collateral coin type parameter for the account.

    sharePolicyArg: TransactionObjectArgument

    PTB argument for the AccountSharePolicy object.

    Optional cached gas-pool sponsorship data.

    txKind?: string

    Optional serialized transaction kind to extend.