{"openapi":"3.1.0","info":{"title":"FMF Tools EVM Decoder: pay-per-call calldata and log decoder, any chain, no RPC (no API key, MPP)","version":"1.0.0","description":"Pay-per-call EVM decoding for AI agents: decode transaction calldata (including nested multicall/router/Safe calls) and receipt event logs into named, typed arguments; look up 4-byte selectors and event topics; fetch Sourcify-verified ABIs with proxy resolution; encode calldata from a signature. Works for Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, Tempo and any EVM chain. No account or API key: pay per call with MPP on Tempo (USDC.e or pathUSD), from $0.001. Invalid input or upstream failure returns 402 and is not charged. Docs: https://mpp-chain.fmf-x402.workers.dev/docs — copy-paste examples for the mppx CLI, curl, the TypeScript SDK (mppx) and the Python SDK (pympp), plus an MCP config. Machine-readable: https://mpp-chain.fmf-x402.workers.dev/llms.txt and https://mpp-chain.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://mpp-chain.fmf-x402.workers.dev/mcp. Fleet of sister services: https://mpp-docs.fmf-x402.workers.dev, https://mpp-agent-data.fmf-x402.workers.dev, https://mpp-tools.fmf-x402.workers.dev, https://mpp-ai.fmf-x402.workers.dev, https://mpp-browser.fmf-x402.workers.dev, https://mpp-research.fmf-x402.workers.dev, https://mpp-chain.fmf-x402.workers.dev, https://mpp-stt.fmf-x402.workers.dev, https://mpp-compat.fmf-x402.workers.dev, https://mpp-domain.fmf-x402.workers.dev, https://mpp-utils.fmf-x402.workers.dev, https://mtg-sim.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev, https://pokemon-tcg-sim.fmf-x402.workers.dev, https://yugioh-sim.fmf-x402.workers.dev, https://mpp-cryptotax.fmf-x402.workers.dev, https://mpp-biz.fmf-x402.workers.dev, https://lorcana-sim.fmf-x402.workers.dev, https://onepiece-sim.fmf-x402.workers.dev, https://hearthstone-sim.fmf-x402.workers.dev, https://chess-sim.fmf-x402.workers.dev, https://dota2-sim.fmf-x402.workers.dev, https://cs2-sim.fmf-x402.workers.dev. Sources: Sourcify 4byte signature database (api.4byte.sourcify.dev, open data, successor of openchain.xyz); Sourcify verified contracts (sourcify.dev, open data); decoding by viem (MIT). Responses are cached; nothing you send is stored.","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the 402 challenge with MPP on Tempo (USDC.e or pathUSD, WWW-Authenticate: Payment) or x402 v2 on Base (USDC, PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers). Bad input or an upstream failure returns 402 with an error and you are not charged.","contact":{"name":"FMF Tools","url":"https://mpp-chain.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://mpp-chain.fmf-x402.workers.dev/docs","x-mcp":"https://mpp-chain.fmf-x402.workers.dev/mcp","x-llms":"https://mpp-chain.fmf-x402.workers.dev/llms.txt","x-fmf-id":"chain"},"servers":[{"url":"https://mpp-chain.fmf-x402.workers.dev"}],"paths":{"/mpp/evm/selector":{"post":{"operationId":"evm_selector","summary":"Selector and event-topic lookup (4byte)","description":"Look up up to 50 function selectors (4-byte) and/or event topics (32-byte) and get human-readable signatures, verified-contract matches first. Also computes selectors from signatures you pass (e.g. \"transfer(address,uint256)\"). Drop-in for 4byte / openchain lookups. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"function":{"type":"string","description":"Comma-separated 4-byte selectors, e.g. 0xa9059cbb,0x095ea7b3 (alias: selectors)"},"event":{"type":"string","description":"Comma-separated 32-byte event topics"},"signatures":{"type":"string","description":"Comma- or newline-separated text signatures to hash, e.g. transfer(address,uint256); prefix with \"event \" for events"}}},"example":{"function":"0xa9059cbb,0x38ed1739","event":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/evm/calldata":{"post":{"operationId":"evm_calldata","summary":"Decode EVM calldata (any chain, no RPC)","description":"Decode transaction input data into function name, signature and typed named arguments. Uses your ABI, or the Sourcify-verified ABI for chain_id + address (proxies resolved), or the 4byte signature database with a strict re-encode check. Recursively decodes nested calls (multicall, execute, Safe, routers) up to 2 levels. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","description":"0x calldata (tx input), up to 100 KB"},"abi":{"type":"string","description":"Optional ABI: JSON array, or human-readable lines like \"function transfer(address to,uint256 amount)\""},"chain_id":{"type":"integer","description":"Optional chain id for Sourcify ABI lookup"},"address":{"type":"string","description":"Optional contract address (the tx \"to\")"},"nested":{"type":"boolean","description":"Decode nested calldata in bytes args (default true)"}},"required":["data"]},"example":{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000de0b6b3a7640000"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/evm/logs":{"post":{"operationId":"evm_logs","summary":"Decode EVM event logs (any chain, no RPC)","description":"Decode up to 50 raw logs ({topics, data, address}) from a receipt into event names and typed arguments. Uses your ABI, a Sourcify-verified ABI (chain_id + address), or the 4byte event database, trying indexed-parameter layouts until one decodes strictly. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"logs":{"type":"array","description":"Array of {topics: [0x..], data: 0x.., address?} (eth_getTransactionReceipt logs work as-is)"},"abi":{"type":"string","description":"Optional ABI (JSON or human-readable)"},"chain_id":{"type":"integer","description":"Optional chain id for Sourcify ABI"},"address":{"type":"string","description":"Optional emitting contract address for Sourcify ABI"}},"required":["logs"]},"example":{"logs":[{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045","0x00000000000000000000000028c6c06298d514db089934071355e5743bf21d60"],"data":"0x00000000000000000000000000000000000000000000000000000000000f4240"}]}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/evm/abi":{"post":{"operationId":"evm_abi","summary":"Verified contract ABI (Sourcify, any EVM chain)","description":"Get the verified ABI, contract name, compiler and match level for a contract on any Sourcify-supported chain, with proxy detection and the implementation ABI merged in. Returns function/event selectors alongside the ABI. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain_id":{"type":"integer","description":"Chain id, e.g. 1, 8453, 42161, 10, 137, 56"},"address":{"type":"string","description":"Contract address"},"resolve_proxy":{"type":"boolean","description":"Merge the implementation ABI for proxies (default true)"}},"required":["chain_id","address"]},"example":{"chain_id":1,"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/evm/encode":{"post":{"operationId":"evm_encode","summary":"Encode EVM calldata from a signature","description":"Build 0x calldata from a function signature and arguments (e.g. \"transfer(address,uint256)\" + [\"0x…\", \"1000000\"]). Numbers may be strings; returns selector and calldata ready for eth_call or a transaction. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signature":{"type":"string","description":"Function signature, e.g. transfer(address to,uint256 amount)"},"args":{"type":"array","description":"Arguments in order (JSON array; big numbers as strings)"}},"required":["signature"]},"example":{"signature":"transfer(address,uint256)","args":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","1000000000000000000"]}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://mpp-chain.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo (USDC.e or pathUSD). Clients such as mppx handle the 402 challenge automatically. See https://mpp.dev/sdk"}}},"tags":[{"name":"paid","description":"Pay-per-call MPP routes. Unpaid requests receive 402. Invalid input is not charged."},{"name":"discovery","description":"Free discovery surfaces: /docs, /llms.txt, /openapi.json, /mcp, /health."}]}