Skip to main content
POST
/
v2
/
evm
/
accounts
/
{address}
/
sign
Sign a hash
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v2/evm/accounts/{address}/sign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Wallet-Auth: <x-wallet-auth>' \
  --data '{
  "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}'
{
  "signature": "0x1b0c9cf8cd4554c6c6d9e7311e88f1be075d7f25b418a044f4bf2c0a42a93e212ad0a8b54de9e0b5f7e3812de3f2c6cc79aa8c3e1c02e7ad14b4a8f42012c2c01b"
}

Authorizations

Authorization
string
header
required

Headers

X-Wallet-Auth
string
required
X-Idempotency-Key
string
Required string length: 36

Path Parameters

address
string
required

Body

application/json
hash
string
required
Example:

Response

signature
string
required
Example: