eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

NOTE: Transaction receipts are not available for pending transactions.

Example

curl https://bsc-<network>.web3api.com/v1/YOUR-API-KEY 
-X POST 
-H "Content-Type: application/json"  
-d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionReceipt\",\"params\": [\"0x5508f1e4304cdc7d1f601e8e0322629ddcfb4ad1b1858d09e6c0b78bc097e863\"],\"id\":1}"
  1. TRANSACTION HASH - a string representing the hash (32 bytes) of a transaction.

Last updated