Search internal transactions
POST/ronin/internal_txs/search
Search internal transactions.
To use this endpoint, you need to request access to the Skynet Tx Query service through Developer Console > your app > App Permission. For more information, see Request access to services.
Request
- */*
Body
required
Request body
address
object
Optional, searching for from
equal to ...
Optional, searching for from
or to
equal to ...
Optional, searching for to
equal to ...
block
object
The default search is by blockHash
. If blockHash
doesn't appear, then search for blockRange
. Max allowed blockRange
is 200
.
Optional, searching for the exact block.
Optional, searching for blocks from from
to to
. If from
equals to
, then search exactly by block number.
Possible values: [CALL
, DELEGATECALL
], <= 2
Optional, op_code
has only two accepted values: CALL
,DELEGATECALL
.
paging
object
Only offset
or cursor
need to be present.
Possible values: <= 200
Possible values: <= 10000
Possible values: [cursor
, offset
]
If pagingStyle
is not cursor
, then it's offset
.
Optional
Possible values: [transfer_ron
], <= 1
Optional
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
paging
object
{
"items": [
{
"blockHash": "string",
"blockNumber": 0,
"blockTime": 0,
"error": "string",
"from": "string",
"input": "string",
"opcode": "string",
"order": 0,
"success": true,
"to": "string",
"transactionHash": "string",
"type": "string",
"value": "string"
}
],
"paging": {
"nextCursor": "string",
"total": 0
}
}
Invalid parameter
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 0,
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 0,
"message": "string"
}