CLI reference
usage: setup | add-to claude|codex | balance | pda | domain | mcp | show config | show intent | show mint-cap | quote | cancel | expire | close | close-legacy | migrate | advance-nonce | advance-epoch | create swap|limit|dutch|attested | list | mandate grant|show|revoke|use <kind> | approve | revoke-approval | signed prepare <kind>|submit | init-config | update-config | set-economics | propose-admin | accept-admin | set-mint-cap | set-caps-required on|off | set-committee-floor | solve | raise-pause | lower-pause | crank | treasury | solver-table | solver float | solver float show | solver float revoke | events | jobs | deliver | deliveries | receipt | record-delivery | judge [digest] | committee create|show|vote|release | claims show | claims open | claims take | claims drop | claims settle | claims standby | claims leave | claims advance | profile show | profile set | profile close | profile encryption-key new | reputation | feedback | monitor | hash | seal | unseal | spec | version | help [command]Every command accepts --output and --help.
INTENT_ENGINE_KEYPAIR fills in --keypair and INTENT_ENGINE_URL fills in --url when they are not given. --url takes an RPC URL or one of localnet, devnet, testnet, mainnet-beta.
When neither --keypair nor INTENT_ENGINE_KEYPAIR is given, the wallet setup saved is the default, which is why --keypair is in brackets below; only signed submit always needs its relayer's --keypair.
--keypair also takes a Ledger, as usb://ledger, usb://ledger?key=<account>, usb://ledger?key=<account>/<change>, for create, cancel, expire, close, approve, revoke-approval, deliver, judge, committee vote, committee release, signed prepare, advance-nonce, advance-epoch, claims take, claims drop, mandate grant, mandate revoke, profile set, profile close, solver float; every other command refuses one and needs a key file.
setup
setup [--url <cluster>] [--keypair <file>] [--confirm-url <cluster>] [--faucet]Options: --url, --keypair, --confirm-url, --faucet, --output, --help
add-to
add-to claude|codex [--wallet-per-trade <token=amount,...>] [--wallet-per-hour <token=amount,...>]Options: --wallet-per-trade, --wallet-per-hour, --output, --help
balance
balance [--keypair <file> | --owner <address>] [--mints <mint,...>]Options: --url, --keypair, --owner, --mints, --output, --help
pda
pda --owner <address> --nonce <n>Options: --owner, --nonce, --output, --help
hash
hash --artifact <file or directory>Options: --artifact, --output, --help
seal
seal --file <file> --to <wallet or committee,...> --out <file>Options: --url, --file, --to, --out, --output, --help
unseal
unseal --file <sealed file> ([--keypair <file>] | --encryption-keypair <encryption key file> ...) --out <file>Options: --file, --keypair, --encryption-keypair, --out, --output, --help
spec
spec --intent <escrow address> [--keypair <file>] [--out <file>]Options: --url, --intent, --keypair, --out, --output, --help
show
show config | intent --owner <address> --nonce <n> | mint-cap --mint <mint>Options: --url, --owner, --nonce, --mint, --output, --help
domain
domainOptions: --url, --output, --help
mcp
mcp [--wallet [--wallet-per-trade <token=amount,...>] [--wallet-per-hour <token=amount,...>] [--all-tools]] [--relayer <keypair> --relay-fee <mint=amount,...> [--relay-max-lamports] [--relay-max-ttl] [--relay-per-hour] [--relay-hourly-lamports]] [--agent <keypair> --agent-owners <address,...> [--agent-hourly-lamports]] [--fee-payer <key file, with --wallet>] [--encryption-keypair <encryption key file, with --wallet> ...] [--confirm-url <cluster> | --no-confirm-url]Options: --url, --priority-fee, --relayer, --relay-max-lamports, --relay-max-ttl, --relay-per-hour, --relay-hourly-lamports, --relay-fee, --agent, --agent-hourly-lamports, --agent-owners, --wallet, --wallet-per-trade, --wallet-per-hour, --all-tools, --confirm-url, --no-confirm-url, --fee-payer, --encryption-keypair, --output, --help
quote
quote --owner <address> --nonce <n> [--at <unix>]Options: --url, --owner, --nonce, --at, --output, --help
cancel
cancel [--keypair <file>] --nonce <n> [--close] [--yes]Options: --url, --priority-fee, --keypair, --yes, --nonce, --close, --output, --help
expire
expire [--keypair <file>] --owner <address> --nonce <n> [--yes]Options: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --output, --help
close
close [--keypair <file>] --owner <address> --nonce <n> [--yes]Options: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --output, --help
advance-nonce
advance-nonce [--keypair <file>] --base <n> [--yes]Options: --url, --priority-fee, --keypair, --yes, --base, --output, --help
close-legacy
close-legacy [--keypair <payer>] --address <account> [--yes]Options: --url, --priority-fee, --keypair, --yes, --address, --output, --help
migrate
migrate [--keypair <payer>] (--address <account> | --all) [--yes]Options: --url, --priority-fee, --keypair, --yes, --address, --all, --output, --help
advance-epoch
advance-epoch [--keypair <file>]Options: --url, --priority-fee, --keypair, --output, --help
init-config
init-config ([--keypair <file>] [--yes] | --authority <address>) --guardian --fee-recipient --fee-bps --kinds [--flags create|fill|all]Options: --url, --priority-fee, --keypair, --authority, --yes, --guardian, --fee-recipient, --fee-bps, --kinds, --flags, --output, --help
raise-pause
raise-pause ([--keypair <file>] [--yes] | --authority <address>) --flags create|fill|allOptions: --url, --priority-fee, --keypair, --authority, --yes, --flags, --output, --help
set-economics
set-economics ([--keypair <file>] [--yes] | --authority <address>) --bounty --create-fee [--kind-fees] [--partner-cut]Options: --url, --priority-fee, --keypair, --authority, --yes, --bounty, --create-fee, --kind-fees, --partner-cut, --output, --help
update-config
update-config ([--keypair <file>] [--yes] | --authority <address>) and any of --guardian --fee-recipient --fee-bps --kinds --fill-disabledOptions: --url, --priority-fee, --keypair, --authority, --yes, --guardian, --fee-recipient, --fee-bps, --kinds, --fill-disabled, --output, --help
propose-admin
propose-admin ([--keypair <file>] [--yes] | --authority <address>) --new-admin <address>Options: --url, --priority-fee, --keypair, --authority, --yes, --new-admin, --output, --help
accept-admin
accept-admin ([--keypair <file>] [--yes] | --authority <address>)Options: --url, --priority-fee, --keypair, --authority, --yes, --output, --help
set-mint-cap
set-mint-cap ([--keypair <file>] [--yes] | --authority <address>) --mint <mint> --max-per-order <raw> --window-cap <raw> --window-secs <n> [--total-limit <raw>]Options: --url, --priority-fee, --keypair, --authority, --yes, --mint, --max-per-order, --window-cap, --window-secs, --total-limit, --output, --help
set-caps-required
set-caps-required on|off ([--keypair <file>] [--yes] | --authority <address>)Options: --url, --priority-fee, --keypair, --authority, --yes, --output, --help
set-committee-floor
set-committee-floor ([--keypair <file>] [--yes] | --authority <address>) --mint <mint> --floor <raw>Options: --url, --priority-fee, --keypair, --authority, --yes, --mint, --floor, --output, --help
solve
solve [--keypair <file>] [--inventory <input mint>:<output mint>=<out>/<in>,... [--inventory-owner <address>]] [--jupiter <url> | --issue <input mint>:<output mint>=<out>/<in>,...] --min-profit <output mint=raw,...> [--sol-value <mint>=<raw>/<lamports>,...] [--target-profit <output mint=raw,...> [--patience <seconds>]] [--priority-fee <micro-lamports|auto>] [--max-fee-bps <n>] [--max-sol-cost <SOL>] [--max-rent <SOL>] [--slippage-bps <n>] [--jito <url> [--tip <lamports>] [--bundle-size <n>]] [--route-program <program the aggregator swaps through>] [--lookup-table <address,...>] [--concurrency <n>] [--watch [--interval <seconds>] [--quote-ttl <seconds>] [--stats]] [--confirm-url <cluster>]Options: --url, --priority-fee, --keypair, --jupiter, --issue, --inventory, --inventory-owner, --jito, --tip, --bundle-size, --min-profit, --target-profit, --patience, --sol-value, --max-fee-bps, --max-sol-cost, --max-rent, --slippage-bps, --route-program, --lookup-table, --concurrency, --watch, --interval, --quote-ttl, --stats, --confirm-url, --output, --help
solver-table
solver-table --solver <address> --mints <mint,...>Options: --url, --solver, --mints, --output, --help
solver
solver float [--keypair <owner file>] --delegate <solver address> --mint <mint> --amount <amount> [--units tokens|raw] [--yes] | float show --owner <address> --delegate <solver address> [--mints <mint,...>] | float revoke [--keypair <owner file>] --mint <mint> [--yes]Options for float: --url, --priority-fee, --keypair, --yes, --owner, --delegate, --mint, --mints, --amount, --units, --output, --help
lower-pause
lower-pause ([--keypair <file>] [--yes] | --authority <address>) --flags create|fill|allOptions: --url, --priority-fee, --keypair, --authority, --yes, --flags, --output, --help
events
events [--limit <n>] [--follow [--interval <seconds>]]Options: --url, --limit, --follow, --interval, --output, --help
jobs
jobs [--attestor <address>] [--mint <SOL, TEST or mint>] [--min-pay <tokens>] [--unclaimed]Options: --url, --attestor, --mint, --min-pay, --unclaimed, --output, --help
deliver
deliver [--keypair <worker file>] --intent <address> (--artifact <file or directory> | --sha256 <64 hex>) --work-url <https url> [--yes]Options: --url, --priority-fee, --keypair, --yes, --intent, --artifact, --sha256, --work-url, --output, --help
deliveries
deliveries --attestor <address> --intent <address> [--max-pages <n>] [--judge-keypair <judge or member file>] [--encryption-keypair <encryption key file> ...]Options: --url, --attestor, --intent, --max-pages, --judge-keypair, --encryption-keypair, --output, --help
receipt
receipt --owner <address> --nonce <n> [--sha256 <64 hex>] [--release <signature>]Options: --url, --owner, --nonce, --sha256, --release, --output, --help
record-delivery
record-delivery [--keypair <judge file>] --owner <address> --nonce <n> --sha256 <64 hex> [--release <signature>] [--yes]Options: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --sha256, --release, --output, --help
judge
judge [--keypair <judge file>] --owner <address> --nonce <n> --spec <file> (--artifact <file or directory> | --watch [--interval <seconds>]) (--run <command> | --sandbox viper) [--pay-to <wallet>] [--result <n>] [--timeout <seconds>] [--verdict <file>] [--max-pages <n>] [--check <file or directory>] [--sandbox docker|viper|none] [--sandbox-image <name>@sha256:<64 hex>] [--sandbox-memory <n>m|<n>g] [--sandbox-cpus <n>] [--plain-node] [--fee-payer <key file, with a Ledger --keypair>] [--encryption-keypair <encryption key file> ...] [--confirm-url <cluster> | --no-confirm-url] [--yes] | digest --owner <address> --nonce <n> --pay-to <wallet> [--result <n>]Options without a subcommand: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --spec, --artifact, --run, --pay-to, --result, --timeout, --verdict, --max-pages, --check, --sandbox, --sandbox-image, --sandbox-memory, --sandbox-cpus, --plain-node, --watch, --interval, --confirm-url, --no-confirm-url, --fee-payer, --encryption-keypair, --output, --help
Options for digest: --url, --owner, --nonce, --pay-to, --result, --output, --help
crank
crank [--keypair <file>] [--dry-run] [--fund-accounts]Options: --url, --priority-fee, --keypair, --dry-run, --fund-accounts, --output, --help
treasury
treasury [--mints <mint,...>] [--create --mints <mint,...> [--keypair <payer file>] [--yes]]Options: --url, --priority-fee, --keypair, --yes, --mints, --create, --output, --help
create
create swap|limit|dutch|attested [--keypair <file>] --input-mint --output-mint (--expires-at | --expires-in) (--amount-in --min-out | --make --take | --amount-in --start-out --end-out --start-at --end-at | --amount-in --min-result --max-result --attestor) [--nonce <n>] [--pay-to <wallet>] [--partner <address> --partner-bps <n>] [--units tokens|raw] [--yes]; attested takes [--spec-hash <64 hex> [--judge-fee <amount>] [--spec-url <https url>]] to make a proof escrowOptions: --url, --priority-fee, --keypair, --yes, --nonce, --input-mint, --output-mint, --expires-at, --expires-in, --amount-in, --min-out, --make, --take, --start-out, --end-out, --start-at, --end-at, --min-result, --max-result, --attestor, --spec-hash, --judge-fee, --spec-url, --pay-to, --partner, --partner-bps, --units, --output, --help
list
list [--owner <address> | --keypair <file>]; --owner wins when both are givenOptions: --url, --keypair, --owner, --output, --help
mandate
mandate grant [--keypair <file>] --agent --input-mint --output-mint --kinds --per-intent --total --max-intents --max-ttl --valid-for --floor-out --floor-in [--agent-fee] [--partner <address> --partner-bps <n>] [--id] [--units tokens|raw] [--yes] | show --agent [--owner <address> | --keypair <file>] [--id] | revoke [--keypair <file>] --agent [--id] [--yes] | use swap|limit|dutch [--keypair <file>] --owner (--expires-at | --expires-in) (--amount-in --min-out | --make --take | --amount-in --start-out --end-out --start-at --end-at) [--id] [--nonce <n>] [--units tokens|raw] [--yes]Options for grant: --url, --priority-fee, --keypair, --yes, --agent, --id, --input-mint, --output-mint, --kinds, --per-intent, --total, --max-intents, --max-ttl, --valid-for, --floor-out, --floor-in, --partner, --partner-bps, --agent-fee, --units, --output, --help
Options for show: --url, --keypair, --agent, --id, --owner, --output, --help
Options for revoke: --url, --priority-fee, --keypair, --yes, --agent, --id, --output, --help
Options for use: --url, --priority-fee, --keypair, --yes, --owner, --id, --nonce, --expires-at, --expires-in, --amount-in, --min-out, --make, --take, --start-out, --end-out, --start-at, --end-at, --units, --output, --help
approve
approve [--keypair <file>] --mint <mint> --amount <amount> [--units tokens|raw] [--yes]Options: --url, --priority-fee, --keypair, --yes, --mint, --amount, --units, --output, --help
revoke-approval
revoke-approval [--keypair <file>] --mint <mint> [--yes]Options: --url, --priority-fee, --keypair, --yes, --mint, --output, --help
signed
signed prepare swap|limit|dutch|attested [--keypair <file>] --out <file> --input-mint --output-mint (--expires-at | --expires-in) (--amount-in --min-out | --make --take | --amount-in --start-out --end-out --start-at --end-at | --amount-in --min-result --max-result --attestor) [--nonce <n>] [--submit-within <seconds>] [--relayer-fee] [--partner <address> --partner-bps <n>] [--units tokens|raw] [--yes] | submit --keypair <relayer file> --file <file> [--yes]Options for prepare: --url, --keypair, --yes, --out, --nonce, --input-mint, --output-mint, --submit-within, --relayer-fee, --expires-at, --expires-in, --amount-in, --min-out, --make, --take, --start-out, --end-out, --start-at, --end-at, --min-result, --max-result, --attestor, --partner, --partner-bps, --units, --output, --help
Options for submit: --url, --keypair, --yes, --file, --output, --help
monitor
monitor --expect <baseline file> [--interval <seconds>] [--max-fill <mint>=<raw amount>]... [--max-fills <count>] [--min-balance <wallet>=<SOL>]... [--max-swap-wait <seconds>] [--webhook <https url>] [--once [--since <seconds>]] | --write-baseline <file>; prints each alert as one JSON line; with --once it reads fills of the last --since seconds, the interval by default, and exits 0 when nothing alerted and 4 when anything didOptions: --url, --expect, --write-baseline, --interval, --max-fill, --max-fills, --min-balance, --max-swap-wait, --webhook, --once, --since, --output, --help
reputation
reputation --worker <address> [--max-pages <n>] [--reader <address> [--seed <address>]...]Options: --url, --worker, --max-pages, --reader, --seed, --output, --help
feedback
feedback [--keypair <owner file>] --intent <address> --score <0 to 100> [--note <sha256 of a note>] [--yes]Options: --url, --priority-fee, --keypair, --yes, --intent, --score, --note, --output, --help
committee
committee create [--keypair <payer file>] --members <address,...> --threshold <n> --fee-wallet <address> [--yes] | show --committee <address> | vote [--keypair <member file>] --owner <address> --nonce <n> --pay-to <wallet> --result <n> [--out <file>] [--yes] | release [--keypair <solver file>] --vote <file> [--vote <file> ...] [--sha256 <64 hex>] [--confirm-url <cluster> | --no-confirm-url] [--yes]Options for create: --url, --priority-fee, --keypair, --yes, --members, --threshold, --fee-wallet, --output, --help
Options for show: --url, --committee, --output, --help
Options for vote: --url, --keypair, --yes, --owner, --nonce, --pay-to, --result, --out, --output, --help
Options for release: --url, --priority-fee, --keypair, --yes, --vote, --sha256, --confirm-url, --no-confirm-url, --output, --help
claims
claims show --owner <address> --nonce <n> | open [--keypair <owner file>] --nonce <n> --max-secs <seconds> --stake <SOL> [--workers <a,b,...>] [--yes] | take [--keypair <worker file>] --owner <address> --nonce <n> --secs <seconds> [--yes] | drop [--keypair <worker file>] --owner <address> --nonce <n> [--yes] | settle [--keypair <payer file>] --owner <address> --nonce <n> [--yes] | standby [--keypair <worker file>] --owner <address> --nonce <n> --secs <seconds> [--yes] | leave [--keypair <file>] --owner <address> --nonce <n> [--seq <n>] [--yes] | advance [--keypair <payer file>] --owner <address> --nonce <n> [--yes]Options for show: --url, --owner, --nonce, --output, --help
Options for open: --url, --priority-fee, --keypair, --yes, --nonce, --max-secs, --stake, --workers, --output, --help
Options for take: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --secs, --output, --help
Options for drop: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --output, --help
Options for settle: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --output, --help
Options for standby: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --secs, --output, --help
Options for leave: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --seq, --output, --help
Options for advance: --url, --priority-fee, --keypair, --yes, --owner, --nonce, --output, --help
profile
profile show --wallet <address> | set [--keypair <file>] --skills <tag,...> --endpoint <https url> [--doc-url <https url> --doc-sha256 <64 hex>] [--encryption-key <base58> | --encryption-key none] [--yes] | close [--keypair <file>] [--yes] | encryption-key new --out <file>Options for show: --url, --wallet, --output, --help
Options for set: --url, --priority-fee, --keypair, --yes, --skills, --endpoint, --doc-url, --doc-sha256, --encryption-key, --output, --help
Options for close: --url, --priority-fee, --keypair, --yes, --output, --help
Options for encryption-key: --out, --output, --help
version
versionPrints the CLI version. --version does the same.
help
help [command]Prints the usage of every command, or of one command. --help after a command does the same.