Blink
  • Blink
    • Welcome to Blink
  • Get Started
    • Tx Originators
    • Integration
      • General
      • Wallets
      • Oracles
      • Bots
      • Individual Users
      • Security
    • Custom Configuration
    • API Reference
      • eth_sendRawTransaction
      • eth_sendPrivateTransaction
      • eth_getTransactionByHash
      • eth_sendBundle
      • eth_getTransactionCount
    • Misc
      • Privacy Policy
  • How it works
    • State Update Auction
    • Gas Recoveries
    • MEV
  • Additional Features
    • Gas Sponsored Swaps
  • Searchers
    • Integration
      • Listen To Transactions
        • MEVBlocker Compatible (V2)
        • MEVBlocker Compatible (V3)
        • V1 (Deprecated)
      • Bid on Transactions
      • Querying a Bundle
    • API Reference
      • eth_sendBundle
      • eth_cancelBundle
      • Page
  • Base
    • API Reference
    • How it works
    • Searchers
  • Solana
    • Searchers
      • Integration
        • Rust Decoding A Transaction
      • API Reference
        • sendBundle
        • getSignature
  • CAREERS
    • Senior Software Engineer
Powered by GitBook
On this page
  • Example request
  • Example response
  1. Get Started
  2. API Reference

eth_getTransactionByHash

Blink will intercept eth_getTransactionByHash requests, it will;

  • Check if the transaction is on-chain / in mempool and return a standard response

  • If not it will check Blink's own data and provide the standard response minus the transaction signatures (the v, r, s components) and the gas price

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getTransactionByHash",
  "params": [
    "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
  ]
}

Example response

{
   "id" : 1,
   "jsonrpc" : "2.0",
   "result" : {
      "blockHash" : "0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",
      "blockNumber" : "0x5bad55",
      "chainId" : "0x1",
      "from" : "0x398137383b3d25c92898c656696e41950e47316b",
      "gas" : "0x1d45e",
      "gasPrice" : "0x0",
      "hash" : "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",
      "input" : "0xf7d8c88300000000000000000000000000000000000000000000000000000000000cee6100000000000000000000000000000000000000000000000000000000000ac3e1",
      "nonce" : "0x18",
      "r" : "0x0",
      "s" : "0x0",
      "to" : "0x0",
      "transactionIndex" : "0x11",
      "type" : "0x0",
      "v" : "0x0",
      "value" : "0x1c6bf526340000"
   }
}
Previouseth_sendPrivateTransactionNexteth_sendBundle

Last updated 9 months ago