Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

1.2 KB
Raw Blame

Decode Commands

Use decode to turn raw EVM calldata into a human-readable intent before signing or sending a transaction. Requires authentication and a completed init.

decode Command

Decode hex-encoded EVM calldata into its function name, parameters, and a plain-language summary.

Syntax

mm decode --payload <0x-calldata> [--toon]

Supported Flags

Name Required Description
--payload Yes Hex-encoded EVM calldata to decode (e.g. 0x095ea7b3...).

Output

Field Description
functionName Decoded function name, when the selector is recognized
params Array of decoded parameters, each with name and value
intent Plain-language summary of the call (e.g. Call approve(spender: 0x..., amount: ...))

Example

mm decode --payload 0x095ea7b3000000000000000000000000... --toon

Notes

  • Use this before mm wallet send-transaction whenever the calldata is unfamiliar or was not constructed by you, to confirm what the transaction actually does.
  • If the selector is not recognized, intent falls back to Call unknown function. Treat unrecognized calldata as higher risk and warn the user before proceeding.