Solana CLI 参考和使用

  • 想样
  • 发布于 2天前
  • 阅读 189

solana-cli包为Solana提供了命令行界面工具示例获取公钥//Command$solana-keygenpubkey//Return<PUBKEY>空投SOL/Lamports//Command$solanaairdrop1//Re

<!--StartFragment-->

solana -cli 包为 Solana 提供了命令行界面工具

示例

获取公钥

// Command
$ solana-keygen pubkey

// Return
&lt;PUBKEY>

空投 SOL/ Lamports

// Command
$ solana airdrop 1

// Return
"1 SOL"

获得平衡

// Command
$ solana balance

// Return
"3.00050001 SOL"

确认交易

// Command
$ solana confirm &lt;TX_SIGNATURE>

// Return
"Confirmed" / "Not found" / "Transaction failed with error &lt;ERR>"

部署程序

// Command
$ solana program deploy &lt;PATH>

// Return
&lt;PROGRAM_ID>

使用方法

solana- cli

solana-cli 2.2.1 (src:ab3bb80c; feat:3294202862, client:Agave)
Blockchain, Rebuilt for Scale

USAGE:
    solana [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    account                              Show the contents of an account
    address                              Get your public key
    address-lookup-table                 Address lookup table management
    airdrop                              Request SOL from a faucet
    authorize-nonce-account              Assign account authority to a new entity
    balance                              Get your balance
    block                                Get a confirmed block
    block-height                         Get current block height
    block-production                     Show information about block production
    block-time                           Get estimated production time of a block
    catchup                              Wait for a validator to catch up to the cluster
    close-vote-account                   Close a vote account and withdraw all funds remaining
    cluster-date                         Get current cluster date, computed from genesis creation time and network
                                         time
    cluster-version                      Get the version of the cluster entrypoint
    completion                           Generate completion scripts for various shells
    config                               Solana command-line tool configuration settings
    confirm                              Confirm transaction by signature
    create-address-with-seed             Generate a derived account address with a seed. For program derived
                                         addresses (PDAs), use the find-program-derived-address command instead
    create-nonce-account                 Create a nonce account
    create-stake-account                 Create a stake account
    create-stake-account-checked         Create a stake account, checking the withdraw authority as a signer
    create-vote-account                  Create a vote account
    deactivate-stake                     Deactivate the delegated stake from the stake account
    decode-transaction                   Decode a serialized transaction
    delegate-stake                       Delegate stake to a vote account
    epoch                                Get current epoch
    epoch-info                           Get information about the current epoch
    feature                              Runtime feature management
    find-program-derived-address         Generate a program derived account address with a seed
    first-available-block                Get the first available block in the storage
    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)
    inflation                            Show inflation information
    largest-accounts                     Get addresses of largest cluster accounts
    leader-schedule                      Display leader schedule
    live-slots                           Show information about the current slot progression
    logs                                 Stream transaction logs
    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
    ping                                 Submit transactions sequentially
    program                              Program management
    program-v4                           Program V4 management
    recent-prioritization-fees           Get recent prioritization fees
    rent                                 Calculate rent-exempt-minimum value for a given account data field length.
    resolve-signer                       Checks that a signer is valid, and returns its specific path; useful for
                                         signers that may be specified generally, eg. usb:~~ledger
    sign-offchain-message                Sign off-chain message
    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-authorize-checked              Authorize a new signing keypair for the given stake account, checking the
                                         authority as a signer
    stake-history                        Show the stake history
    stake-minimum-delegation             Get the stake minimum delegation amount
    stake-set-lockup                     Set Lockup for the stake account
    stake-set-lockup-checked             Set Lockup for the stake account, checking the new authority as a signer
    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 from newest to
                                         oldest
    transfer                             Transfer funds between system accounts
    upgrade-nonce-account                One-time idempotent upgrade of legacy nonce versions in order to bump them
                                         out of chain blockhash domain.
    validator-info                       Publish~get Validator info on Solana
    validators                           Show summary information about the current validators
    verify-offchain-signature            Verify off-chain message signature
    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-voter-checked         Authorize a new vote signing keypair for the given vote account, checking
                                         the new authority as a signer
    vote-authorize-withdrawer            Authorize a new withdraw signing keypair for the given vote account
    vote-authorize-withdrawer-checked    Authorize a new withdraw signing keypair for the given vote account,
                                         checking the new authority as a signer
    vote-update-commission               Update the vote account's commission
    vote-update-validator                Update the vote account's validator identity
    wait-for-max-stake                   Wait for the max stake of any one node to drop below a percentage of total.
    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账户

solana-account
Show the contents of an account

USAGE:
    solana account [FLAGS] [OPTIONS] &lt;ACCOUNT_ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --lamports                       Display balance in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
    -o, --output-file &lt;FILEPATH>           Write the account data to this file
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;ACCOUNT_ADDRESS>    Account contents to show. Address is 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地址

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
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana 地址查找表

solana-address-lookup-table
Address lookup table management

USAGE:
    solana address-lookup-table [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    close         Permanently closes a lookup table
    create        Create a lookup table
    deactivate    Permanently deactivates a lookup table
    extend        Append more addresses to a lookup table
    freeze        Permanently freezes a lookup table
    get           Display information about a lookup table
    help          Prints this message or the help of the given subcommand(s)

solana-空投

solana-airdrop
Request SOL from a faucet

USAGE:
    solana airdrop [FLAGS] [OPTIONS] &lt;AMOUNT> [RECIPIENT_ADDRESS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;AMOUNT>               The airdrop amount to request, in SOL
    &lt;RECIPIENT_ADDRESS>    Account of airdrop recipient. Address is 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-authorize-nonce-account
Assign account authority to a new entity

USAGE:
    solana authorize-nonce-account [FLAGS] [OPTIONS] &lt;NONCE_ACCOUNT_ADDRESS> &lt;AUTHORITY_PUBKEY>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;NONCE_ACCOUNT_ADDRESS>    Nonce account. Address is 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)
    &lt;AUTHORITY_PUBKEY>         Account to be granted authority of the nonce account. Address is 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
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;ACCOUNT_ADDRESS>    Account balance to check. Address is 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区块

solana-block
Get a confirmed block

USAGE:
    solana block [FLAGS] [OPTIONS] [SLOT]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;SLOT>

solana 区块高度

solana-block-height
Get current block height

USAGE:
    solana block-height [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana 区块生产

solana-block-production
Show information about block production

USAGE:
    solana block-production [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
        --epoch &lt;epoch>                    Epoch to show block production for [default: current epoch]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --slot-limit &lt;slot_limit>          Limit results to this many slots from the end of the epoch [default: full
                                           epoch]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana 区块时间

solana-block-time
Get estimated production time of a block

USAGE:
    solana block-time [FLAGS] [OPTIONS] [SLOT]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;SLOT>    Slot number of the block to query

solana- catchup

solana-catchup
Wait for a validator to catch up to the cluster

USAGE:
    solana catchup [FLAGS] [OPTIONS] [ARGS]

FLAGS:
        --follow                         Continue reporting progress even after the validator has caught up
    -h, --help                           Prints help information
        --log                            Don't update the progress inplace; instead show updates with its own new lines
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --our-localhost &lt;PORT>             Guess Identity pubkey and validator rpc node assuming local (possibly
                                           private) validator [default: 8899]
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;OUR_VALIDATOR_PUBKEY>    Identity of the validator. Address is 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)
    &lt;OUR_URL>                 JSON RPC URL for validator, which is useful for validators with a private RPC service

solana-关闭投票账户

solana-close-vote-account
Close a vote account and withdraw all funds remaining

USAGE:
    solana close-vote-account [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;RECIPIENT_ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --authorized-withdrawer &lt;AUTHORIZED_KEYPAIR>      Authorized withdrawer [default: cli config keypair]
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>    Vote account to be closed. Address is 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)
    &lt;RECIPIENT_ADDRESS>       The recipient of all withdrawn SOL. Address is 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 集群日期

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
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana 集群版本

solana-cluster-version
Get the version of the cluster entrypoint

USAGE:
    solana cluster-version [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana完成

solana-completion
Generate completion scripts for various shells

USAGE:
    solana completion [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
    -s, --shell &lt;shell>                     [default: bash]  [possible values: bash, fish, zsh, powershell, elvish]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-配置

solana-config
Solana command-line tool configuration settings

USAGE:
    solana config [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    export-address-labels    Export the current address labels
    get                      Get current config settings
    help                     Prints this message or the help of the given subcommand(s)
    import-address-labels    Import a list of address labels
    set                      Set a config setting

solana-确认

solana-confirm
Confirm transaction by signature

USAGE:
    solana confirm [FLAGS] [OPTIONS] &lt;TRANSACTION_SIGNATURE>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;TRANSACTION_SIGNATURE>    The transaction signature to confirm

Note: This will show more detailed information for finalized transactions with verbose mode (-v~--verbose).

Account modes:
  |srwx|
    s: signed
    r: readable (always true)
    w: writable
    x: program account (inner instructions excluded)

solana-创建带种子

solana-create-address-with-seed
Generate a derived account address with a seed. For program derived addresses (PDAs), use the find-program-derived-
address command instead

USAGE:
    solana create-address-with-seed [FLAGS] [OPTIONS] &lt;SEED_STRING> &lt;PROGRAM_ID>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
        --from &lt;FROM_PUBKEY>               From (base) key, [default: cli config keypair]. Address is 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 &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;SEED_STRING>    The seed.  Must not take more than 32 bytes to encode as utf-8
    &lt;PROGRAM_ID>     The program_id that the address will ultimately be used for,
                     or one of NONCE, STAKE, and VOTE keywords

solana-创建-nonce-账户

solana-create-nonce-account
Create a nonce account

USAGE:
    solana create-nonce-account [FLAGS] [OPTIONS] &lt;ACCOUNT_KEYPAIR> &lt;AMOUNT>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce-authority &lt;PUBKEY>
            Assign noncing authority to this other entity. Address is 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 &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of the
            NONCE_ACCOUNT pubkey
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;ACCOUNT_KEYPAIR>    Keypair of the nonce account to fund
    &lt;AMOUNT>             The amount to load the nonce account with, in SOL; accepts keyword ALL

solana-创建权益账户

solana-create-stake-account
Create a stake account

USAGE:
    solana create-stake-account [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_KEYPAIR> &lt;AMOUNT>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --custodian &lt;PUBKEY>
            Authority to modify lockups. Address is 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 &lt;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 &lt;KEYPAIR>                                  Source account of funds [default: cli config keypair]
    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --lockup-date &lt;RFC3339 DATETIME>
            The date and time at which this account will be available for withdrawal

        --lockup-epoch &lt;NUMBER>
            The epoch height at which this account will be available for withdrawal

        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of the
            STAKE_ACCOUNT_KEYPAIR pubkey
        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;PUBKEY>                        Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster
        --withdraw-authority &lt;PUBKEY>                     Authorized withdrawer [default: cli config keypair]

ARGS:
    &lt;STAKE_ACCOUNT_KEYPAIR>    Stake account to create (or base of derived address if --seed is used)
    &lt;AMOUNT>                   The amount to send to the stake account, in SOL; accepts keyword ALL

solana-创建-权益账户-已检查

solana-create-stake-account-checked
Create a stake account, checking the withdraw authority as a signer

USAGE:
    solana create-stake-account-checked [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_KEYPAIR> &lt;AMOUNT>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;KEYPAIR>                                  Source account of funds [default: cli config keypair]
    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of the
            STAKE_ACCOUNT_KEYPAIR pubkey
        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;PUBKEY>                        Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster
        --withdraw-authority &lt;KEYPAIR>                    Authorized withdrawer [default: cli config keypair]

ARGS:
    &lt;STAKE_ACCOUNT_KEYPAIR>    Stake account to create (or base of derived address if --seed is used)
    &lt;AMOUNT>                   The amount to send to the stake account, in SOL; accepts keyword ALL

solana-创建投票账户

solana-create-vote-account
Create a vote account

USAGE:
    solana create-vote-account [FLAGS] [OPTIONS] &lt;ACCOUNT_KEYPAIR> &lt;IDENTITY_KEYPAIR> &lt;WITHDRAWER_PUBKEY>

FLAGS:
        --allow-unsafe-authorized-withdrawer    Allow an authorized withdrawer pubkey to be identical to the validator
                                                identity account pubkey or vote account pubkey, which is normally an
                                                unsafe configuration and should be avoided.
        --dump-transaction-message              Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                                  Prints help information
        --no-address-labels                     Do not use address labels in the output
        --sign-only                             Sign the transaction offline
        --skip-preflight                        Skip the preflight check when sending transactions
        --skip-seed-phrase-validation           Skip validation of seed phrases. Use this if your phrase does not use
                                                the BIP39 official English word list
        --use-quic                              Use QUIC when sending transactions.
        --use-tpu-client                        Use TPU client when sending transactions.
        --use-udp                               Use UDP when sending transactions.
    -V, --version                               Prints version information
    -v, --verbose                               Show additional information

OPTIONS:
        --authorized-voter &lt;VOTER_PUBKEY>
            Authorized voter [default: validator identity pubkey]. Address is 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)
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commission &lt;PERCENTAGE>
            The commission taken on reward redemption (0-100) [default: 100]

        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of the VOTE
            ACCOUNT pubkey
        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;ACCOUNT_KEYPAIR>      Vote account keypair to create
    &lt;IDENTITY_KEYPAIR>     Keypair of validator that will vote with this account
    &lt;WITHDRAWER_PUBKEY>    Authorized withdrawer. Address is 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-停用-权益

solana-deactivate-stake
Deactivate the delegated stake from the stake account

USAGE:
    solana deactivate-stake [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS>

FLAGS:
        --delinquent                     Deactivate abandoned stake that is currently delegated to a delinquent vote
                                         account
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of
            STAKE_ACCOUNT_ADDRESS
        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;KEYPAIR>                       Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account to be deactivated (or base of derived address if --seed is used).
                               Address is 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-解码交易

solana-decode-transaction
Decode a serialized transaction

USAGE:
    solana decode-transaction [FLAGS] [OPTIONS] &lt;TRANSACTION> &lt;ENCODING>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;TRANSACTION>    transaction to decode
    &lt;ENCODING>       transaction encoding [default: base58]  [possible values: base58, base64]

solana-委托权益

solana-delegate-stake
Delegate stake to a vote account

USAGE:
    solana delegate-stake [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> &lt;VOTE_ACCOUNT_ADDRESS>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;KEYPAIR>                       Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account to delegate. Address is 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)
    &lt;VOTE_ACCOUNT_ADDRESS>     Vote account to which the stake will be delegated. Address is 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-epoch
Get current epoch

USAGE:
    solana epoch [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;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
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana功能

solana-feature
Runtime feature management

USAGE:
    solana feature [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    activate    Activate a runtime feature
    help        Prints this message or the help of the given subcommand(s)
    revoke      Revoke a pending runtime feature
    status      Query runtime feature status

solana-find-程序派生地址

solana-find-program-derived-address
Generate a program derived account address with a seed

USAGE:
    solana find-program-derived-address [FLAGS] [OPTIONS] &lt;PROGRAM_ID> [SEED]...

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;PROGRAM_ID>    The program_id that the address will ultimately be used for,
                    or one of NONCE, STAKE, and VOTE keywords
    &lt;SEED>...       The seeds.
                    Each one must match the pattern PREFIX:VALUE.
                    PREFIX can be one of [string, pubkey, hex, u8]
                    or matches the pattern [u,i][16,32,64,128][le,be] (for example u64le) for number values
                    [u,i] - represents whether the number is unsigned or signed,
                    [16,32,64,128] - represents the bit length, and
                    [le,be] - represents the byte order - little endian or big endian

solana-第一个可用区块

solana-first-available-block
Get the first available block in the storage

USAGE:
    solana first-available-block [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;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
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

索拉纳八卦

solana-gossip
Show the current gossip network nodes

USAGE:
    solana gossip [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-帮助

solana-help
Prints this message or the help of the given subcommand(s)

USAGE:
    solana help [subcommand]...

ARGS:
    &lt;subcommand>...    The subcommand whose help message to display

solana通货膨胀

solana-inflation
Show inflation information

USAGE:
    solana inflation [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    help       Prints this message or the help of the given subcommand(s)
    rewards    Show inflation rewards for a set of addresses

solana-最大账户

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
        --no-address-labels              Do not use address labels in the output
        --non-circulating                Filter address list to only non-circulating accounts
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-leader-时间表

solana-leader-schedule
Display leader schedule

USAGE:
    solana leader-schedule [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
        --epoch &lt;EPOCH>                    Epoch to show leader schedule for [default: current]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-直播老虎机

solana-live-slots
Show information about the current slot progression

USAGE:
    solana live-slots [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana- logs

solana-logs
Stream transaction logs

USAGE:
    solana logs [FLAGS] [OPTIONS] [ADDRESS]

FLAGS:
    -h, --help                           Prints help information
        --include-votes                  Include vote transactions when monitoring all transactions
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;ADDRESS>    Account to monitor [default: monitor all transactions except for votes]. Address is 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-合并-权益

solana-merge-stake
Merges one stake account into another

USAGE:
    solana merge-stake [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> &lt;SOURCE_STAKE_ACCOUNT_ADDRESS>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;KEYPAIR>                       Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>           Stake account to merge into. Address is 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)
    &lt;SOURCE_STAKE_ACCOUNT_ADDRESS>    Source stake account for the merge. If successful, this stake account will no
                                      longer exist after the merge. Address is 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] &lt;NONCE_ACCOUNT_ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;NONCE_ACCOUNT_ADDRESS>    Nonce account. Address is 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] &lt;NONCE_ACCOUNT_ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;NONCE_ACCOUNT_ADDRESS>    Nonce account to display. Address is 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-account
Show the contents of a nonce account

USAGE:
    solana nonce-account [FLAGS] [OPTIONS] &lt;NONCE_ACCOUNT_ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --lamports                       Display balance in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;NONCE_ACCOUNT_ADDRESS>    Nonce account to display. Address is 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-ping
Submit transactions sequentially

USAGE:
    solana ping [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
    -D, --print-timestamp                Print timestamp (unix time + microseconds as in gettimeofday) before each line
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

    -c, --count &lt;NUMBER>                                  Stop after submitting count transactions
    -i, --interval &lt;SECONDS>
            Wait interval seconds between submitting the next transaction [default: 2]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

    -t, --timeout &lt;SECONDS>
            Wait up to timeout seconds for transaction confirmation [default: 15]

        --ws &lt;URL>                                        WebSocket URL for the solana cluster

solana计划

solana-program
Program management

USAGE:
    solana program [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    close                    Close a program or buffer account and withdraw all lamports
    deploy                   Deploy an upgradeable program
    dump                     Write the program data to a file
    extend                   Extend the length of an upgradeable program to deploy larger programs
    help                     Prints this message or the help of the given subcommand(s)
    set-buffer-authority     Set a new buffer authority
    set-upgrade-authority    Set a new program authority
    show                     Display information about a buffer or program
    upgrade                  Upgrade an upgradeable program
    write-buffer             Writes a program into a buffer account

solana-program- v4

solana-program-v4
Program V4 management

USAGE:
    solana program-v4 [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

SUBCOMMANDS:
    close                 Close a program and delete the account
    deploy                Deploy a new or redeploy an existing program
    dump                  Write the program data to a file
    finalize              Finalize a program to make it immutable
    help                  Prints this message or the help of the given subcommand(s)
    show                  Display information about a buffer or program
    transfer-authority    Transfer the authority of a program to a different address

solana 近期优先费用

solana-recent-prioritization-fees
Get recent prioritization fees

USAGE:
    solana recent-prioritization-fees [FLAGS] [OPTIONS] [ACCOUNTS]...

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --limit-num-slots &lt;SLOTS>          Limit the number of slots to the last &lt;N> slots
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;ACCOUNTS>...    A list of accounts which if provided the fee response will representthe fee to land a
                     transaction with those accounts as writable

solana租金

solana-rent
Calculate rent-exempt-minimum value for a given account data field length.

USAGE:
    solana rent [FLAGS] [OPTIONS] &lt;DATA_LENGTH_OR_MONIKER>

FLAGS:
    -h, --help                           Prints help information
        --lamports                       Display rent in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;DATA_LENGTH_OR_MONIKER>    Length of data field in the account to calculate rent for, or moniker: [nonce,
                                stake, system, vote]

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] &lt;SIGNER_KEYPAIR>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;SIGNER_KEYPAIR>    The signer path to resolve

solana-sign-链下消息

solana-sign-offchain-message
Sign off-chain message

USAGE:
    solana sign-offchain-message [FLAGS] [OPTIONS] &lt;STRING>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --version &lt;VERSION>                The off-chain message version [default: 0]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;STRING>    The message text to be signed

solana插槽

solana-slot
Get current slot

USAGE:
    solana slot [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-分割桩

solana-split-stake
Duplicate a stake account, splitting the tokens between the two

USAGE:
    solana split-stake [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> &lt;SPLIT_STAKE_ACCOUNT> &lt;AMOUNT>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --rent-exempt-reserve-sol &lt;AMOUNT>
            Offline signing only: the rent-exempt amount to move into the new stake account, in SOL

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of
            SPLIT_STAKE_ACCOUNT
        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;KEYPAIR>                       Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account to split (or base of derived address if --seed is used). Address is 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)
    &lt;SPLIT_STAKE_ACCOUNT>      Keypair of the new stake account
    &lt;AMOUNT>                   The amount to move into the new stake account, in SOL

solana-权益账户

solana-stake-account
Show the contents of a stake account

USAGE:
    solana stake-account [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS>

FLAGS:
        --csv                            Format stake rewards data in csv
    -h, --help                           Prints help information
        --lamports                       Display balance in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information
        --with-rewards                   Display inflation rewards

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --num-rewards-epochs &lt;NUM>         Display rewards for NUM recent epochs, max 10 [default: latest epoch only]
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --starting-epoch &lt;NUM>             Start displaying from epoch NUM
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account to display. Address is 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-权益授权

solana-stake-authorize
Authorize a new signing keypair for the given stake account

USAGE:
    solana stake-authorize [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> --new-stake-authority &lt;PUBKEY> --new-withdraw-authority &lt;PUBKEY>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --no-wait                        Return signature immediately after submitting the transaction, instead of
                                         waiting for confirmations
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --custodian &lt;KEYPAIR>                             Authority to override account lockup
        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --new-stake-authority &lt;PUBKEY>
            New authorized staker. Address is 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 &lt;PUBKEY>
            New authorized withdrawer. Address is 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 &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;KEYPAIR>                       Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster
        --withdraw-authority &lt;KEYPAIR>                    Authorized withdrawer [default: cli config keypair]

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account in which to set a new authority. Address is 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- checked

solana-stake-authorize-checked
Authorize a new signing keypair for the given stake account, checking the authority as a signer

USAGE:
    solana stake-authorize-checked [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> --new-stake-authority &lt;KEYPAIR> --new-withdraw-authority &lt;KEYPAIR>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --no-wait                        Return signature immediately after submitting the transaction, instead of
                                         waiting for confirmations
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --custodian &lt;KEYPAIR>                             Authority to override account lockup
        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --new-stake-authority &lt;KEYPAIR>                   New authorized staker
        --new-withdraw-authority &lt;KEYPAIR>                New authorized withdrawer
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --stake-authority &lt;KEYPAIR>                       Authorized staker [default: cli config keypair]
        --ws &lt;URL>                                        WebSocket URL for the solana cluster
        --withdraw-authority &lt;KEYPAIR>                    Authorized withdrawer [default: cli config keypair]

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account in which to set a new authority. Address is 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-权益历史

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
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --limit &lt;NUM>                      Display NUM recent epochs worth of stake history in text mode. 0 for all
                                           [default: 10]
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-权益-最低委托

solana-stake-minimum-delegation
Get the stake minimum delegation amount

USAGE:
    solana stake-minimum-delegation [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --lamports                       Display minimum delegation in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-权益设置锁定

solana-stake-set-lockup
Set Lockup for the stake account

USAGE:
    solana stake-set-lockup [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> &lt;--lockup-epoch &lt;NUMBER>|--lockup-date &lt;RFC3339 DATETIME>|--new-custodian &lt;PUBKEY>>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --custodian &lt;KEYPAIR>                             Keypair of the existing custodian [default: cli config pubkey]
        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --lockup-date &lt;RFC3339 DATETIME>
            The date and time at which this account will be available for withdrawal

        --lockup-epoch &lt;NUMBER>
            The epoch height at which this account will be available for withdrawal

        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --new-custodian &lt;PUBKEY>
            New lockup custodian. Address is 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 &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account for which to set lockup parameters. Address is 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-权益设置锁定已检查

solana-stake-set-lockup-checked
Set Lockup for the stake account, checking the new authority as a signer

USAGE:
    solana stake-set-lockup-checked [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> &lt;--lockup-epoch &lt;NUMBER>|--lockup-date &lt;RFC3339 DATETIME>|--new-custodian &lt;KEYPAIR>>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --custodian &lt;KEYPAIR>                             Keypair of the existing custodian [default: cli config pubkey]
        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --lockup-date &lt;RFC3339 DATETIME>
            The date and time at which this account will be available for withdrawal

        --lockup-epoch &lt;NUMBER>
            The epoch height at which this account will be available for withdrawal

        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --new-custodian &lt;KEYPAIR>                         Keypair of a new lockup custodian
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account for which to set lockup parameters. Address is 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股权

solana-stakes
Show stake account information

USAGE:
    solana stakes [FLAGS] [OPTIONS] [VALIDATOR_ACCOUNT_PUBKEYS]...

FLAGS:
    -h, --help                           Prints help information
        --lamports                       Display balance in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster
        --withdraw-authority &lt;PUBKEY>      Only show stake accounts with the provided withdraw authority. Address is 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)

ARGS:
    &lt;VALIDATOR_ACCOUNT_PUBKEYS>...    Only show stake accounts delegated to the provided pubkeys. Accepts both vote
                                      and identity pubkeys. Address is 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供应

solana-supply
Get information about the cluster supply of SOL

USAGE:
    solana supply [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --print-accounts                 Print list of non-circulating account addresses
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana 交易计数

solana-transaction-count
Get current transaction count

USAGE:
    solana transaction-count [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

solana-交易历史

solana-transaction-history
Show historical transactions affecting the given address from newest to oldest

USAGE:
    solana transaction-history [FLAGS] [OPTIONS] &lt;ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --show-transactions              Display the full transactions
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --before &lt;TRANSACTION_SIGNATURE>    Start with the first signature older than this one
        --commitment &lt;COMMITMENT_LEVEL>     Return information at the selected commitment level [possible values:
                                            processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                 Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>              URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                            testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                 Filepath or URL to a keypair
        --limit &lt;LIMIT>                     Maximum number of transaction signatures to return [default: 1000]
        --output &lt;FORMAT>                   Return information in specified output format [possible values: json, json-
                                            compact]
        --until &lt;TRANSACTION_SIGNATURE>     List until this transaction signature, if found before limit reached
        --ws &lt;URL>                          WebSocket URL for the solana cluster

ARGS:
    &lt;ADDRESS>    Account to query for transactions. Address is 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转移

solana-transfer
Transfer funds between system accounts

USAGE:
    solana transfer [FLAGS] [OPTIONS] &lt;RECIPIENT_ADDRESS> &lt;AMOUNT>

FLAGS:
        --allow-unfunded-recipient       Complete the transfer even if the recipient address is not funded
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --no-wait                        Return signature immediately after submitting the transaction, instead of
                                         waiting for confirmations
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;FROM_ADDRESS>
            Source account of funds [default: cli config keypair]. Address is 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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;RECIPIENT_ADDRESS>    Account of recipient. Address is 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)
    &lt;AMOUNT>               The amount to send, in SOL; accepts keyword ALL

solana-升级-nonce-帐户

solana-upgrade-nonce-account
One-time idempotent upgrade of legacy nonce versions in order to bump them out of chain blockhash domain.

USAGE:
    solana upgrade-nonce-account [FLAGS] [OPTIONS] &lt;NONCE_ACCOUNT_ADDRESS>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;NONCE_ACCOUNT_ADDRESS>    Nonce account to upgrade. Address is 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-验证器信息

solana-validator-info
Publish~get Validator info on Solana

USAGE:
    solana validator-info [FLAGS] [OPTIONS] &lt;SUBCOMMAND>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;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-验证器

solana-validators
Show summary information about the current validators

USAGE:
    solana validators [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                           Prints help information
        --keep-unstaked-delinquents      Don't discard unstaked, delinquent validators
        --lamports                       Display balance in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
    -n, --number                         Number the validators
    -r, --reverse                        Reverse order while sorting
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --delinquent-slot-distance &lt;SLOT_DISTANCE>
            Minimum slot distance from the tip to consider a validator delinquent [default: 128]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                           Filepath or URL to a keypair
        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --sort &lt;sort>
            Sort order (does not affect JSON output) [default: stake]  [possible values: delinquent, commission,
            credits, identity, last-vote, root, skip-rate, stake, version, vote-account]
        --ws &lt;URL>                                    WebSocket URL for the solana cluster

solana-验证链下签名

solana-verify-offchain-signature
Verify off-chain message signature

USAGE:
    solana verify-offchain-signature [FLAGS] [OPTIONS] &lt;STRING> &lt;SIGNATURE>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --signer &lt;PUBKEY>                  Message signer [default: cli config keypair]. Address is 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)
        --version &lt;VERSION>                The off-chain message version [default: 0]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;STRING>       The text of the original message
    &lt;SIGNATURE>    The message signature to verify

solana 投票账户

solana-vote-account
Show the contents of a vote account

USAGE:
    solana vote-account [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS>

FLAGS:
        --csv                            Format rewards in a CSV table
    -h, --help                           Prints help information
        --lamports                       Display balance in lamports instead of SOL
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information
        --with-rewards                   Display inflation rewards

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --num-rewards-epochs &lt;NUM>         Display rewards for NUM recent epochs, max 10 [default: latest epoch only]
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --starting-epoch &lt;NUM>             Start displaying from epoch NUM
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>    Vote account. Address is 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-投票-授权选民

solana-vote-authorize-voter
Authorize a new vote signing keypair for the given vote account

USAGE:
    solana vote-authorize-voter [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;AUTHORIZED_KEYPAIR> &lt;NEW_AUTHORIZED_PUBKEY>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>     Vote account in which to set the authorized voter. Address is 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)
    &lt;AUTHORIZED_KEYPAIR>       Current authorized vote signer.
    &lt;NEW_AUTHORIZED_PUBKEY>    New authorized vote signer. Address is 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-投票-授权-选民检查

solana-vote-authorize-voter-checked
Authorize a new vote signing keypair for the given vote account, checking the new authority as a signer

USAGE:
    solana vote-authorize-voter-checked [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;AUTHORIZED_KEYPAIR> &lt;NEW_AUTHORIZED_KEYPAIR>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>      Vote account in which to set the authorized voter. Address is 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)
    &lt;AUTHORIZED_KEYPAIR>        Current authorized vote signer.
    &lt;NEW_AUTHORIZED_KEYPAIR>    New authorized vote signer.

solana-投票-授权-撤回者

solana-vote-authorize-withdrawer
Authorize a new withdraw signing keypair for the given vote account

USAGE:
    solana vote-authorize-withdrawer [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;AUTHORIZED_KEYPAIR> &lt;AUTHORIZED_PUBKEY>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>    Vote account in which to set the authorized withdrawer. Address is 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)
    &lt;AUTHORIZED_KEYPAIR>      Current authorized withdrawer.
    &lt;AUTHORIZED_PUBKEY>       New authorized withdrawer. Address is 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-投票-授权-提款者已检查

solana-vote-authorize-withdrawer-checked
Authorize a new withdraw signing keypair for the given vote account, checking the new authority as a signer

USAGE:
    solana vote-authorize-withdrawer-checked [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;AUTHORIZED_KEYPAIR> &lt;NEW_AUTHORIZED_KEYPAIR>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>      Vote account in which to set the authorized withdrawer. Address is 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)
    &lt;AUTHORIZED_KEYPAIR>        Current authorized withdrawer.
    &lt;NEW_AUTHORIZED_KEYPAIR>    New authorized withdrawer.

solana 投票更新委员会

solana-vote-update-commission
Update the vote account's commission

USAGE:
    solana vote-update-commission [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;PERCENTAGE> &lt;AUTHORIZED_KEYPAIR>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>    Vote account to update. Address is 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)
    &lt;PERCENTAGE>              The new commission
    &lt;AUTHORIZED_KEYPAIR>      Authorized withdrawer keypair

solana-投票更新验证器

solana-vote-update-validator
Update the vote account's validator identity

USAGE:
    solana vote-update-validator [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;IDENTITY_KEYPAIR> &lt;AUTHORIZED_KEYPAIR>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>    Vote account to update. Address is 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)
    &lt;IDENTITY_KEYPAIR>        Keypair of new validator that will vote with this account
    &lt;AUTHORIZED_KEYPAIR>      Authorized withdrawer keypair

solana-等待最大权益

solana-wait-for-max-stake
Wait for the max stake of any one node to drop below a percentage of total.

USAGE:
    solana wait-for-max-stake [FLAGS] [OPTIONS] [PERCENT]

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>    Return information at the selected commitment level [possible values:
                                           processed, confirmed, finalized]
    -C, --config &lt;FILEPATH>                Configuration file to use [default: ~.config~solana~cli~config.yml]
    -u, --url &lt;URL_OR_MONIKER>             URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta,
                                           testnet, devnet, localhost]
    -k, --keypair &lt;KEYPAIR>                Filepath or URL to a keypair
        --output &lt;FORMAT>                  Return information in specified output format [possible values: json, json-
                                           compact]
        --ws &lt;URL>                         WebSocket URL for the solana cluster

ARGS:
    &lt;PERCENT>

solana-从 nonce账户

solana-withdraw-from-nonce-account
Withdraw SOL from the nonce account

USAGE:
    solana withdraw-from-nonce-account [FLAGS] [OPTIONS] &lt;NONCE_ACCOUNT_ADDRESS> &lt;RECIPIENT_ADDRESS> &lt;AMOUNT>

FLAGS:
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

    -u, --url &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;NONCE_ACCOUNT_ADDRESS>    Nonce account to withdraw from. Address is 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)
    &lt;RECIPIENT_ADDRESS>        Recipient of withdrawn SOL. Address is 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)
    &lt;AMOUNT>                   The amount to withdraw from the nonce account, in SOL

solana-从投票账户

solana-withdraw-from-vote-account
Withdraw lamports from a vote account into a specified account

USAGE:
    solana withdraw-from-vote-account [FLAGS] [OPTIONS] &lt;VOTE_ACCOUNT_ADDRESS> &lt;RECIPIENT_ADDRESS> &lt;AMOUNT>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --authorized-withdrawer &lt;AUTHORIZED_KEYPAIR>      Authorized withdrawer [default: cli config keypair]
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster

ARGS:
    &lt;VOTE_ACCOUNT_ADDRESS>    Vote account from which to withdraw. Address is 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)
    &lt;RECIPIENT_ADDRESS>       The recipient of withdrawn SOL. Address is 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)
    &lt;AMOUNT>                  The amount to withdraw, in SOL; accepts keyword ALL, which for this command means
                              account balance minus rent-exempt minimum

solana-提取质押

solana-withdraw-stake
Withdraw the unstaked SOL from the stake account

USAGE:
    solana withdraw-stake [FLAGS] [OPTIONS] &lt;STAKE_ACCOUNT_ADDRESS> &lt;RECIPIENT_ADDRESS> &lt;AMOUNT>

FLAGS:
        --dump-transaction-message       Display the base64 encoded binary transaction message in sign-only mode
    -h, --help                           Prints help information
        --no-address-labels              Do not use address labels in the output
        --sign-only                      Sign the transaction offline
        --skip-preflight                 Skip the preflight check when sending transactions
        --skip-seed-phrase-validation    Skip validation of seed phrases. Use this if your phrase does not use the BIP39
                                         official English word list
        --use-quic                       Use QUIC when sending transactions.
        --use-tpu-client                 Use TPU client when sending transactions.
        --use-udp                        Use UDP when sending transactions.
    -V, --version                        Prints version information
    -v, --verbose                        Show additional information

OPTIONS:
        --blockhash &lt;BLOCKHASH>                           Use the supplied blockhash
        --commitment &lt;COMMITMENT_LEVEL>
            Return information at the selected commitment level [possible values: processed, confirmed, finalized]

        --with-compute-unit-price &lt;COMPUTE-UNIT-PRICE>
            Set compute unit price for transaction, in increments of 0.000001 lamports per compute unit.

    -C, --config &lt;FILEPATH>
            Configuration file to use [default: ~.config~solana~cli~config.yml]

        --custodian &lt;KEYPAIR>                             Authority to override account lockup
        --fee-payer &lt;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 &lt;URL_OR_MONIKER>
            URL for Solana's JSON RPC or moniker (or their first letter): [mainnet-beta, testnet, devnet, localhost]

    -k, --keypair &lt;KEYPAIR>                               Filepath or URL to a keypair
        --with-memo &lt;MEMO>                                Specify a memo string to include in the transaction.
        --nonce &lt;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.solanalabs.com~cli~examples~durable-nonce
        --nonce-authority &lt;KEYPAIR>
            Provide the nonce authority keypair to use when signing a nonced transaction

        --output &lt;FORMAT>
            Return information in specified output format [possible values: json, json-compact]

        --seed &lt;STRING>
            Seed for address generation; if specified, the resulting account will be at a derived address of
            STAKE_ACCOUNT_ADDRESS
        --signer &lt;PUBKEY=SIGNATURE>...                    Provide a public-key~signature pair for the transaction
        --ws &lt;URL>                                        WebSocket URL for the solana cluster
        --withdraw-authority &lt;KEYPAIR>                    Authorized withdrawer [default: cli config keypair]

ARGS:
    &lt;STAKE_ACCOUNT_ADDRESS>    Stake account from which to withdraw (or base of derived address if --seed is used).
                               Address is 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)
    &lt;RECIPIENT_ADDRESS>        Recipient of withdrawn stake. Address is 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)
    &lt;AMOUNT>                   The amount to withdraw from the stake account, in SOL; accepts keyword ALL

<!--EndFragment-->

  • 原创
  • 学分: 3
  • 分类: Solana
  • 标签:
点赞 0
收藏 0
分享
本文参与登链社区写作激励计划 ,好文好收益,欢迎正在阅读的你也加入。

0 条评论

请先 登录 后评论
想样
想样
江湖只有他的大名,没有他的介绍。