CDP API v1
cURL
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" }
Create a new address within a wallet.
Was this page helpful?