Avalanche · Schema

Transaction

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

Name Type Description
blockHash string Block hash of the transaction
blockNumber string Block number of the transaction
from string Sender address
gas string Gas limit for the transaction
gasPrice string Gas price used
maxFeePerGas string Maximum fee per gas
maxPriorityFeePerGas string Maximum priority fee per gas
txHash string Transaction hash
txStatus string Transaction status
input string Input data
nonce string Nonce value
to string Recipient address
transactionIndex number Transaction index
value string Value transferred in the transaction
type number Transaction type
chainId string Chain ID of the network
receiptCumulativeGasUsed string Cumulative gas used
receiptGasUsed string Gas used
receiptEffectiveGasPrice string Effective gas price
receiptRoot string Receipt root
blockTimestamp number Block timestamp
contractAddress string Contract address (optional)
erc20Transfers array ERC20 transfers
erc721Transfers array ERC721 transfers
erc1155Transfers array ERC1155 transfers
internalTransactions array Internal transactions (optional)
accessList array Access list (optional)
networkToken object Network token info (optional)
View JSON Schema on GitHub

JSON Schema

Transaction.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/Transaction.json",
  "title": "Transaction",
  "type": "object",
  "properties": {
    "blockHash": {
      "type": "string",
      "description": "Block hash of the transaction",
      "examples": [
        "0x2a47bebed93db4a21cc8339980f004cc67f17d0dff4a368001e450e7be2edaa0"
      ]
    },
    "blockNumber": {
      "type": "string",
      "description": "Block number of the transaction",
      "examples": [
        "45396106"
      ]
    },
    "from": {
      "type": "string",
      "description": "Sender address",
      "examples": [
        "0x737F6b0b8A04e8462d0fC7076451298F0dA9a972"
      ]
    },
    "gas": {
      "type": "string",
      "description": "Gas limit for the transaction",
      "examples": [
        "80000"
      ]
    },
    "gasPrice": {
      "type": "string",
      "description": "Gas price used",
      "examples": [
        "52000000000"
      ]
    },
    "maxFeePerGas": {
      "type": "string",
      "description": "Maximum fee per gas",
      "examples": [
        "52000000000"
      ]
    },
    "maxPriorityFeePerGas": {
      "type": "string",
      "description": "Maximum priority fee per gas",
      "examples": [
        "2000000000"
      ]
    },
    "txHash": {
      "type": "string",
      "description": "Transaction hash",
      "examples": [
        "0xfd91150d236ec5c3b1ee325781affad5b0b4d7eb0187c84c220ab115eaa563e8"
      ]
    },
    "txStatus": {
      "type": "string",
      "description": "Transaction status",
      "examples": [
        "1"
      ]
    },
    "input": {
      "type": "string",
      "description": "Input data",
      "examples": [
        "0xa9059cbb00000000000000000000000040e832c3df9562dfae5a86a4849f27f687a9b46b00000000000000000000000000000000000000000000000000000000c68b2a69"
      ]
    },
    "nonce": {
      "type": "string",
      "description": "Nonce value",
      "examples": [
        "0"
      ]
    },
    "to": {
      "type": "string",
      "description": "Recipient address",
      "examples": [
        "0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7"
      ]
    },
    "transactionIndex": {
      "type": "number",
      "description": "Transaction index",
      "examples": [
        1
      ]
    },
    "value": {
      "type": "string",
      "description": "Value transferred in the transaction",
      "examples": [
        "0"
      ]
    },
    "type": {
      "type": "number",
      "description": "Transaction type",
      "examples": [
        2
      ]
    },
    "chainId": {
      "type": "string",
      "description": "Chain ID of the network",
      "examples": [
        "43114"
      ]
    },
    "receiptCumulativeGasUsed": {
      "type": "string",
      "description": "Cumulative gas used",
      "examples": [
        "668508"
      ]
    },
    "receiptGasUsed": {
      "type": "string",
      "description": "Gas used",
      "examples": [
        "44038"
      ]
    },
    "receiptEffectiveGasPrice": {
      "type": "string",
      "description": "Effective gas price",
      "examples": [
        "27000000000"
      ]
    },
    "receiptRoot": {
      "type": "string",
      "description": "Receipt root",
      "examples": [
        "0xe5b018c29a77c8a92c4ea2f2d7e58820283041a52e14a0620d90d13b881e1ee3"
      ]
    },
    "blockTimestamp": {
      "type": "number",
      "description": "Block timestamp",
      "examples": [
        1715621840
      ]
    },
    "contractAddress": {
      "type": "string",
      "description": "Contract address (optional)",
      "examples": [
        "0x0000000000000000000000000000000000000000"
      ]
    },
    "erc20Transfers": {
      "description": "ERC20 transfers",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ERCTransfer"
      }
    },
    "erc721Transfers": {
      "description": "ERC721 transfers",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ERCTransfer"
      }
    },
    "erc1155Transfers": {
      "description": "ERC1155 transfers",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ERCTransfer"
      }
    },
    "internalTransactions": {
      "description": "Internal transactions (optional)",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/WebhookInternalTransaction"
      }
    },
    "accessList": {
      "description": "Access list (optional)",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AccessListData"
      }
    },
    "networkToken": {
      "description": "Network token info (optional)",
      "allOf": [
        {
          "$ref": "#/components/schemas/NetworkTokenInfo"
        }
      ]
    }
  },
  "required": [
    "blockHash",
    "blockNumber",
    "from",
    "gas",
    "gasPrice",
    "maxFeePerGas",
    "maxPriorityFeePerGas",
    "txHash",
    "txStatus",
    "input",
    "nonce",
    "to",
    "transactionIndex",
    "value",
    "type",
    "chainId",
    "receiptCumulativeGasUsed",
    "receiptGasUsed",
    "receiptEffectiveGasPrice",
    "receiptRoot",
    "blockTimestamp",
    "erc20Transfers",
    "erc721Transfers",
    "erc1155Transfers"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/Transaction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.