Skip to main content
POST
/
v2
/
end-users
/
{userId}
/
evm-smart-account
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v2/end-users/{userId}/evm-smart-account \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Wallet-Auth: <x-wallet-auth>' \
  --data '{}'
{
  "evmSmartAccount": {
    "address": "0x842d35Cc6634C0532925a3b844Bc454e4438f55f",
    "ownerAddresses": [
      "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
    ],
    "createdAt": "2025-11-17T10:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.

Headers

X-Wallet-Auth
string
required

A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.

X-Idempotency-Key
string

An optional UUID v4 request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.

Required string length: 36

Path Parameters

userId
string
required

The ID of the end user to add the smart account to.

Body

application/json
enableSpendPermissions
boolean
default:false

If true, enables spend permissions for the EVM smart account.

Example:

true

Response

Successfully added EVM smart account to end user.

evmSmartAccount
object
required

Information about an EVM smart account associated with an end user.