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

    Interface ApiPerpetualsRevokeAgentWalletTxBody

    Request body for revoking an Agent Wallet from a perpetuals account.

    This corresponds to POST /api/perpetuals/account/transactions/revoke-agent-wallet.

    The resulting on-chain transaction must be signed by the account admin wallet. accountCapId is the object ID of the assistant capability to revoke.

    interface ApiPerpetualsRevokeAgentWalletTxBody {
        accountCapId: string;
        accountId: bigint;
        txKind?: string;
    }
    Index
    accountCapId: string

    Assistant capability object ID to revoke.

    accountId: bigint

    Perpetuals account whose assistant capability is revoked.

    txKind?: string

    Optional serialized transaction kind to extend.