๐จโ๐ป Get Ethereum transaction by hash
Code samples
GET /api/v1/eth/transactions/{hash}
Returns transaction details using eth_getTransactionByHash.
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hash | path | string | true | Ethereum transaction hash. |
Example responses
200 Response
{
"hash": "string",
"nonce": "string",
"blockHash": "string",
"blockNumber": "string",
"transactionIndex": "string",
"from": "string",
"to": "string",
"value": "string",
"gas": "string",
"gasPrice": "string",
"maxFeePerGas": "string",
"maxPriorityFeePerGas": "string",
"input": "string",
"type": "string",
"chainId": "string",
"v": "string",
"r": "string",
"s": "string"
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Ethereum transaction | EthTransaction |
| 404 | Not Found | Transaction not found | Inline |
| 500 | Internal Server Error | Could not connect to ETH node | None |
๐ Response Schema
Status Code 404
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป error | string | false | none | none |