{
  "version": "1.3",
  "origin": "api.mach.gallery",
  "display_name": "MACH Base",
  "description": "16 low-cost Base mainnet data capabilities for autonomous agents over x402 HTTP and Streamable HTTP MCP. No buyer account, API key, subscription, or prepaid credit.",
  "payout_address": "0xB6313D094618b20dd29994Bec6697aE1e9F02DfE",
  "payments": {
    "x402": {
      "recipient": "0xB6313D094618b20dd29994Bec6697aE1e9F02DfE",
      "networks": [
        {
          "network": "base",
          "asset": "USDC",
          "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "facilitator": "https://facilitator.payai.network"
        }
      ]
    }
  },
  "intents": [
    {
      "name": "base_block_number",
      "description": "Return the current Base mainnet block number from a live RPC.",
      "endpoint": "https://api.mach.gallery/api/base/block-number",
      "method": "GET",
      "price": {
        "amount": 0.001,
        "currency": "USDC"
      }
    },
    {
      "name": "base_gas_price",
      "description": "Return the current Base gas price in wei from a live RPC.",
      "endpoint": "https://api.mach.gallery/api/base/gas-price",
      "method": "GET",
      "price": {
        "amount": 0.001,
        "currency": "USDC"
      }
    },
    {
      "name": "base_wallet_balance",
      "description": "Read the live native ETH balance for one Base address.",
      "endpoint": "https://api.mach.gallery/api/base/wallet-balance",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_erc20_balance",
      "description": "Read an ERC-20 token balance for one Base wallet using balanceOf.",
      "endpoint": "https://api.mach.gallery/api/base/erc20-balance",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_nonce",
      "description": "Return the current transaction nonce for one Base address.",
      "endpoint": "https://api.mach.gallery/api/base/nonce",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_contract_code",
      "description": "Check live Base bytecode and report whether an address is a deployed contract.",
      "endpoint": "https://api.mach.gallery/api/base/contract-code",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_allowance",
      "description": "Read an ERC-20 allowance on Base for owner and spender.",
      "endpoint": "https://api.mach.gallery/api/base/allowance",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_receipt",
      "description": "Return a live Base transaction receipt plus current confirmation depth.",
      "endpoint": "https://api.mach.gallery/api/base/receipt",
      "method": "POST",
      "price": {
        "amount": 0.005,
        "currency": "USDC"
      }
    },
    {
      "name": "base_logs",
      "description": "Query bounded Base contract event logs with address, topics and block range filters.",
      "endpoint": "https://api.mach.gallery/api/base/logs",
      "method": "POST",
      "price": {
        "amount": 0.005,
        "currency": "USDC"
      }
    },
    {
      "name": "base_eth_call",
      "description": "Execute one read-only eth_call against a Base contract at a chosen block tag.",
      "endpoint": "https://api.mach.gallery/api/base/eth-call",
      "method": "POST",
      "price": {
        "amount": 0.005,
        "currency": "USDC"
      }
    },
    {
      "name": "base_transaction",
      "description": "Return a live Base transaction by hash, including sender, recipient, value and calldata.",
      "endpoint": "https://api.mach.gallery/api/base/transaction",
      "method": "POST",
      "price": {
        "amount": 0.008,
        "currency": "USDC"
      }
    },
    {
      "name": "base_block",
      "description": "Return a live Base block header and transaction hashes by number or tag.",
      "endpoint": "https://api.mach.gallery/api/base/block",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_wallet_snapshot",
      "description": "Read native ETH plus up to 10 caller-supplied ERC-20 balances for one Base wallet.",
      "endpoint": "https://api.mach.gallery/api/base/wallet-snapshot",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_total_supply",
      "description": "Read totalSupply for an ERC-20 or ERC-721 contract on Base.",
      "endpoint": "https://api.mach.gallery/api/base/total-supply",
      "method": "POST",
      "price": {
        "amount": 0.003,
        "currency": "USDC"
      }
    },
    {
      "name": "base_contract_info",
      "description": "Inspect Base contract bytecode and best-effort token metadata and common token interfaces.",
      "endpoint": "https://api.mach.gallery/api/base/contract-info",
      "method": "POST",
      "price": {
        "amount": 0.005,
        "currency": "USDC"
      }
    },
    {
      "name": "base_erc20_transfers",
      "description": "Query bounded ERC-20 Transfer events on Base by token with optional from/to wallet filters.",
      "endpoint": "https://api.mach.gallery/api/base/erc20-transfers",
      "method": "POST",
      "price": {
        "amount": 0.005,
        "currency": "USDC"
      }
    }
  ],
  "extensions": {
    "openapi": "https://api.mach.gallery/openapi.json",
    "x402_manifest": "https://api.mach.gallery/.well-known/x402",
    "mcp": "https://api.mach.gallery/mcp",
    "skill": "https://api.mach.gallery/SKILL.md",
    "docs": "https://api.mach.gallery/docs/"
  }
}
