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

🪙Network Fee Actions

Audience: Nexus SDK integrators (Rust).

Area: Network Fee Actions.

Generated from: Nexus SDK public API at release v2.1.1 commit 08bfe76e726922ce512d623fbc1d2e1bd786bcd4 (generated inventory preserved below).

The network module is the NetworkActions facade reached through NexusClient::network. Queries use the client's configured NexusObjects bindings and decode PriorityFeeVaultInnerV1. A decoded object schema version and an application compatibility decision are separate domains; value-moving calls submit transactions through the configured signer and gas source.

sdk/src/nexus/network.rs

PriorityFeeVaultInnerV1

PriorityFeeVaultInnerV1 is the generated public projection returned by fetch_priority_fee_vault_state. Its fields are sui_balance, us_balance, exchange_rate_million_mists_us, total_share, and leader_accounts. Use leader_share, quote_withdrawal, quote_leader_withdrawal, and quote_sui_drain for derived views. A projection does not prove custody: confirm the producing transaction effects plus returned object owner, type, version/digest, and balance before treating a drain/refund result as received.

Source-derived public API inventory

MAX_PRIORITY_FEE_DEPOSIT_BATCH_SIZE

pub const MAX_PRIORITY_FEE_DEPOSIT_BATCH_SIZE: usize = 128;

ConfigurePriorityFeeVaultResult

pub struct ConfigurePriorityFeeVaultResult {
    pub tx_digest: sui::types::Digest,
}

ConfigureLeaderRegistryResult

pub struct ConfigureLeaderRegistryResult {
    pub tx_digest: sui::types::Digest,
}

SwapUsForSuiResult

DrainPriorityFeeVaultSuiResult

WithdrawPriorityFeeResult

SkippedPriorityFeeDeposit

CollectPriorityFeeDepositsResult

NetworkActions

NetworkActions::configure_leader_registry

NetworkActions::fetch_priority_fee_vault_state

NetworkActions::priority_fee_share

NetworkActions::quote_priority_fee_withdrawal

NetworkActions::configure_priority_fee_vault

NetworkActions::swap_us_for_sui

NetworkActions::drain_priority_fee_vault_sui

NetworkActions::withdraw_priority_fee

NetworkActions::collect_priority_fee_deposits

Last updated