Command-line Reference

The solana-cli crate provides a command-line interface tool for Solana

Examples

Get Pubkey

// Command
$ solana-keygen pubkey
// Return
<PUBKEY>

Airdrop SOL/Lamports

// Command
$ solana airdrop 2
// Return
"2.00000000 SOL"

Get Balance

// Command
$ solana balance
// Return
"3.00050001 SOL"

Confirm Transaction

// Command
$ solana confirm <TX_SIGNATURE>
// Return
"Confirmed" / "Not found" / "Transaction failed with error <ERR>"

Deploy program

// Command
$ solana deploy <PATH>
// Return
<PROGRAM_ID>

Unconditional Immediate Transfer

// Command
$ solana pay <PUBKEY> 123
// Return
<TX_SIGNATURE>

Post-Dated Transfer

// Command
$ solana pay <PUBKEY> 123 \
--after 2018-12-24T23:59:00 --require-timestamp-from <PUBKEY>
// Return
{signature: <TX_SIGNATURE>, processId: <PROCESS_ID>}

require-timestamp-from is optional. If not provided, the transaction will expect a timestamp signed by this wallet's private key

Authorized Transfer

A third party must send a signature to unlock the lamports.

// Command
$ solana pay <PUBKEY> 123 \
--require-signature-from <PUBKEY>
// Return
{signature: <TX_SIGNATURE>, processId: <PROCESS_ID>}

Post-Dated and Authorized Transfer

// Command
$ solana pay <PUBKEY> 123 \
--after 2018-12-24T23:59 --require-timestamp-from <PUBKEY> \
--require-signature-from <PUBKEY>
// Return
{signature: <TX_SIGNATURE>, processId: <PROCESS_ID>}

Multiple Witnesses

// Command
$ solana pay <PUBKEY> 123 \
--require-signature-from <PUBKEY> \
--require-signature-from <PUBKEY>
// Return
{signature: <TX_SIGNATURE>, processId: <PROCESS_ID>}

Cancelable Transfer

// Command
$ solana pay <PUBKEY> 123 \
--require-signature-from <PUBKEY> \
--cancelable
// Return
{signature: <TX_SIGNATURE>, processId: <PROCESS_ID>}

Cancel Transfer

// Command
$ solana cancel <PROCESS_ID>
// Return
<TX_SIGNATURE>

Send Signature

// Command
$ solana send-signature <PUBKEY> <PROCESS_ID>
// Return
<TX_SIGNATURE>

Indicate Elapsed Time

Use the current system time:

// Command
$ solana send-timestamp <PUBKEY> <PROCESS_ID>
// Return
<TX_SIGNATURE>

Or specify some other arbitrary timestamp:

// Command
$ solana send-timestamp <PUBKEY> <PROCESS_ID> --date 2018-12-24T23:59:00
// Return
<TX_SIGNATURE>

Usage

solana-cli

solana-cli 1.2.9 b9031585
Blockchain, Rebuilt for Scale
USAGE:
solana [FLAGS] [OPTIONS] <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
SUBCOMMANDS:
account Show the contents of an account
address Get your public key
airdrop Request lamports
authorize-nonce-account Assign account authority to a new entity
balance Get your balance
block-production Show information about block production
block-time Get estimated production time of a block
cancel Cancel a transfer
catchup Wait for a validator to catch up to the cluster
cluster-date Get current cluster date, computed from genesis creation time and network time
cluster-version Get the version of the cluster entrypoint
config Solana command-line tool configuration settings
confirm Confirm transaction by signature
create-address-with-seed Generate a derived account address with a seed
create-nonce-account Create a nonce account
create-stake-account Create a stake account
create-vote-account Create a vote account
deactivate-stake Deactivate the delegated stake from the stake account
decode-transaction Decode a base-58 binary transaction
delegate-stake Delegate stake to a vote account
deploy Deploy a program
epoch Get current epoch
epoch-info Get information about the current epoch
fees Display current cluster fees
genesis-hash Get the genesis hash
gossip Show the current gossip network nodes
help Prints this message or the help of the given subcommand(s)
largest-accounts Get addresses of largest cluster accounts
leader-schedule Display leader schedule
live-slots Show information about the current slot progression
merge-stake Merges one stake account into another
new-nonce Generate a new nonce, rendering the existing nonce useless
nonce Get the current nonce value
nonce-account Show the contents of a nonce account
pay Send a payment
ping Submit transactions sequentially
resolve-signer Checks that a signer is valid, and returns its specific path; useful for signers
that may be specified generally, eg. usb://ledger
send-signature Send a signature to authorize a transfer
send-timestamp Send a timestamp to unlock a transfer
slot Get current slot
split-stake Duplicate a stake account, splitting the tokens between the two
stake-account Show the contents of a stake account
stake-authorize Authorize a new signing keypair for the given stake account
stake-history Show the stake history
stake-set-lockup Set Lockup for the stake account
stakes Show stake account information
supply Get information about the cluster supply of SOL
transaction-count Get current transaction count
transaction-history Show historical transactions affecting the given address, ordered based on the
slot in which they were confirmed in from lowest to highest slot
transfer Transfer funds between system accounts
validator-info Publish/get Validator info on Solana
validators Show summary information about the current validators
vote-account Show the contents of a vote account
vote-authorize-voter Authorize a new vote signing keypair for the given vote account
vote-authorize-withdrawer Authorize a new withdraw signing keypair for the given vote account
vote-update-commission Update the vote account's commission
vote-update-validator Update the vote account's validator identity
withdraw-from-nonce-account Withdraw SOL from the nonce account
withdraw-from-vote-account Withdraw lamports from a vote account into a specified account
withdraw-stake Withdraw the unstaked SOL from the stake account

solana-account

solana-account
Show the contents of an account
USAGE:
solana account [FLAGS] [OPTIONS] <ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
-o, --output-file <FILEPATH> Write the account data to this file
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<ACCOUNT_ADDRESS> Account key URI. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-address

solana-address
Get your public key
USAGE:
solana address [FLAGS] [OPTIONS]
FLAGS:
--confirm-key Confirm key on device; only relevant if using remote wallet
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-airdrop

solana-airdrop
Request lamports
USAGE:
solana airdrop [FLAGS] [OPTIONS] <AMOUNT> [RECIPIENT_ADDRESS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--faucet-host <URL> Faucet host to use [default: the --url host]
--faucet-port <PORT_NUMBER> Faucet port to use [default: 9900]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<AMOUNT> The airdrop amount to request, in SOL
<RECIPIENT_ADDRESS> The account address of airdrop recipient. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-authorize-nonce-account

solana-authorize-nonce-account
Assign account authority to a new entity
USAGE:
solana authorize-nonce-account [FLAGS] [OPTIONS] <NONCE_ACCOUNT_ADDRESS> <AUTHORITY_PUBKEY>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<NONCE_ACCOUNT_ADDRESS> Address of the nonce account. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AUTHORITY_PUBKEY> Account to be granted authority of the nonce account. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-balance

solana-balance
Get your balance
USAGE:
solana balance [FLAGS] [OPTIONS] [ACCOUNT_ADDRESS]
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: max] [possible
values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<ACCOUNT_ADDRESS> The account address of the balance to check. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-block-production

solana-block-production
Show information about block production
USAGE:
solana block-production [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--epoch <epoch> Epoch to show block production for [default: current epoch]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--slot-limit <slot_limit> Limit results to this many slots from the end of the epoch [default: full epoch]
--ws <URL> WebSocket URL for the solana cluster

solana-block-time

solana-block-time
Get estimated production time of a block
USAGE:
solana block-time [FLAGS] [OPTIONS] [SLOT]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<SLOT> Slot number of the block to query

solana-cancel

solana-cancel
Cancel a transfer
USAGE:
solana cancel [FLAGS] [OPTIONS] <ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<ACCOUNT_ADDRESS> The account address of the transfer to cancel

solana-catchup

solana-catchup
Wait for a validator to catch up to the cluster
USAGE:
solana catchup [FLAGS] [OPTIONS] <VALIDATOR_PUBKEY> [URL]
FLAGS:
--follow Continue reporting progress even after the validator has caught up
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VALIDATOR_PUBKEY> Identity pubkey of the validator, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<URL> JSON RPC URL for validator, which is useful for validators with a private RPC service

solana-cluster-date

solana-cluster-date
Get current cluster date, computed from genesis creation time and network time
USAGE:
solana cluster-date [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-cluster-version

solana-cluster-version
Get the version of the cluster entrypoint
USAGE:
solana cluster-version [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-config

solana-config
Solana command-line tool configuration settings
USAGE:
solana config [FLAGS] [OPTIONS] <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
SUBCOMMANDS:
get Get current config settings
help Prints this message or the help of the given subcommand(s)
set Set a config setting

solana-confirm

solana-confirm
Confirm transaction by signature
USAGE:
solana confirm [FLAGS] [OPTIONS] <TRANSACTION_SIGNATURE>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<TRANSACTION_SIGNATURE> The transaction signature to confirm

solana-create-address-with-seed

solana-create-address-with-seed
Generate a derived account address with a seed
USAGE:
solana create-address-with-seed [FLAGS] [OPTIONS] <SEED_STRING> <PROGRAM_ID>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--from <FROM_PUBKEY> From (base) key, [default: cli config keypair]. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<SEED_STRING> The seed. Must not take more than 32 bytes to encode as utf-8
<PROGRAM_ID> The program_id that the address will ultimately be used for,
or one of NONCE, STAKE, and VOTE keywords

solana-create-nonce-account

solana-create-nonce-account
Create a nonce account
USAGE:
solana create-nonce-account [FLAGS] [OPTIONS] <ACCOUNT_KEYPAIR> <AMOUNT>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce-authority <PUBKEY> Assign noncing authority to another entity. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--seed <STRING> Seed for address generation; if specified, the resulting account will be at a
derived address of the NONCE_ACCOUNT pubkey
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<ACCOUNT_KEYPAIR> Keypair of the nonce account to fund
<AMOUNT> The amount to load the nonce account with, in SOL; accepts keyword ALL

solana-create-stake-account

solana-create-stake-account
Create a stake account
USAGE:
solana create-stake-account [FLAGS] [OPTIONS] <ACCOUNT_KEYPAIR> <AMOUNT>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--custodian <PUBKEY> Authority to modify lockups. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer
argument
is also passed. Defaults to the client keypair.
--from <KEYPAIR> Source account of funds [default: cli config keypair]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--lockup-date <RFC3339 DATETIME> The date and time at which this account will be available for withdrawal
--lockup-epoch <NUMBER> The epoch height at which this account will be available for withdrawal
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--seed <STRING> Seed for address generation; if specified, the resulting account will be at
a derived address of the stake_account pubkey
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--stake-authority <PUBKEY> Authorized staker [default: cli config keypair]
--ws <URL> WebSocket URL for the solana cluster
--withdraw-authority <PUBKEY> Authorized withdrawer [default: cli config keypair]
ARGS:
<ACCOUNT_KEYPAIR> Stake account to create (or base of derived address if --seed is used)
<AMOUNT> The amount to send to the stake account, in SOL; accepts keyword ALL

solana-create-vote-account

solana-create-vote-account
Create a vote account
USAGE:
solana create-vote-account [FLAGS] [OPTIONS] <ACCOUNT_KEYPAIR> <IDENTITY_KEYPAIR>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--authorized-voter <VOTER_PUBKEY>
Public key of the authorized voter [default: validator identity pubkey]. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--authorized-withdrawer <WITHDRAWER_PUBKEY>
Public key of the authorized withdrawer [default: validator identity pubkey]. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--commission <PERCENTAGE> The commission taken on reward redemption (0-100) [default: 100]
-C, --config <FILEPATH>
Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT>
Return information in specified output format [possible values: json, json-compact]
--seed <STRING>
Seed for address generation; if specified, the resulting account will be at a derived address of the VOTE
ACCOUNT pubkey
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<ACCOUNT_KEYPAIR> Vote account keypair to create
<IDENTITY_KEYPAIR> Keypair of validator that will vote with this account

solana-deactivate-stake

solana-deactivate-stake
Deactivate the delegated stake from the stake account
USAGE:
solana deactivate-stake [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--stake-authority <KEYPAIR> Authorized staker [default: cli config keypair]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account to be deactivated. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-decode-transaction

solana-decode-transaction
Decode a base-58 binary transaction
USAGE:
solana decode-transaction [FLAGS] [OPTIONS] <BASE58_TRANSACTION>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<BASE58_TRANSACTION> The transaction to decode

solana-delegate-stake

solana-delegate-stake
Delegate stake to a vote account
USAGE:
solana delegate-stake [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS> <VOTE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--stake-authority <KEYPAIR> Authorized staker [default: cli config keypair]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account to delegate, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<VOTE_ACCOUNT_ADDRESS> The vote account to which the stake will be delegated, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-deploy

solana-deploy
Deploy a program
USAGE:
solana deploy [FLAGS] [OPTIONS] <PROGRAM_FILEPATH>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<PROGRAM_FILEPATH> /path/to/program.o

solana-epoch

solana-epoch
Get current epoch
USAGE:
solana epoch [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-epoch-info

solana-epoch-info
Get information about the current epoch
USAGE:
solana epoch-info [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-fees

solana-fees
Display current cluster fees
USAGE:
solana fees [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-genesis-hash

solana-genesis-hash
Get the genesis hash
USAGE:
solana genesis-hash [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-gossip

solana-gossip
Show the current gossip network nodes
USAGE:
solana gossip [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-help

solana-help
Prints this message or the help of the given subcommand(s)
USAGE:
solana help [subcommand]...
ARGS:
<subcommand>... The subcommand whose help message to display

solana-largest-accounts

solana-largest-accounts
Get addresses of largest cluster accounts
USAGE:
solana largest-accounts [FLAGS] [OPTIONS]
FLAGS:
--circulating Filter address list to only circulating accounts
-h, --help Prints help information
--non-circulating Filter address list to only non-circulating accounts
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-leader-schedule

solana-leader-schedule
Display leader schedule
USAGE:
solana leader-schedule [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-live-slots

solana-live-slots
Show information about the current slot progression
USAGE:
solana live-slots [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-merge-stake

solana-merge-stake
Merges one stake account into another
USAGE:
solana merge-stake [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS> <SOURCE_STAKE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--stake-authority <KEYPAIR> Authorized staker [default: cli config keypair]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account to merge into, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<SOURCE_STAKE_ACCOUNT_ADDRESS> Source stake account for the merge. If successful, this stake account will no
longer exist after the merge, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-new-nonce

solana-new-nonce
Generate a new nonce, rendering the existing nonce useless
USAGE:
solana new-nonce [FLAGS] [OPTIONS] <NONCE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<NONCE_ACCOUNT_ADDRESS> Address of the nonce account. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-nonce

solana-nonce
Get the current nonce value
USAGE:
solana nonce [FLAGS] [OPTIONS] <NONCE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<NONCE_ACCOUNT_ADDRESS> Address of the nonce account to display. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-nonce-account

solana-nonce-account
Show the contents of a nonce account
USAGE:
solana nonce-account [FLAGS] [OPTIONS] <NONCE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<NONCE_ACCOUNT_ADDRESS> Address of the nonce account to display. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-pay

solana-pay
Send a payment
USAGE:
solana pay [FLAGS] [OPTIONS] <RECIPIENT_ADDRESS> <AMOUNT>
FLAGS:
--cancelable
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced
transaction
--output <FORMAT> Return information in specified output format [possible values: json,
json-compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--after <DATETIME> A timestamp after which transaction will execute
--require-timestamp-from <PUBKEY> Require timestamp from this third party
--ws <URL> WebSocket URL for the solana cluster
--require-signature-from <PUBKEY>... Any third party signatures required to unlock the lamports
ARGS:
<RECIPIENT_ADDRESS> The account address of recipient. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AMOUNT> The amount to send, in SOL; accepts keyword ALL

solana-ping

solana-ping
Submit transactions sequentially
USAGE:
solana ping [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-c, --count <NUMBER> Stop after submitting count transactions
-i, --interval <SECONDS> Wait interval seconds between submitting the next transaction [default: 2]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--lamports <NUMBER> Number of lamports to transfer for each transaction [default: 1]
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
-t, --timeout <SECONDS> Wait up to timeout seconds for transaction confirmation [default: 15]
--ws <URL> WebSocket URL for the solana cluster

solana-resolve-signer

solana-resolve-signer
Checks that a signer is valid, and returns its specific path; useful for signers that may be specified generally, eg.
usb://ledger
USAGE:
solana resolve-signer [FLAGS] [OPTIONS] <SIGNER_KEYPAIR>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<SIGNER_KEYPAIR> The signer path to resolve

solana-send-signature

solana-send-signature
Send a signature to authorize a transfer
USAGE:
solana send-signature [FLAGS] [OPTIONS] <RECIPIENT_ADDRESS> <ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<RECIPIENT_ADDRESS> The account address of recipient. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<ACCOUNT_ADDRESS> The account address of the transfer to authorize

solana-send-timestamp

solana-send-timestamp
Send a timestamp to unlock a transfer
USAGE:
solana send-timestamp [FLAGS] [OPTIONS] <RECIPIENT_ADDRESS> <ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--date <DATETIME> Optional arbitrary timestamp to apply
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<RECIPIENT_ADDRESS> The account address of recipient. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<ACCOUNT_ADDRESS> The account address of the transfer to unlock

solana-slot

solana-slot
Get current slot
USAGE:
solana slot [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-split-stake

solana-split-stake
Duplicate a stake account, splitting the tokens between the two
USAGE:
solana split-stake [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS> <ACCOUNT_KEYPAIR> <AMOUNT>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--seed <STRING> Seed for address generation; if specified, the resulting account will be at a
derived address of the SPLIT STAKE ACCOUNT pubkey
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--stake-authority <KEYPAIR> Authorized staker [default: cli config keypair]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account to split (or base of derived address if --seed is used). , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<ACCOUNT_KEYPAIR> Keypair of the new stake account
<AMOUNT> The amount to move into the new stake account, in SOL

solana-stake-account

solana-stake-account
Show the contents of a stake account
USAGE:
solana stake-account [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<STAKE_ACCOUNT_ADDRESS> The stake account to display. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-stake-authorize

solana-stake-authorize
Authorize a new signing keypair for the given stake account
USAGE:
solana stake-authorize [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS> --new-stake-authority <PUBKEY> --new-withdraw-authority <PUBKEY>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer
argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--new-stake-authority <PUBKEY> New authorized staker, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--new-withdraw-authority <PUBKEY> New authorized withdrawer. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced
transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--stake-authority <KEYPAIR> Authorized staker [default: cli config keypair]
--ws <URL> WebSocket URL for the solana cluster
--withdraw-authority <KEYPAIR> Authorized withdrawer [default: cli config keypair]
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account in which to set a new authority. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-stake-history

solana-stake-history
Show the stake history
USAGE:
solana stake-history [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster

solana-stake-set-lockup

solana-stake-set-lockup
Set Lockup for the stake account
USAGE:
solana stake-set-lockup [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS> <--lockup-epoch <NUMBER>|--lockup-date <RFC3339 DATETIME>|--new-custodian <PUBKEY>>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--custodian <KEYPAIR> Keypair of the existing custodian [default: cli config pubkey]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer
argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--lockup-date <RFC3339 DATETIME> The date and time at which this account will be available for withdrawal
--lockup-epoch <NUMBER> The epoch height at which this account will be available for withdrawal
--new-custodian <PUBKEY> Identity of a new lockup custodian. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account for which to set lockup parameters. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-stakes

solana-stakes
Show stake account information
USAGE:
solana stakes [FLAGS] [OPTIONS] [VOTE_ACCOUNT_PUBKEYS]...
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_PUBKEYS>... Only show stake accounts delegated to the provided vote accounts. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-supply

solana-supply
Get information about the cluster supply of SOL
USAGE:
solana supply [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--print-accounts Print list of non-circualting account addresses
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-transaction-count

solana-transaction-count
Get current transaction count
USAGE:
solana transaction-count [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-transaction-history

solana-transaction-history
Show historical transactions affecting the given address, ordered based on the slot in which they were confirmed in from
lowest to highest slot
USAGE:
solana transaction-history [FLAGS] [OPTIONS] <ADDRESS> [SLOT]
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--limit <NUMBER OF SLOTS> Limit the search to this many slots
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<ADDRESS> Account address, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<SLOT> Slot to start from [default: latest slot at maximum commitment]

solana-transfer

solana-transfer
Transfer funds between system accounts
USAGE:
solana transfer [FLAGS] [OPTIONS] <RECIPIENT_ADDRESS> <AMOUNT>
FLAGS:
-h, --help Prints help information
--no-wait Return signature immediately after submitting the transaction, instead of
waiting for confirmations
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer argument
is also passed. Defaults to the client keypair.
--from <FROM_ADDRESS> Source account of funds (if different from client local account). , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<RECIPIENT_ADDRESS> The account address of recipient. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AMOUNT> The amount to send, in SOL; accepts keyword ALL

solana-validator-info

solana-validator-info
Publish/get Validator info on Solana
USAGE:
solana validator-info [FLAGS] [OPTIONS] <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
SUBCOMMANDS:
get Get and parse Solana Validator info
help Prints this message or the help of the given subcommand(s)
publish Publish Validator info on Solana

solana-validators

solana-validators
Show summary information about the current validators
USAGE:
solana validators [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster

solana-vote-account

solana-vote-account
Show the contents of a vote account
USAGE:
solana vote-account [FLAGS] [OPTIONS] <VOTE_ACCOUNT_ADDRESS>
FLAGS:
-h, --help Prints help information
--lamports Display balance in lamports instead of SOL
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--commitment <COMMITMENT_LEVEL> Return information at the selected commitment level [default: recent]
[possible values: recent, single, root, max]
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_ADDRESS> Vote account pubkey. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-vote-authorize-voter

solana-vote-authorize-voter
Authorize a new vote signing keypair for the given vote account
USAGE:
solana vote-authorize-voter [FLAGS] [OPTIONS] <VOTE_ACCOUNT_ADDRESS> <AUTHORIZED_KEYPAIR> <NEW_AUTHORIZED_PUBKEY>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_ADDRESS> Vote account in which to set the authorized voter. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AUTHORIZED_KEYPAIR> Current authorized vote signer.
<NEW_AUTHORIZED_PUBKEY> New authorized vote signer. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-vote-authorize-withdrawer

solana-vote-authorize-withdrawer
Authorize a new withdraw signing keypair for the given vote account
USAGE:
solana vote-authorize-withdrawer [FLAGS] [OPTIONS] <VOTE_ACCOUNT_ADDRESS> <AUTHORIZED_KEYPAIR> <AUTHORIZED_PUBKEY>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_ADDRESS> Vote account in which to set the authorized withdrawer. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AUTHORIZED_KEYPAIR> Current authorized withdrawer.
<AUTHORIZED_PUBKEY> New authorized withdrawer. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)

solana-vote-update-commission

solana-vote-update-commission
Update the vote account's commission
USAGE:
solana vote-update-commission [FLAGS] [OPTIONS] <VOTE_ACCOUNT_ADDRESS> <PERCENTAGE> <AUTHORIZED_KEYPAIR>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_ADDRESS> Vote account to update. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<PERCENTAGE> The new commission
<AUTHORIZED_KEYPAIR> Authorized withdrawer keypair

solana-vote-update-validator

solana-vote-update-validator
Update the vote account's validator identity
USAGE:
solana vote-update-validator [FLAGS] [OPTIONS] <VOTE_ACCOUNT_ADDRESS> <IDENTITY_KEYPAIR> <AUTHORIZED_KEYPAIR>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT> Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_ADDRESS> Vote account to update. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<IDENTITY_KEYPAIR> Keypair of new validator that will vote with this account
<AUTHORIZED_KEYPAIR> Authorized withdrawer keypair

solana-withdraw-from-nonce-account

solana-withdraw-from-nonce-account
Withdraw SOL from the nonce account
USAGE:
solana withdraw-from-nonce-account [FLAGS] [OPTIONS] <NONCE_ACCOUNT_ADDRESS> <RECIPIENT_ADDRESS> <AMOUNT>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<NONCE_ACCOUNT_ADDRESS> Nonce account to withdraw from. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<RECIPIENT_ADDRESS> The account to which the SOL should be transferred. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AMOUNT> The amount to withdraw from the nonce account, in SOL

solana-withdraw-from-vote-account

solana-withdraw-from-vote-account
Withdraw lamports from a vote account into a specified account
USAGE:
solana withdraw-from-vote-account [FLAGS] [OPTIONS] <VOTE_ACCOUNT_ADDRESS> <RECIPIENT_ADDRESS> <AMOUNT>
FLAGS:
-h, --help Prints help information
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--authorized-withdrawer <AUTHORIZED_KEYPAIR> Authorized withdrawer [default: cli config keypair]
-C, --config <FILEPATH>
Configuration file to use [default: ~/.config/solana/cli/config.yml]
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--output <FORMAT>
Return information in specified output format [possible values: json, json-compact]
--ws <URL> WebSocket URL for the solana cluster
ARGS:
<VOTE_ACCOUNT_ADDRESS> Vote account from which to withdraw. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<RECIPIENT_ADDRESS> The recipient of withdrawn SOL. , one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AMOUNT> The amount to withdraw, in SOL; accepts keyword ALL

solana-withdraw-stake

solana-withdraw-stake
Withdraw the unstaked SOL from the stake account
USAGE:
solana withdraw-stake [FLAGS] [OPTIONS] <STAKE_ACCOUNT_ADDRESS> <RECIPIENT_ADDRESS> <AMOUNT>
FLAGS:
-h, --help Prints help information
--sign-only Sign the transaction offline
--skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39
official English word list
-V, --version Prints version information
-v, --verbose Show additional information
OPTIONS:
--blockhash <BLOCKHASH> Use the supplied blockhash
-C, --config <FILEPATH> Configuration file to use [default: ~/.config/solana/cli/config.yml]
--custodian <KEYPAIR> Authority to override account lockup
--fee-payer <KEYPAIR> Specify the fee-payer account. This may be a keypair file, the ASK keyword
or the pubkey of an offline signer, provided an appropriate --signer argument
is also passed. Defaults to the client keypair.
-u, --url <URL> JSON RPC URL for the solana cluster
-k, --keypair <KEYPAIR> Filepath or URL to a keypair
--nonce <PUBKEY> Provide the nonce account to use when creating a nonced
transaction. Nonced transactions are useful when a transaction
requires a lengthy signing process. Learn more about nonced
transactions at https://docs.solana.com/offline-signing/durable-nonce
--nonce-authority <KEYPAIR> Provide the nonce authority keypair to use when signing a nonced transaction
--output <FORMAT> Return information in specified output format [possible values: json, json-
compact]
--signer <PUBKEY=SIGNATURE>... Provide a public-key/signature pair for the transaction
--ws <URL> WebSocket URL for the solana cluster
--withdraw-authority <KEYPAIR> Authorized withdrawer [default: cli config keypair]
ARGS:
<STAKE_ACCOUNT_ADDRESS> Stake account from which to withdraw, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<RECIPIENT_ADDRESS> Recipient of withdrawn SOL, one of:
* a base58-encoded public key
* a path to a keypair file
* a hyphen; signals a JSON-encoded keypair on stdin
* the 'ASK' keyword; to recover a keypair via its seed phrase
* a hardware wallet keypair URL (i.e. usb://ledger)
<AMOUNT> The amount to withdraw from the stake account, in SOL