Kolibrio
  • Kolibrio Orderflow Service
  • Solana
    • How it works
    • API: Quick Start
      • SendTransaction
    • FAQ
    • Advanced
      • Subsidy Transactions
      • How to Protect Against Frontrunning on SOL
      • Stats API
  • Ethereum
    • How it works
    • API: Quick Start
      • eth_sendRawTransaction
      • eth_sendBundle
      • eth_getTransactionByHash
      • eth_getTransactionCount
    • Pending Transactions on Chain Explorer (Etherscan)
Powered by GitBook
On this page
  1. Ethereum
  2. API: Quick Start

eth_getTransactionByHash

Previouseth_sendBundleNexteth_getTransactionCount

Last updated 5 months ago

Get Transaction By Hash RPC Method

POST Returns information about a transaction using a transaction hash. If the transaction was sent to one of Kolibrios' endpoints and is in a pending state, the transaction data will also be returned.

Request Body Parameters

Name
Value

hash (required)

The hash of a transaction

Request Example

curl -X POST "https://eth-rpc.kolibr.io/" \
-H "Content-Type: application/json" \
-d '{
    "method": "eth_getTransactionByHash",
    "params": [
        "TX_HASH"
    ],
    "id": 1,
    "jsonrpc": "2.0"
}'

Response Example

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "blockHash": "0x0",
        "blockNumber": "0x0",
        "chainId": "0x1",
        "from": "0x...",
        "gas": "0x...",
        "gasPrice": "0x0",
        "hash": "0x...",
        "input": "0x1234",
        "nonce": "0x2c3",
        "r": "0x0",
        "s": "0x0",
        "to": "0x...",
        "transactionIndex": "0x0",
        "type": "0x0",
        "v": "0x0",
        "value": "0"
    }
}

https://eth-rpc.kolibr.io/