POST
/
v1
/
portfolios
/
{portfolio_id}
/
wallets
/
{wallet_id}
/
onchain_transaction
curl --request POST \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/wallets/{wallet_id}/onchain_transaction \
  --header 'Content-Type: application/json' \
  --data '{
  "raw_unsigned_txn": "[EVM Example]: 02f00180830f424085057db95cdf825208942225166893d26f2064a15cc84f5b897591a7e6938642a13798e59d80c0808080\n[Solana Example]: 010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080010002045bae9ac3406b6ad02953cef2646a07966df84f35c0d754d5cc628d452299fcc606c34c7ae7b6d15777787f4f5217d8f2537e7efecabf3d96c39952ed2144322e00000000000000000000000000000000000000000000000000000000000000000306466fe5211732ffecadba72c39be7bc8ce5bbc5f7126b2c439b3a40000000dc34215f010238fbe5a955301891d29cdc1ea2b1f175e36c01c7cde0126ba58303020200010c02000000364b16000000000003000903102700000000000003000502400d030000",
  "rpc": {
    "skip_broadcast": false,
    "url": "https://rpc.flashbots.net/fast"
  },
  "evm_params": {
    "disable_dynamic_gas": false,
    "disable_dynamic_nonce": false,
    "replaced_transaction_id": "0bf7bf1e-bafa-4d7e-9312-fa0bf3b63f27",
    "chain_id": "1",
    "network_name": "Ethereum"
  }
}'
{
  "transaction_id": "0bf7bf1e-bafa-4d7e-9312-fa0bf3b63f27"
}

Path Parameters

portfolio_id
string
required

The portfolio ID

wallet_id
string
required

The wallet ID

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.