POST
/
v2
/
evm
/
accounts
/
{address}
/
send
/
transaction
Send a transaction
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v2/evm/accounts/{address}/send/transaction \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Wallet-Auth: <x-wallet-auth>' \
  --data '{
  "network": "base-sepolia",
  "transaction": "0xf86b098505d21dba00830334509431415daf58e2c6b7323b4c58712fd92952145da79018080"
}'
{
  "transactionHash": "0xf8f98fb6726fc936f24b2007df5cb20e2b8444ff3dfaa2a929335f432a9be2e7"
}

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

address
string
required

The 0x-prefixed address of the Ethereum account.

Body

application/json
network
enum<string>
required

The network to send the transaction to.

Available options:
base,
base-sepolia,
ethereum,
ethereum-sepolia,
avalanche,
polygon,
optimism,
arbitrum
Example:

"base-sepolia"

transaction
string
required

The RLP-encoded transaction to sign and send, as a 0x-prefixed hex string.

Example:

"0xf86b098505d21dba00830334509431415daf58e2c6b7323b4c58712fd92952145da79018080"

Response

Successfully signed and sent transaction.

transactionHash
string
required

The hash of the transaction, as a 0x-prefixed hex string.

Example:

"0xf8f98fb6726fc936f24b2007df5cb20e2b8444ff3dfaa2a929335f432a9be2e7"