Coinbase Server Wallet icon

Coinbase Server Wallet

Interact with Coinbase Server Wallet API v2 (EVM & Solana)

Actions61

EVM Smart Accounts → Revoke Spend Permission

AI-generated

Summary

Revoke spend permission for a specified EVM Smart Account.

Inputs

  • X-Wallet-Auth (required) — A JWT signed using your Wallet Secret, encoded in base64.
  • X-Idempotency-Key — An optional UUID v4 request header for making requests safely retryable.
  • address (required) — The address of the Smart account this spend permission is valid for.
  • network (required) — The network the spend permission is on.
  • permissionHash (required) — The hash of the spend permission to revoke.
  • paymasterUrl — The paymaster URL of the spend permission.
  • requestOptions — Optional request settings, such as batching and timeout.

Output shape

no body — success/failure only

Successful execution will simply return a success status; no additional data will be provided.

Examples

Example 1: If you want to revoke a spend permission for a smart account on Ethereum network, provide the account address, the corresponding permission hash, the wallet authentication token, and specify the network.

X-Wallet-Auth: , Address: 0xYOUR_SMART_ACCOUNT_ADDRESS, Network: ethereum, Permission Hash:

Discussion