evm_encode
Encode EVM calldata from a signature ($0.001 per call, paid via MPP on Tempo). 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. HTTP POST https://mpp-chain.fmf-x402.workers.dev/mpp/evm/encode. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"signature": "<signature>"
},
"name": "evm_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments in order (JSON array; big numbers as strings) | |
| signature | Yes | Function signature, e.g. transfer(address to,uint256 amount) |