Inds getTransactionByAddress
Last updated
Was this helpful?
Last updated
Was this helpful?
Example Request
{
"method": "inds_getTransactionByAddress", // jsonrpc method name
"id": 1, // request id
"jsonrpc": "2.0", // jsonrpc version
"params": [
10, // page limit
0, // page offset
"0xF2f9D2575023D320475ed7875FCDCB9b52787E59", // address
"", // chain name
"", // protocol
"", // tick name
0 // event type : 1.deploy 2.mint 3.trans
]
}
Example Response
{
"jsonrpc": "2.0",
"result": {
"transactions": [
{
"chain": "avalanche", // chain
"protocol": "asc-20", // protocol
"tick": "crazydog", // tick name
"address": "0xF2f9D2575023D320475ed7875FCDCB9b52787E59", // address
"tx_hash": "0xe89e1c445431a695fcc2797cde214a731c65765468e6095672fb0cbe8f8a6fdd", // tx hash
"amount": "21000000", // tx amount
"event": 2, // event type : 1.deploy 2.mint 3.trans in 4.trans out
"operate": "mint", // operation name
"created_at": 1704524337, // create time
"updated_at": 1704524337 // update time
}
],
"total": 1,
"limit": 10,
"offset": 0
},
"id": 1
}
Curl Example
curl --location 'https://api.indexs.io/v2/rpc/inds_getTransactionByAddress' \
--header 'Content-Type: application/json' \
--data '{
"method": "inds_getTransactionByAddress",
"id": 1,
"jsonrpc": "2.0",
"params": [
10,
0,
"0x6Ac6f9231c86ba4Ea4C40D196DA930C1d66439f5",
"",
"",
"",
0
]
}'