EVM Smart Accounts

Update EVM Smart Account

Changed on

Updates an existing EVM smart account. Use this to update the smart account's name.

put/v2/evm/smart-accounts/{address}

Request

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

Path parameters

address, string required

The 0x-prefixed address of the EVM smart account. The address does not need to be checksummed.

Request body

object required
name, string

An optional name for the smart account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM smart accounts in the developer's CDP Project.

Example request

{
  "name": "my-smart-account"
}

Response

Successfully updated EVM smart account.

EvmSmartAccount required
address, string required

The 0x-prefixed, checksum address of the Smart Account.

owners, string[] required

Today, only a single owner can be set for a Smart Account, but this is an array to allow having multiple owners in the future. The address is a 0x-prefixed, checksum address.

name, string

An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names are guaranteed to be unique across all Smart Accounts in the developer's CDP Project.

policies, string[]

The list of policy IDs that apply to the smart account. This will include both the project-level policy and the account-level policy, if one exists.

createdAt, string date-time

The UTC ISO 8601 timestamp at which the account was created.

updatedAt, string date-time

The UTC ISO 8601 timestamp at which the account was last updated.

Example response

{
  "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
  "owners": [
    "0xfc807D1bE4997e5C7B33E4d8D57e60c5b0f02B1a"
  ],
  "name": "my-smart-account",
  "policies": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "createdAt": "2025-03-25T12:00:00Z",
  "updatedAt": "2025-03-26T12:00:00Z"
}

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

    4 more changes in this revision