eth_getTransactionByHash
Get Transaction By Hash RPC Method
Name
Value
curl -X POST "https://eth-rpc.kolibr.io/" \
-H "Content-Type: application/json" \
-d '{
"method": "eth_getTransactionByHash",
"params": [
"TX_HASH"
],
"id": 1,
"jsonrpc": "2.0"
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x0",
"blockNumber": "0x0",
"chainId": "0x1",
"from": "0x...",
"gas": "0x...",
"gasPrice": "0x0",
"hash": "0x...",
"input": "0x1234",
"nonce": "0x2c3",
"r": "0x0",
"s": "0x0",
"to": "0x...",
"transactionIndex": "0x0",
"type": "0x0",
"v": "0x0",
"value": "0"
}
}Last updated