Skip to main content

Tx

POST

Retrieves a specific transaction by its hash.
Path Parameters
chainstringrequired
Parameter specifying the target chain to query.
networkstringrequired
Parameter specifying the network of the target chain.
Responses
jsonrpcstringrequired
idintegerrequired
hashstring
heightstring
indexinteger
logstring
gas_wantedstring
gas_usedstring
keystring
valuestring
indexboolean
txstring
cURL
curl -X POST 'https://rpc-injective-mainnet.nodit.io' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: nodit-demo' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "Tx",
"params": []
}'