eth_getTransactionByHash
POST/
Returns the information about a transaction by its transaction hash.
Parameters:
hash
: the hash of a transaction.
Returns:
result
: a transaction object, ornull
when no transaction was found.hash
: hash of the transaction.nonce
: the number of transactions made by the sender prior to this one.blockHash
: hash of the block where this transaction is in, ornull
when it's pending.blockNumber
: block number where this transaction was in, ornull
when it's a pending block.transactionIndex
: integer of the transactions index position in the block, ornull
when it's pending.from
: address of the sender.to
: address of the receiver, ornull
when it's a contract creation transaction.value
: value transferred in wei.gasPrice
: gas price provided by the sender in wei.gas
: gas provided by the sender.input
: the data sent along with the transaction.type
: the type of the transaction.v
: ECDSA recovery id.r
: ECDSA signature r.s
: ECDSA signature s.
Example:
"params": [
"0xcf1911356099c562421c4ce7bc47707a39866094f9102cb891cf2cb0194d95d1"
]
Request
Query Parameters
apikey stringrequired
Your API key
- application/json
Body
id integer
jsonrpc string
method string
params string[]
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
id integer
result string
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Loading...
Was this helpful?
Happy React is loading...