Eth getTransactionByHash

Returns the information about a transaction requested by transaction hash.

Request body sample: {"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"],"id":1}

POSTeth_getTransactionByHash
Body
idinteger
jsonrpcstring
methodstring
paramsnullable array of any
Response

OK

Body
idinteger
jsonrpcstring
resultstring
Request
const response = await fetch('eth_getTransactionByHash', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "jsonrpc": "text",
  "result": "text"
}