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.
No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.
EVM calldata and event-log decoder with 4byte selector and Sourcify verified-ABI lookup, any chain, no RPC at $0.001–$0.002/call, zero API key. Pay per call with MPP on Tempo mainnet (chainId 4217, USDC.e or pathUSD) or x402 on Base (USDC).
npx mppx account create --network mainnet
# fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); `npx mppx account fund` is testnet-only
npx mppx https://mpp-chain.fmf-x402.workers.dev/mpp/evm/calldata --network mainnet -J '{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000de0b6b3a7640000"}'
npx mppx https://mpp-chain.fmf-x402.workers.dev/mpp/evm/logs --network mainnet -J '{"logs":[{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045","0x00000000000000000000000028c6c06298d514db089934071355e5743bf21d60"],"data":"0x00000000000000000000000000000000000000000000000000000000000f4240"}]}'
npx mppx https://mpp-chain.fmf-x402.workers.dev/mpp/evm/selector --network mainnet -J '{"function":"0xa9059cbb,0x38ed1739","event":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}'
Unpaid requests get HTTP 402 with two Tempo mainnet offers (USDC.e 0x20C000000000000000000000b9537d11c60E8b50, pathUSD 0x20c0000000000000000000000000000000000000) and an x402 v2 offer on Base USDC. Recipient 0xB2070a4A874E7141E551890a3642bF7B24a1a148. Invalid input is not charged. More: docs · llms.txt · OpenAPI · all FMF Tempo mainnet APIs · comparison vs other paid APIs (llms-comparisons.txt, comparisons.json)
| Route | Price | What you get |
|---|---|---|
POST /mpp/evm/selector | $0.001 | Selector and event-topic lookup (4byte) 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. |
POST /mpp/evm/calldata | $0.002 | Decode EVM calldata (any chain, no RPC) 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. |
POST /mpp/evm/logs | $0.002 | Decode EVM event logs (any chain, no RPC) 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. |
POST /mpp/evm/abi | $0.001 | Verified contract ABI (Sourcify, any EVM chain) 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. |
POST /mpp/evm/encode | $0.001 | Encode EVM calldata from a signature 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. |
These call POST /mpp/evm/abi ($0.001) — Verified contract ABI (Sourcify, any EVM chain). Swap the path for any other route in the table.
npx mppx https://mpp-chain.fmf-x402.workers.dev/mpp/evm/abi --network mainnet -J '{"chain_id":1,"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}'
Create a mainnet account once with npx mppx account create --network mainnet and fund it with USDC.e or pathUSD on Tempo mainnet (chainId 4217); npx mppx account fund is testnet-only. The CLI then pays the 402 automatically. See mpp.dev/sdk.
curl -i -X POST https://mpp-chain.fmf-x402.workers.dev/mpp/evm/abi -H 'content-type: application/json' -d '{"chain_id":1,"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}'
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
Mppx.create({
methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})
// Global fetch now pays the 402 automatically.
const res = await fetch('https://mpp-chain.fmf-x402.workers.dev/mpp/evm/abi', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"chain_id":1,"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}),
})
console.log(await res.json())
# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo
account = TempoAccount.from_key("0x...")
async def main():
async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
response = await mpp.fetch("https://mpp-chain.fmf-x402.workers.dev/mpp/evm/abi", method="POST", json={"chain_id":1,"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-chain": {
"url": "https://mpp-chain.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://mpp-chain.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.
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.