blocks
eth_getTransactionByHash
Get transaction by hash
Returns the transaction matching the given hash, including signature and value.POST
https://eth.rpc.pinax.network/v1/<API_KEY>/
Required parameters
| Name | Type | Description |
|---|---|---|
txHashrequired | hash | 32-byte transaction hash. e.g. 0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b |
Request body
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getTransactionByHash",
"params": [
"0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
]
}Response
200 OKTransaction object or null.
{ "jsonrpc": "2.0", "id": 1, "result": { "hash": "0x88df01...", "blockNumber": "0x14a2bff", "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "value": "0x0", "gas": "0x5208", "gasPrice": "0x3b9aca00", "input": "0xa9059cbb..." } }