eth_getTransactionByHash - Polygon PoS

Returns the information about a transaction requested by transaction hash on Polygon. In the response object, blockHash, blockNumber, and transactionIndex are null when the transaction is pending.

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to eth_getTransactionByHash
params
array of strings
length between 1 and 1
Defaults to 0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b
params
Response

Response body
object
integer
string
result
object

A transaction object, or null when no transaction was found

string

32 Bytes - The hash of the block where the given transaction was included.

string

The number of the block where the given transaction was included.

string

The index of the transaction within the block.

string

The number of transactions made by the sender prior to this one.

string

32 Bytes - hash of the transaction.

string

20 Bytes - address of the sender

string

gas provided by the sender

string

gas price provided by the sender in Wei

string

the data send along with the transaction

string

ECDSA signature r

string

ECDSA signature s

string

20 Bytes - address of the receiver. null when it's a contract creation transaction

string

ECDSA recovery id

string

value transferred in Wei

Language
URL
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub