Command reference

Every command in the catalog, grouped by area, with what it does and whether it can sign.

On this page

This list matches the catalog of version 0.2.0. Run evm discover for the exact input and output schema of each command. Every command here is also an MCP tool and a TUI form.

The Kind column says what a command can change:

KindMeaning
readReads the chain, a provider or the journal. Changes nothing, or only records reconciled receipts.
localWrites to the local journal or wallet files only.
proposalReturns a hash-bound Safe proposal. Nothing is stored or signed.
planStores an unsigned plan, workflow or batch for review. Nothing is signed.
signsProduces a signature. Nothing is broadcast.
sendsCan sign and broadcast transactions. Requires approval.

CLI verbs#

These run outside the catalog and have no JSON input.

CommandWhat it does
evm discoverPrints commands, schemas, error codes and conventions. Also the default with no command, --help or -h.
evm tuiStarts the terminal UI. Requires an interactive terminal.
evm mcpStarts the MCP server over stdio.
evm wallet connectAlias for wallet-connect. Takes --browser or --smart, --chain and --name.
evm wallet statusAlias for wallets.
evm wallet selectAlias for wallet-select. Takes --name.
evm wallet disconnectAlias for wallet-disconnect. Takes --name.

Contracts and chain data#

CommandKindWhat it does
inspectreadReturns an ABI you supply, or discovers a verified ABI and resolves EIP-1967 proxies
readreadCalls a view function at a recorded block
decodereadDecodes calldata, an event or a custom error with an ABI
identityreadReturns the implementation address and bytecode hash
resolve-namereadResolves an ENS name on a chain with an ENS registry
balancereadNative balance in wei at a recorded block
tokenreadERC-20 symbol, decimals and balance at one block
allowancereadOne ERC-20 allowance at a recorded block
blockreadLatest block or a specific block
transactionreadA transaction by hash, including raw calldata
logsreadContract logs in pages of up to 2000 blocks and 1000 records
capabilitiesreadProbes EIP-1559, safe and finalized block tags, asset simulation, signer and Socket endpoint
simulatereadSimulates up to 32 calls and traces asset changes where eth_simulateV1 is supported
unitsreadConverts a decimal amount to base units without rounding. No network.

Transactions#

CommandKindWhat it does
prepareplanSimulates and stores a raw transaction
prepare-callplanEncodes a contract call, simulates it and stores the plan
executesendsSigns and broadcasts a stored plan, or rebroadcasts its stored signed bytes
statusreadReconciles an operation with its receipt. Never signs or broadcasts.
waitreadPolls an operation for up to 30 passes, one second apart
cancellocalCancels an unsigned plan
operationsreadLists up to 100 recent operations from the journal. No network.
replaceplanPrepares a same-nonce fee replacement or cancellation
attach-transactionlocalAttaches a wallet transaction hash after a lost response, once it matches the plan

Assets#

CommandKindWhat it does
transferplanNative or ERC-20 transfer in base units
approveplanExact ERC-20 allowance
revokeplanERC-20 allowance of zero
wrapplanDeposit to or withdraw from a wrapped-native contract you specify

Wallets and signatures#

CommandKindWhat it does
walletreadThe signer address and its source. Never returns secrets.
walletsreadNamed connected wallets and the selected one
wallet-connectlocalConnects a browser, WalletConnect or Crossmint smart wallet. Interactive terminals only.
wallet-selectlocalSelects a connected wallet by name
wallet-disconnectlocalForgets a wallet connection and ends its WalletConnect session
wallet-capabilitiesreadEIP-5792 batching and sponsorship support in the connected wallet
sign-typed-datasignsPreviews an EIP-712 digest, then signs it with approval

Wallet batches#

CommandKindWhat it does
batch-prepareplanStores an EIP-5792 batch of up to 32 calls with explicit atomicity and an optional paymaster
batch-runsendsSubmits an approved batch once, after storing its ID
batch-statusreadQueries the wallet for the same batch ID and verifies receipts

Policies#

CommandKindWhat it does
policy-createlocalCreates an immutable named policy with limits, budgets and expiry
policy-revokelocalRevokes a policy. Later signing under it is refused.
policiesreadLists policies and their spending reservations

Workflows#

CommandKindWhat it does
workflow-createplanStores up to 32 ordered intents with optional outcome checks. Not atomic.
workflow-runsendsRuns or resumes a workflow and stops on a pending, reverted or failed step
workflow-statusreadReconciles each workflow transaction without sending
workflow-cancellocalStops future steps. Submitted steps stay recoverable.
verify-outcomereadReads a contract and asserts an expected value

Swaps and bridging#

CommandKindWhat it does
socket-chainsreadChains Socket supports
socket-tokensreadSearches Socket assets on one chain by symbol or address
socket-quotereadCurrent Socket V3 swap or bridge routes
swapplanStores a same-chain Socket route and its approvals as a workflow
bridge-prepareplanStores a cross-chain Socket route and its approvals as a workflow
bridge-runsendsRuns the stored bridge workflow, then checks settlement
bridge-statusreadReconciles source transactions and Socket destination status
bridge-waitreadPolls settlement for up to 60 passes, five seconds apart

Protocols and indexed data#

CommandKindWhat it does
aeroread or planRuns an Aero read or planner. With key, transaction plans become a workflow.
vaultplanERC-4626 deposit or redeem workflow with an outcome check
lendingplanAave-compatible supply or withdraw workflow for a pool you specify
portfolioreadIndexed token holdings, NFTs, history or transfers with coverage notes

Monitoring#

CommandKindWhat it does
watchreadSamples the latest block at a fixed interval
watch-contractlocalRepeats a contract read and reports changes across restarts
monitor-createlocalCreates a contract event monitor with confirmations and a cursor
monitor-polllocalReturns the next event batch, repeating it until acknowledged
monitor-acklocalAcknowledges the exact batch and advances the cursor
monitor-pauselocalPauses or resumes a monitor without losing its cursor
monitorsreadLists stored monitors

Saved contracts#

CommandKindWhat it does
workspacereadLists saved contract aliases
savelocalSaves or updates a chain-specific alias
removelocalRemoves an alias

Safe wallets#

CommandKindWhat it does
safe-predictreadPredicts a deterministic Safe address
safe-deployplanPlans deployment of a Safe with explicit owners and threshold
safe-inforeadOwners, threshold, nonce and verified enabled modules
safe-proposeproposalA CALL proposal at the current Safe nonce
safe-batch-proposeproposalAn atomic batch of up to 64 CALLs
safe-approvalsreadVerifies a proposal and reads on-chain owner approvals
safe-approveplanOne owner's approveHash transaction
safe-executeplanSafe execution once enough owners approved on chain
safe-execute-signaturesplanSafe execution with collected EOA, contract or passkey signatures
safe-cancel-proposeproposalA zero-value self-call at the current nonce
safe-owner-proposeproposalAdd, remove or replace an owner, or change the threshold

Safe modules, budgets and roles#

CommandKindWhat it does
safe-module-inforeadVerifies a module and reads whether it is enabled
safe-module-proposeproposalEnables or disables a verified module
safe-budgetreadToken budget, amount spent, remaining amount and reset period
safe-budget-proposeproposalEnables the Allowance module if needed and sets a delegate budget
safe-budget-revoke-proposeproposalDeletes a delegate budget
safe-budget-spendplanA transfer from the Safe within the caller's budget
safe-roles-deployplanDeploys a Zodiac Roles module owned by the Safe. Grants nothing.
safe-role-grant-proposeproposalGrants a member function permissions with static argument limits
safe-role-revoke-proposeproposalRemoves a member from a role
safe-role-checkreadSimulates an exact role call
safe-role-executeplanA CALL through the Roles module as the member

Safe passkey owners#

CommandKindWhat it does
safe-passkey-addressreadPredicts the signer contract for a P-256 public key
safe-passkey-deployplanDeploys the passkey signer contract. Does not add it as an owner.
safe-passkey-owner-proposeproposalAdds a deployed passkey signer as an owner

Safe sponsored execution#

CommandKindWhat it does
safe-sponsored-enable-proposeproposalEnables the verified ERC-4337 module and fallback handler
safe-sponsored-proposeplanBuilds and stores a paymaster-sponsored Safe UserOperation
safe-sponsored-signsignsSigns the exact fingerprint with the local EOA owner key
safe-sponsored-signaturelocalAttaches an external EOA or passkey owner signature
safe-sponsored-submitsendsSubmits the signed operation, storing its hash first
safe-sponsored-statusreadReads status and verifies the on-chain EntryPoint event
safe-sponsored-cancellocalCancels an unsubmitted local operation