Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🌐nexus network

Audience: Nexus CLI users and integrators.

Command: nexus network.

Generated from: Nexus CLI v2.1.1 tagged source at commit 08bfe76e726922ce512d623fbc1d2e1bd786bcd4 (generated inventory preserved below).

This page is the complete help tree for nexus network. Global output flags can appear after the family or nested subcommand.

Manage Nexus network fees

Usage: nexus network [OPTIONS] <COMMAND>

Commands:
  configure-leader-registry Configure the complete leader registry policy
  configure-priority-fee-vault  Configure the priority fee vault exchange rate
  swap-us-for-sui               Swap an owned `$US` coin for SUI from the priority fee vault
  drain-priority-fee-vault-sui  Drain all available SUI from the priority fee vault
  withdraw-priority-fee         Withdraw a leader's `$US` priority fee share
  collect-priority-fees         Collect one leader capability's priority fee deposits
  help                          Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

Output:
      --json        Emit machine readable JSON
  -v, --verbose...  Increase diagnostic detail
  -q, --quiet...    Show errors only

nexus network configure-leader-registry

This command applies the unbonding delay, minimum $US stake, and per-transaction MIST ceiling together. It requires the configured signer to control the leader administration capability. A new registry begins with a fail-closed maximum minimum stake, so configure this policy before registering leaders.

nexus network configure-priority-fee-vault

This command resolves priority_fee_vault_owner_cap and us_token from configured NexusObjects. The configured signer must own the cap, and the cap must be bound to the canonical vault. Use nexus conf get --json plus cap/vault object readback before configuration; the rate argument alone does not establish custody.

nexus network swap-us-for-sui

The default --min-sui-out 0 is not a safe slippage policy. No CLI/high-level SDK ordinary quote command exists. Use the priority-fee vault guide to inspect the observed quote and derive a declared tolerance, then pass the computed nonzero minimum explicitly. Rate/liquidity races below that minimum abort atomically. Use the drain command only for the separate full-SUI-balance behavior.

nexus network drain-priority-fee-vault-sui

This command consumes the input US coin and returns SUI plus a newly materialized US refund object. Select that refund only from the swap transaction digest's created object changes by exact configured Coin<US> type and recipient, require one unique ID, then fetch its owner/version/digest/balance and compare balance with us_refunded; use the priority-fee vault guide. Follow it with a fresh vault-state query and require zero SUI before leader withdrawal; see Priority-Fee Tokenomics.

nexus network withdraw-priority-fee

share_to_withdraw is a leader vault share amount, not immediate Sui transaction gas or a SUI-denominated coin amount. The selected handler withdraws the leader's $US priority-fee share. The generated help wording below is retained as shipped CLI text; use transaction effects and vault readback to confirm the resulting $US transfer.

nexus network collect-priority-fees

The CLI does not expose a separate deposit-list or arbitrary leader-membership query. Follow the documented priority-fee vault behavior, then compare the command's collected/skipped/unavailable IDs with the after-state. Unavailable IDs may have been consumed concurrently; post-snapshot deposits wait for a later invocation. Skipped removed-leader children are not ordinary retries: the APIs cannot recreate the same leader-cap record, reassign, collect, delete, or refund them.

Last updated