Enum solana_cli::cli::CliCommand [−][src]
pub enum CliCommand { Catchup { node_pubkey: Option<Pubkey>, node_json_rpc_url: Option<String>, follow: bool, our_localhost_port: Option<u16>, log: bool, }, ClusterDate, ClusterVersion, CreateAddressWithSeed { from_pubkey: Option<Pubkey>, seed: String, program_id: Pubkey, }, Feature(FeatureCliCommand), Inflation(InflationCliCommand), Fees { blockhash: Option<Hash>, }, FirstAvailableBlock, GetBlock { slot: Option<Slot>, }, GetBlockTime { slot: Option<Slot>, }, GetEpoch, GetEpochInfo, GetGenesisHash, GetSlot, GetBlockHeight, GetTransactionCount, LargestAccounts { filter: Option<RpcLargestAccountsFilter>, }, LeaderSchedule { epoch: Option<Epoch>, }, LiveSlots, Logs { filter: RpcTransactionLogsFilter, }, Ping { lamports: u64, interval: Duration, count: Option<u64>, timeout: Duration, blockhash: Option<Hash>, print_timestamp: bool, }, Rent { data_length: usize, use_lamports_unit: bool, }, ShowBlockProduction { epoch: Option<Epoch>, slot_limit: Option<u64>, }, ShowGossip, ShowStakes { use_lamports_unit: bool, vote_account_pubkeys: Option<Vec<Pubkey>>, }, ShowValidators { use_lamports_unit: bool, }, Supply { print_accounts: bool, }, TotalSupply, TransactionHistory { address: Pubkey, before: Option<Signature>, until: Option<Signature>, limit: usize, show_transactions: bool, }, WaitForMaxStake { max_stake_percent: f32, }, AuthorizeNonceAccount { nonce_account: Pubkey, nonce_authority: SignerIndex, new_authority: Pubkey, }, CreateNonceAccount { nonce_account: SignerIndex, seed: Option<String>, nonce_authority: Option<Pubkey>, amount: SpendAmount, }, GetNonce(Pubkey), NewNonce { nonce_account: Pubkey, nonce_authority: SignerIndex, }, ShowNonceAccount { nonce_account_pubkey: Pubkey, use_lamports_unit: bool, }, WithdrawFromNonceAccount { nonce_account: Pubkey, nonce_authority: SignerIndex, destination_account_pubkey: Pubkey, lamports: u64, }, Deploy { program_location: String, address: Option<SignerIndex>, use_deprecated_loader: bool, allow_excessive_balance: bool, }, Program(ProgramCliCommand), CreateStakeAccount { stake_account: SignerIndex, seed: Option<String>, staker: Option<Pubkey>, withdrawer: Option<Pubkey>, lockup: Lockup, amount: SpendAmount, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, from: SignerIndex, }, DeactivateStake { stake_account_pubkey: Pubkey, stake_authority: SignerIndex, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, }, DelegateStake { stake_account_pubkey: Pubkey, vote_account_pubkey: Pubkey, stake_authority: SignerIndex, force: bool, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, }, SplitStake { stake_account_pubkey: Pubkey, stake_authority: SignerIndex, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, split_stake_account: SignerIndex, seed: Option<String>, lamports: u64, fee_payer: SignerIndex, }, MergeStake { stake_account_pubkey: Pubkey, source_stake_account_pubkey: Pubkey, stake_authority: SignerIndex, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, }, ShowStakeHistory { use_lamports_unit: bool, }, ShowStakeAccount { pubkey: Pubkey, use_lamports_unit: bool, }, StakeAuthorize { stake_account_pubkey: Pubkey, new_authorizations: Vec<(StakeAuthorize, Pubkey, SignerIndex)>, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, custodian: Option<SignerIndex>, }, StakeSetLockup { stake_account_pubkey: Pubkey, lockup: LockupArgs, custodian: SignerIndex, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, }, WithdrawStake { stake_account_pubkey: Pubkey, destination_account_pubkey: Pubkey, lamports: u64, withdraw_authority: SignerIndex, custodian: Option<SignerIndex>, sign_only: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, }, GetValidatorInfo(Option<Pubkey>), SetValidatorInfo { validator_info: Value, force_keybase: bool, info_pubkey: Option<Pubkey>, }, CreateVoteAccount { vote_account: SignerIndex, seed: Option<String>, identity_account: SignerIndex, authorized_voter: Option<Pubkey>, authorized_withdrawer: Option<Pubkey>, commission: u8, }, ShowVoteAccount { pubkey: Pubkey, use_lamports_unit: bool, }, WithdrawFromVoteAccount { vote_account_pubkey: Pubkey, destination_account_pubkey: Pubkey, withdraw_authority: SignerIndex, withdraw_amount: SpendAmount, }, VoteAuthorize { vote_account_pubkey: Pubkey, new_authorized_pubkey: Pubkey, vote_authorize: VoteAuthorize, }, VoteUpdateValidator { vote_account_pubkey: Pubkey, new_identity_account: SignerIndex, withdraw_authority: SignerIndex, }, VoteUpdateCommission { vote_account_pubkey: Pubkey, commission: u8, withdraw_authority: SignerIndex, }, Address, Airdrop { faucet_host: Option<IpAddr>, faucet_port: u16, pubkey: Option<Pubkey>, lamports: u64, }, Balance { pubkey: Option<Pubkey>, use_lamports_unit: bool, }, Confirm(Signature), DecodeTransaction(Transaction), ResolveSigner(Option<String>), ShowAccount { pubkey: Pubkey, output_file: Option<String>, use_lamports_unit: bool, }, Transfer { amount: SpendAmount, to: Pubkey, from: SignerIndex, sign_only: bool, no_wait: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, fee_payer: SignerIndex, derived_address_seed: Option<String>, derived_address_program_id: Option<Pubkey>, }, }
Variants
Fields of Catchup
Feature(FeatureCliCommand)
Inflation(InflationCliCommand)
Fields of LargestAccounts
filter: Option<RpcLargestAccountsFilter>
Fields of Logs
filter: RpcTransactionLogsFilter
Fields of Ping
Fields of ShowValidators
use_lamports_unit: bool
Fields of Supply
print_accounts: bool
Fields of TransactionHistory
Fields of WaitForMaxStake
max_stake_percent: f32
Fields of AuthorizeNonceAccount
nonce_account: Pubkey
Fields of CreateNonceAccount
GetNonce(Pubkey)
Fields of NewNonce
nonce_account: Pubkey
Fields of WithdrawFromNonceAccount
Fields of Deploy
program_location: String
address: Option<SignerIndex>
use_deprecated_loader: bool
allow_excessive_balance: bool
Program(ProgramCliCommand)
Fields of CreateStakeAccount
stake_account: SignerIndex
seed: Option<String>
staker: Option<Pubkey>
withdrawer: Option<Pubkey>
lockup: Lockup
amount: SpendAmount
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
from: SignerIndex
Fields of DeactivateStake
stake_account_pubkey: Pubkey
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
Fields of DelegateStake
stake_account_pubkey: Pubkey
vote_account_pubkey: Pubkey
force: bool
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
Fields of SplitStake
stake_account_pubkey: Pubkey
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
split_stake_account: SignerIndex
seed: Option<String>
lamports: u64
fee_payer: SignerIndex
Fields of MergeStake
stake_account_pubkey: Pubkey
source_stake_account_pubkey: Pubkey
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
Fields of ShowStakeHistory
use_lamports_unit: bool
Fields of StakeAuthorize
stake_account_pubkey: Pubkey
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
custodian: Option<SignerIndex>
Fields of StakeSetLockup
stake_account_pubkey: Pubkey
lockup: LockupArgs
custodian: SignerIndex
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
Fields of WithdrawStake
stake_account_pubkey: Pubkey
destination_account_pubkey: Pubkey
lamports: u64
custodian: Option<SignerIndex>
sign_only: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
Fields of CreateVoteAccount
Fields of WithdrawFromVoteAccount
Fields of VoteAuthorize
vote_account_pubkey: Pubkey
Fields of VoteUpdateValidator
vote_account_pubkey: Pubkey
new_identity_account: SignerIndex
Confirm(Signature)
DecodeTransaction(Transaction)
Fields of Transfer
amount: SpendAmount
to: Pubkey
from: SignerIndex
sign_only: bool
no_wait: bool
blockhash_query: BlockhashQuery
nonce_account: Option<Pubkey>
fee_payer: SignerIndex
derived_address_seed: Option<String>
derived_address_program_id: Option<Pubkey>
Trait Implementations
impl Debug for CliCommand
[src][+]
impl PartialEq<CliCommand> for CliCommand
[src][+]
impl StructuralPartialEq for CliCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for CliCommand
impl Send for CliCommand
impl Sync for CliCommand
impl Unpin for CliCommand
impl UnwindSafe for CliCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,