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.

2.0 KB
Raw Blame

Transaction Commands

Use wallet send-transaction to send raw EVM transactions with the active wallet.

wallet send-transaction Command

Send a raw EVM transaction using the active wallet.

Syntax

mm wallet send-transaction --chain-id <id> --payload '<JSON>' [--wait] [--password <password>]

Supported Flags

Name Required Description
--chain-id Yes EVM chain ID as a positive integer (e.g. 1, 137)
--payload Yes Transaction as a JSON string with at least a to address (e.g. '{"to":"0x...","value":"0x0"}'})
--wait No Block until the transaction completes (server-wallet mode only; BYOK returns immediately)
--intent No Human-readable summary of what the transaction does, forwarded with the request
--password No Password to unlock the BYOK mnemonic (BYOK mode only) [env: MM_PASSWORD]

Example

mm wallet send-transaction --chain-id 1 --payload '{"to":"0x742d...","value":"0xde0b6b3a7640000","data":"0x"}' --intent "Send 1 ETH to 0x742d...f2bD18"
mm wallet send-transaction --chain-id 1 --payload '{"to":"0x...","value":"0x0","data":"0xabcdef"}' --wait
mm wallet send-transaction --chain-id 1 --payload '...' --toon

Transaction Payload

The --payload flag takes a JSON string with transaction fields:

{
  "to": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18",
  "value": "0xde0b6b3a7640000",
  "data": "0x"
}

Optional fields: gas, nonce, maxFeePerGas, maxPriorityFeePerGas. The value field must be 0x-prefixed hex, not a decimal wei string.

Notes

  • If the chain is not mentioned by the user, ask for the chain.
  • When the data/calldata is unfamiliar or was not constructed by you, decode it first with mm decode --payload <0x-calldata> and confirm the intent before sending. See references/decode.md.
  • In server-wallet mode, send-transaction returns a pollingId when --wait is omitted. See references/polling.md to track requests.