Get multiple transactions by hashes
POST/ronin/txs/hashes
Returns the details of multiple transactions by their hashes.
Request
- */*
Body
required
Array of up to 100 hashes:
{
"hashes": [
"0x..."
]
}
hashes array[]required
Possible values: <= 100
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
items
object[]
blockHash string
blockNumber integer
blockStatus string
blockTime integer
chainId string
contractAddress string
cumulativeGasUsed integer
effectiveGasPrice string
expiredTime integer
from string
gas integer
gasPrice string
gasUsed integer
input string
logs
object[]
address integer[]
blockHash integer[]
blockNumber integer
blockTime string
data string
logIndex integer
logParam1 integer[]
logParam2 integer[]
logParam3 integer[]
logTopic integer[]
publishedTime string
removed boolean
transactionHash integer[]
transactionIndex integer
logsBloom string
maxFeePerGas string
maxPriorityFeePerGas string
nonce integer
payer string
payerR string
payerS string
payerV string
r string
s string
status integer
to string
transactionHash string
transactionIndex integer
type integer
v string
value string
{
"items": [
{
"blockHash": "string",
"blockNumber": 0,
"blockStatus": "string",
"blockTime": 0,
"chainId": "string",
"contractAddress": "string",
"cumulativeGasUsed": 0,
"effectiveGasPrice": "string",
"expiredTime": 0,
"from": "string",
"gas": 0,
"gasPrice": "string",
"gasUsed": 0,
"input": "string",
"logs": [
{
"address": [
0
],
"blockHash": [
0
],
"blockNumber": 0,
"blockTime": "string",
"data": "string",
"logIndex": 0,
"logParam1": [
0
],
"logParam2": [
0
],
"logParam3": [
0
],
"logTopic": [
0
],
"publishedTime": "string",
"removed": true,
"transactionHash": [
0
],
"transactionIndex": 0
}
],
"logsBloom": "string",
"maxFeePerGas": "string",
"maxPriorityFeePerGas": "string",
"nonce": 0,
"payer": "string",
"payerR": "string",
"payerS": "string",
"payerV": "string",
"r": "string",
"s": "string",
"status": 0,
"to": "string",
"transactionHash": "string",
"transactionIndex": 0,
"type": 0,
"v": "string",
"value": "string"
}
]
}
Invalid parameter
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...
Was this helpful?
Happy React is loading...