Get transaction by hash
GET/ronin/txs/:hash
Returns the details of an individual transaction by its hash.
Request
Path Parameters
hash stringrequired
Transaction hash. Example: 0xbc301810755eb6534d7609a67f18843b9e87ed9199d11a7a1327a1669d3871db
Query Parameters
include_logs boolean
Include logs
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
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
{
"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"
}
Not found
- 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...