POST
/
v1
/
wallets
/
{wallet_id}
/
addresses
Create wallet address
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v1/wallets/{wallet_id}/addresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "public_key": "<string>",
  "attestation": "<string>"
}'
{
  "wallet_id": "d91d652b-d020-48d4-bf19-5c5eb5e280c7",
  "network_id": "base-sepolia",
  "public_key": "<string>",
  "address_id": "0xfc807D1bE4997e5C7B33E4d8D57e60c5b0f02B1a"
}

Authorizations

Authorization
string
header
required

Enter your JSON Web Token (JWT) here. Refer to the Generate JWT section of our Authentication docs for information on how to generate your Bearer Token.

Path Parameters

wallet_id
string
required

The ID of the wallet to create the address in.

Body

application/json
public_key
string

The public key from which the address will be derived.

attestation
string

An attestation signed by the private key that is associated with the wallet. The attestation will be a hex-encoded signature of a json payload with fields wallet_id and public_key, signed by the private key associated with the public_key set in the request.

Response

The created address.

wallet_id
string
required

The ID of the wallet that owns the address

Example:

"d91d652b-d020-48d4-bf19-5c5eb5e280c7"

network_id
string
required

The ID of the blockchain network.

Example:

"base-sepolia"

public_key
string
required

The public key from which the address is derived.

address_id
string
required

The onchain address derived on the server-side.

Example:

"0xfc807D1bE4997e5C7B33E4d8D57e60c5b0f02B1a"