For the complete documentation index, see llms.txt. This page is also available as Markdown.

eth_getTransactionByHash

POST https://mainnet.valuechain.xyz

Returns a transaction by hash.

Parameters

Name
Type
Required
Description

hash

hash

Yes

32-byte transaction hash.

Result

Transaction (object or null): Transaction object, or null if unknown.

Example

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "hash": "0xb269e14e09977c2969efcabd2eabbef7aeb8196780a53fce6dc5b7605169b10d",
    "blockHash": "0x565381ec3a896e084662587ed4eba8f3b6745ffeff7b1d7b672b4b1bb724f3b5",
    "blockNumber": "0xd81e9f",
    "from": "0x7779ef1c26a0437f9fbd06e21f238da8b8336cf2",
    "to": "0x7779ef1c26a0437f9fbd06e21f238da8b8336cf2",
    "value": "0x0",
    "nonce": "0x5d58",
    "type": "0x2",
    "chainId": "0x45f9f",
    "transactionIndex": "0x0"
  }
}

Code examples

cURL

JavaScript

Python

Last updated