SAP DOCv0.9.3
CLI

Global Flags

Flags that apply to every synapse-sap command. Network selection, output format, dry runs, and verbosity.

Global flags

These flags work on every command and resolve before the subcommand handler runs.

FlagTypeDefaultEffect
--rpc-url <url>stringfrom configOverride the primary RPC endpoint for this invocation
--fallback-rpc-url <url>stringfrom configOverride the fallback endpoint
--keypair <path>stringfrom configOverride the signer keypair file
--network <name>stringmainnet-betamainnet-beta, devnet, or localnet
--commitment <level>stringconfirmedprocessed, confirmed, or finalized
--simulateboolfalseResolve and print instructions without sending the transaction
--jsonboolfalseEmit machine readable JSON to stdout
--quietboolfalseSuppress non error output
--verboseboolfalsePrint detailed traces, timings, and decoded accounts
--no-colorboolfalseDisable ANSI color codes
--timeout <ms>number30000Per request timeout
--retries <n>number3Retry budget on transient errors
--config <path>string~/.config/synapse-sap/config.jsonLoad an alternate config file

Resolution order

  1. Built in defaults
  2. Config file (config show --raw)
  3. Environment variables (see env)
  4. CLI flags (highest priority)

Examples

# Force the EU endpoint just for this call
synapse-sap agent list --rpc-url "https://staging.oobeprotocol.ai/rpc?api_key=KEY"

# JSON pipeline into jq
synapse-sap discovery scan --limit 200 --json | jq '.[] | .wallet'

# Preflight without sending
synapse-sap escrow open <WALLET> --token sol --deposit 0.5 --simulate