Skip to main content
GET
/
v3
/
status
/
get-tx-history
Get transaction history
curl --request GET \
  --url https://be.onebalance.io/api/v3/status/get-tx-history \
  --header 'x-api-key: <api-key>'
{
"transactions": [
{
"quoteId": "0xfa6094cd9d65416c975e3498cc5c2ca17df6c4cfa37e16f84f2736296dd98b5d",
"status": "COMPLETED",
"user": "0x9b747cC14A5672a7166b4eccdc92d7F4003f8081",
"recipientAccountId": "eip155:1/0x9b747cC14A5672a7166b4eccdc92d7F4003f8081",
"originChainOperations": [
{
"hash": "0xfa6094cd9d65416c975e3498cc5c2ca17df6c4cfa37e16f84f2736296dd98b5d",
"chain": "eip155:1",
"explorerUrl": "https://etherscan.io/tx/0xfa6094cd9d65416c975e3498cc5c2ca17df6c4cfa37e16f84f2736296dd98b5d"
}
],
"destinationChainOperations": [
{
"hash": "0xfa6094cd9d65416c975e3498cc5c2ca17df6c4cfa37e16f84f2736296dd98b5d",
"chain": "eip155:1",
"explorerUrl": "https://etherscan.io/tx/0xfa6094cd9d65416c975e3498cc5c2ca17df6c4cfa37e16f84f2736296dd98b5d"
}
],
"type": "SWAP",
"originToken": {
"aggregatedAssetId": "ob:eth",
"amount": "1000000000000000000",
"assetType": [
"eip155:1/erc20:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"eip155:1/slip44:60"
],
"fiatValue": [
{
"assetType": "eip155:1/erc20:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"fiatValue": "1800"
}
]
},
"destinationToken": {
"aggregatedAssetId": "ob:usdc",
"amount": "1800000000",
"assetType": "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"fiatValue": "1800"
},
"timestamp": "2024-01-01T12:00:00.000Z"
}
],
"continuation": "txn_v3_evm_456789abcdef"
}

Authorizations

x-api-key
string
header
required

Query Parameters

user
string
required
Example:
limit
integer
default:20
Required range: x >= 1
Example:
continuation
string
Example:
sortBy
enum<string>
default:createdAt
Available options:
createdAt,
updatedAt
Example:

Response

transactions
object[]
required
continuation
string
Example: