EVM Smart Accounts

List spend permissions

Changed on

Lists spend permission for the given smart account address.

get/v2/evm/smart-accounts/{address}/spend-permissions/list

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

address, string required

The address of the Smart account to list spend permissions for.

Query parameters

pageSize, integer

The number of spend permissions to return per page.

pageToken, string

The token for the next page of spend permissions. Will be empty if there are no more spend permissions to fetch.

Response

Successfully listed spend permissions.

intersection required
object
spendPermissions, SpendPermissionResponseObject[] required

The spend permissions for the smart account.

Example response

{
  "spendPermissions": [
    {
      "permission": {
        "account": "0xd53Ee96438383Bb1eff07958D110B81363E9Ab47",
        "spender": "0x9Fb909eA400c2b8D99Be292DADf07e63B814527c",
        "token": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
        "allowance": "1000000000000000000",
        "period": "86400",
        "start": "0",
        "end": "281474976710655",
        "salt": "0",
        "extraData": "0x"
      },
      "permissionHash": "0x62bc94756bb6221a7913beab6024171fc60d3380fdc06759bfac76e8ccb3f63d",
      "revokedAt": "2025-03-25T12:00:00Z",
      "createdAt": "2025-03-25T12:00:00Z",
      "network": "base"
    }
  ],
  "nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    2 more changes in this revision