Get paginated transactions info for chosen token
Get transactions for token
Supported on: Ethereum Base Solana BNB Chain Sonic Unichain Robinhood Arbitrum Avalanche ZKsync Gnosis Optimism Polygon Linea
Parameters
addresses
* array queryAddresses
chain_id
* integer queryChain id
contract_address
* string queryContract address
limit
any queryLimit
offset
any queryOffset
Request Body
This request doesn’t have any request body.
JavaScript
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const axios = require('axios');
async function httpCall() {
const url =
'https://api.1inch.com/portfolio/portfolio/v5.0/tokens/additional/transactions';
const config = {
headers: {
Authorization: `Bearer ${API_KEY}`,
},
params: {},
paramsSerializer: {
indexes: null,
},
};
const body = {};
try {
const response = await axios.get(url, body, config);
console.log(response.data);
} catch (error) {
console.error(error);
}
}
Returns
200
422
result
* array items
TransactionInfo object Details of a single token transaction.
transaction_hash
any Transaction hash on the blockchain
anyOf[0]
string anyOf[1]
null timestamp
* integer Unix timestamp of the transaction
event
* string Transaction event type (e.g. transfer, swap)
amount
* number Token amount involved in the transaction
price_to_usd
* number Token price in USD at the time of the transaction
value_usd
* number USD value of the transaction
from_address
any Sender address
anyOf[0]
string anyOf[1]
null to_address
any Receiver address
anyOf[0]
string anyOf[1]
null meta
any anyOf[0]
ResponseMeta object Response metadata including cache and performance information.
cached_at
any anyOf[0]
integer anyOf[1]
null system
any anyOf[0]
ProcessingInfo object Server-side processing time breakdown by subsystem.
click_time
number node_time
number microservices_time
number redis_time
number total_time
number anyOf[1]
null anyOf[1]
null JSON
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"result": [
{
"transaction_hash": null,
"timestamp": 0,
"event": "string",
"amount": 0,
"price_to_usd": 0,
"value_usd": 0,
"from_address": null,
"to_address": null
}
],
"meta": null
}