getTransaction
Returns a transaction raw data of transaction id.
Parameters
Return Value
Transaction raw data
Example
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"resultCode": "200",
"resultMessage": "Success",
"resultData": {
"txId": "0x886e679c77b3cbe513fe9fa31856c14f7b9085eaa054d07111f081739b0e4235",
"blockNumber": 10416,
"rawData": "{\"hash\":\"0x886e679c77b3cbe513fe9fa31856c14f7b90...",\"nonceRaw\":\"0x0\"}",
"txType": "transfer",
"method": "Transfer",
"fromAddress": "0x12f57af0a78bcb8ef7ad657a91a0e4912f149046",
"toAddress": "0x76d0e3dbd6a58e017e22fd06ef5a7b1539a49106",
"value": "0xd3c21bcecceda1000000",
"input": "0x00",
"txTime": "2022-04-11T09:16:17",
"status": 1,
"revertReason": "",
"gasValue": "21004000"
}
}
}
getTransactionInfo
Returns a transaction raw data stored database of transaction id.
Parameters
Return Value
Transaction raw data stored database.
Example
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"resultCode": "200",
"resultMessage": "Success",
"resultData": {
"txId": "0x886e679c77b3cbe513fe9fa31856c14f7b9085eaa054d07111f081739b0e4235",
"blockNumber": 10416,
"rawData": "{\"hash\":\"0x886e679c77b3cbe513fe9fa31856c14f7b90...",\"nonceRaw\":\"0x0\"}",
"txType": "transfer",
"method": "Transfer",
"fromAddress": "0x12f57af0a78bcb8ef7ad657a91a0e4912f149046",
"toAddress": "0x76d0e3dbd6a58e017e22fd06ef5a7b1539a49106",
"value": "0xd3c21bcecceda1000000",
"input": "0x00",
"txTime": "2022-04-11T09:16:17",
"status": 1,
"revertReason": "",
"gasValue": "21004000"
}
}
}
getTransactionCount
Returns a list of creations per day for the last 15 days.
Parameters
None
Return Value
Name | Type | Description |
---|
| | Count transaction for the last 15 days. |
| | |
count of per day data
Example
{
"jsonrpc": "2.0",
"id": "00456",
"result": {
"resultCode": "200",
"resultMessage": "Success",
"resultData": {
"totalCount": 14914,
"list": [
{
"date": "1116",
"count": 0
},
...
{
"date": "1130",
"count": 0
}
]
}
}
}
getTransactionList
Returns the transaction information list in units of pages.
Parameters
Name | Type | Description |
---|
| | Page number to get. start from 1. |
| | |
| | 0 : Order of descending, 1 : Order of ascending |
Return Value
Example
{
"jsonrpc": "2.0",
"id": "00456",
"result": {
"pageNumber": 1,
"pageSize": 10,
"totalPages": 6,
"totalElements": 54,
"list": [
{
"txId": "0x886e679c77b3cbe513fe9fa31856c14f7b9085eaa054d07111f081739b0e4235",
"blockNumber": 10416,
"rawData": "{\"hash\":\"0x886e679c77b3cbe513fe9fa31856c14f7b90...",\"nonceRaw\":\"0x0\"}",
"txType": "transfer",
"method": "Transfer",
"fromAddress": "0x12f57af0a78bcb8ef7ad657a91a0e4912f149046",
"toAddress": "0x76d0e3dbd6a58e017e22fd06ef5a7b1539a49106",
"value": "0xd3c21bcecceda1000000",
"input": "0x00",
"txTime": "2022-04-11T09:16:17",
"status": 1,
"revertReason": "",
"gasValue": "21004000"
},
...
]
}
}
getTransactionRecentList
Returns a list that is as recent as count from transaction information.
Parameters
Return Value
Example
{
"jsonrpc": "2.0",
"id": "00456",
"result": {
"pageNumber": 1,
"pageSize": 10,
"totalPages": 1,
"totalElements": 10,
"list": [
{
"txId": "0x886e679c77b3cbe513fe9fa31856c14f7b9085eaa054d07111f081739b0e4235",
"blockNumber": 10416,
"rawData": "{\"hash\":\"0x886e679c77b3cbe513fe9fa31856c14f7b90...",\"nonceRaw\":\"0x0\"}",
"txType": "transfer",
"method": "Transfer",
"fromAddress": "0x12f57af0a78bcb8ef7ad657a91a0e4912f149046",
"toAddress": "0x76d0e3dbd6a58e017e22fd06ef5a7b1539a49106",
"value": "0xd3c21bcecceda1000000",
"input": "0x00",
"txTime": "2022-04-11T09:16:17",
"status": 1,
"revertReason": "",
"gasValue": "21004000"
},
...
]
}
}