Parameters:
Returns:
transactionHash - Hash of the transaction.
transactionIndex - Integer of the transactions index position in the block encoded as a hexadecimal.
from - Address of the sender.
to - Address of the receiver. null when its a contract creation transaction.
blockHash - Hash of the block where this transaction was in.
blockNumber - Block number where this transaction was added encoded as a hexadecimal.
cumulativeGasUsed - The total gas used when this transaction was executed in the block.
gasUsed - The amount of gas used by this specific transaction alone.
contractAddress - The contract address created for contract creation, otherwise null.
logs - Array of log objects, which this transaction generated.
logsBloom - Bloom filter for light clients to quickly retrieve related logs.
value - Value transferred in Wei encoded as a hexadecimal.
v - ECDSA recovery id encoded as a hexadecimal.
r - ECDSA signature r
s - ECDSA signature s
root - 32 bytes of post-transaction stateroot (pre Byzantium).
status - Either 1 (success) or 0 (failure) encoded as a hexadecimal.
Code Examples:
require 'ethereum.rb' client = Ethereum::HttpClient.new('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/') txReceipt = client.eth_get_transaction_receipt('0x04b713fdbbf14d4712df5ccc7bb3dfb102ac28b99872506a363c0dcc0ce4343c') puts txReceipt["result"]
from web3 import Web3, HTTPProvider w3 = Web3(HTTPProvider('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/')) print(w3.eth.get_transaction_receipt('0x04b713fdbbf14d4712df5ccc7bb3dfb102ac28b99872506a363c0dcc0ce4343c'))
curl http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ \ -X POST \ -H "Content-Type: application/json" \ --data '{"method":"eth_getTransactionReceipt","params":["0x04b713fdbbf14d4712df5ccc7bb3dfb102ac28b99872506a363c0dcc0ce4343c"],"id":1,"jsonrpc":"2.0"}'
const ethers = require("ethers"); (async () => { const provider = new ethers.providers.JsonRpcProvider("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/"); const txReceipt = await provider.waitForTransaction( "0x04b713fdbbf14d4712df5ccc7bb3dfb102ac28b99872506a363c0dcc0ce4343c" ); console.log(txReceipt); })();