{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash",
  "title": "Dirt Road \u00b7 EVM Transaction Lookup",
  "url": "https://api.dirtroad.dev/tools/web3/evm/eth-get-transaction-by-hash",
  "category": "data",
  "summary": "Fetch complete transaction details by hash including sender, recipient, value, gas usage, and input data for EVM chains.",
  "seo": {
    "title": "EVM Transaction API | x402 Pay-Per-Call | Get Transaction by Hash",
    "description": "Retrieve EVM transaction details via x402 micropayments. Get complete transaction data including gas, value, and input data for $0.0001 USDC on Base."
  },
  "use_cases": [
    "Track transaction status and details",
    "Debug failed transactions",
    "Analyze gas consumption patterns",
    "Verify transaction input data"
  ],
  "ideal_buyer": "Blockchain developers, auditors, and analytics platforms needing granular EVM transaction data.",
  "example_prompt": "Get the full details for transaction 0xabc123... including gas used, input data, and confirmation status.",
  "example_request_body": {
    "hash": "0xabc123...",
    "chain": "eip155:8453"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.005,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x71dc0bc68e7f0e2c5aace661b0f3fb995a80aaf4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Retrieve detailed information about a transaction by its hash. Returns complete transaction data including sender, recipient, value, gas details, and input data. Essential for transaction tracking, analysis, and debugging blockchain interactions.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "hash": {},
            "chain": {}
          }
        },
        "output": {
          "type": "object",
          "required": [
            "chain",
            "hash",
            "transaction"
          ],
          "properties": {
            "hash": {
              "type": "string",
              "description": "Transaction hash requested"
            },
            "chain": {
              "type": "string",
              "description": "CAIP-12 chain identifier"
            },
            "transaction": {
              "type": "object",
              "required": [
                "blockHash",
                "blockNumber",
                "from",
                "gas",
                "hash",
                "input",
                "nonce",
                "r",
                "s",
                "to",
                "transactionIndex",
                "typeHex",
                "v",
                "value",
                "yParity",
                "type"
              ],
              "properties": {
                "r": {
                  "type": "string",
                  "description": "ECDSA signature r value"
                },
                "s": {
                  "type": "string",
                  "description": "ECDSA signature s value"
                },
                "v": {
                  "type": "string",
                  "description": "ECDSA recovery ID as string"
                },
                "to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Transaction recipient or null if contract deployment"
                },
                "gas": {
                  "type": "string",
                  "description": "Gas provided for transaction execution as string"
                },
                "from": {
                  "type": "string",
                  "description": "Transaction sender address"
                },
                "hash": {
                  "type": "string",
                  "description": "Transaction hash"
                },
                "type": {
                  "type": "string",
                  "description": "Transaction type (legacy, eip1559, etc.)"
                },
                "input": {
                  "type": "string",
                  "description": "Contract code or method call data"
                },
                "nonce": {
                  "type": "number",
                  "description": "Transaction nonce"
                },
                "value": {
                  "type": "string",
                  "description": "Value in wei sent as string"
                },
                "chainId": {
                  "type": "number",
                  "description": "Chain ID"
                },
                "typeHex": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Transaction type as hex"
                },
                "yParity": {
                  "type": "number",
                  "description": "Parity of the y-value of secp256k1 signature"
                },
                "gasPrice": {
                  "type": "string",
                  "description": "Gas price for legacy transactions as string"
                },
                "blockHash": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Hash of block containing this transaction or null if pending"
                },
                "accessList": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "address": {
                        "type": "string",
                        "description": "Contract address"
                      },
                      "storageKeys": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Storage keys"
                      }
                    }
                  },
                  "description": "EIP-2930 access list"
                },
                "blockNumber": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Block number as string or null if pending"
                },
                "maxFeePerGas": {
                  "type": "string",
                  "description": "Maximum fee per gas for EIP-1559 as string"
                },
                "maxFeePerBlobGas": {
                  "type": "string",
                  "description": "Maximum fee per blob gas for EIP-4844 as string"
                },
                "transactionIndex": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Index of transaction in block or null if pending"
                },
                "authorizationList": {
                  "type": "array",
                  "description": "EIP-7702 authorization list"
                },
                "blobVersionedHashes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "EIP-4844 blob versioned hashes"
                },
                "maxPriorityFeePerGas": {
                  "type": "string",
                  "description": "Maximum priority fee per gas for EIP-1559 as string"
                }
              },
              "description": "Complete transaction data with all BigInt values converted to strings"
            }
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "data-cl-abbcc0c8a181",
  "origin": {
    "slug": "api-dirtroad-dev",
    "host": "api.dirtroad.dev",
    "url": "https://api.dirtroad.dev",
    "favicon": "https://dirtroad.dev/mintlify-assets/_mintlify/favicons/dirtroaddev/hL1CxJhINP8GaPGW/_generated/favicon/favicon.ico"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash",
    "url": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash",
    "name": "Dirt Road \u00b7 EVM Transaction Lookup",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash",
      "@type": "Offer",
      "price": "0.0001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.000100",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.dirtroad.dev/tools/web3/evm/eth-get-transaction-by-hash",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-dirtroad-dev",
      "url": "https://api.dirtroad.dev",
      "name": "api.dirtroad.dev",
      "@type": "Organization"
    },
    "identifier": "api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash",
    "description": "Retrieve EVM transaction details via x402 micropayments. Get complete transaction data including gas, value, and input data for $0.0001 USDC on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "data"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-web3-evm-eth-get-transaction-by-hash"
}
