This API method returns a list of transactions by address.
API Endpoint
Mainnet
https://open-platform.nodereal.io/{apikey}/greenfieldscan-mainnet/
Testnet
https://open-platform.nodereal.io/{apikey}/greenfieldscan-testnet/
method_path:/greenfield/tx/list/by_address/{address}
method_type:GET
Request:
Parameters | Descriptions | Query Type | Required | Data Type | schema |
---|---|---|---|---|---|
page | page | query | true | integer | |
per_page | per_page | query | true | integer | |
max_height | max_height | query | false | integer | |
tx_type | tx_type | query | false | string | |
address | address | path | true | string |
Response:
Parameters | Data Type | schema |
---|---|---|
hash | integer | |
height | integer | |
index | integer | |
proof | TxProofgithub_com_cometbft_cometbft_types | |
time | String | |
tx | integer | |
tx_result | models.ResponseDeliverTx |
Example:
[
{
"hash": [
0
],
"height": 0,
"index": 0,
"proof": {
"data": [
0
],
"proof": {
"aunts": [
[
0
]
],
"index": 0,
"leaf_hash": [
0
],
"total": 0
},
"root_hash": [
0
]
},
"time": "string",
"tx": [
0
],
"tx_result": {
"code": 0,
"codespace": "string",
"data": [
0
],
"events": [
{
"attributes": [
{
"index": true,
"key": "string",
"value": "string"
}
],
"type": "string"
}
],
"fee": "string",
"gas_used": 0,
"gas_wanted": 0,
"info": "string",
"log": "string",
"messages": "string",
"module": "string",
"type": "string"
}
}
]