Skip to main content

sb solana oracle withdraw

$ sb solana oracle withdraw ORACLEKEY --amount <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--attestationProgramId <value>]
[--commitment confirmed|finalized|processed] [-k <value>] [--ledgerPath <value> --ledger] [-a <value>] [-f]
[--unwrap] [--withdrawDestination <value>]

ORACLEKEY public key of the oracle account

-a, --authority=<value> alternate keypair for the oracle authority
-f, --force allow withdrawing more than the queues minStake requirement
-h, --help Show CLI help.
-k, --keypair=<value> keypair that will pay for onchain transactions. defaults to new account authority if
no alternate authority provided
-s, --silent suppress cli prompts
-u, --rpcUrl=<value> alternate RPC url
-v, --verbose log everything
--amount=<value> (required) amount to withdraw
--attestationProgramId=<value> alternative Switchboard Attestation program ID to interact with
--cluster=<option> the solana cluster to connect to
<options: devnet|mainnet-beta|mainnet|localnet>
--commitment=<option> [default: confirmed] transaction commitment level to use
<options: confirmed|finalized|processed>
--ledger enable ledger support
--ledgerPath=<value> HID path to the ledger
--mainnetBeta WARNING: use mainnet-beta solana cluster
--programId=<value> alternative Switchboard program ID to interact with
--unwrap whether to unwrap the withdrawed funds
--withdrawDestination=<value> the account to withdraw funds to. if unwrap is set, this should be a SystemProgram
owned account. if unwrap is not set, this should be a TokenAccount.

withdraw from an oracle's staking wallet