Hey there I purchased ONDO using USD. But the transaction API is returning USD in both amount
and native_amount
attributes. Here is the response I got from Coinbase, where there is no way of knowing that I bought ONDO on the expense of USD. Please get back at me soonest
{
"id": "84268064-5b1e-5cea-aa54-9338f3dd0611",
"type": "buy",
"status": "completed",
"amount": {
"amount": "-1030.00",
"currency": "USD"
},
"native_amount": {
"amount": "-1030.00",
"currency": "USD"
},
"description": null,
"created_at": "2024-03-24T23:40:46Z",
"resource": "transaction",
"resource_path": "/v2/accounts/1f5c8f74-6390-5704-a3f8-18103fa2bb66/transactions/84268064-5b1e-5cea-aa54-9338f3dd0611",
"buy": {
"total": {
"amount": "1030.00",
"currency": "USD"
},
"subtotal": {
"amount": "1014.88",
"currency": "USD"
},
"fee": {
"amount": "15.12",
"currency": "USD"
},
"id": "39ebf38c-0d79-40c5-857c-b31def60cffb"
},
"fee": {
"amount": "15.12",
"currency": "USD"
},
"is_staked": false
}
Transaction type is buy
and the URL is /v2/accounts/84268064-5b1e-5cea-aa54-9338f3dd0611/transactions?limit=100&new_version_opt_in=true