Encode EVM calldata from a signature
mpp-chain.fmf-x402.workers.dev/mpp/evm/encode
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. Price $0.001 per call.
GET
https://mpp-chain.fmf-x402.workers.dev/mpp/evm/encodeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mpp-chain.fmf-x402.workers.dev/mpp/evm/encode?signature=transfer%28address%2Cuint256%29");
console.log(await res.json());Example input
{
"signature": "transfer(address,uint256)"
}More from FMF Tools FMF Tools EVM DecoderProvider status
- mpp-chain.fmf-x402.workers.dev/mpp/evm/abiVerified 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. Price $0.001 per call.0.001
- mpp-chain.fmf-x402.workers.dev/mpp/evm/calldataDecode 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. Price $0.002 per call.0.002
- mpp-chain.fmf-x402.workers.dev/mpp/evm/logsDecode 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. Price $0.002 per call.0.002
- mpp-chain.fmf-x402.workers.dev/mpp/evm/selectorSelector 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. Price $0.001 per call.0.001
