eth_getTransactionByHash
Returns information about a transaction from a given hash.
Example
curl https://bsc-<network>.web3api.com/v1/YOUR-API-KEY
-X POST
-H "Content-Type: application/json"
-d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionByHash\",\"params\": [\"0x5508f1e4304cdc7d1f601e8e0322629ddcfb4ad1b1858d09e6c0b78bc097e863\", \"latest\"],\"id\":1}"
TRANSACTION HASH
- A string representing the hash (32 bytes) of a transaction.
Last updated
Was this helpful?