Previous << Remove a Contract
Next >> Funding a Testnet Account
Flow CLI を使用して、Flow ネットワーク上のアカウントのステーキング情報を取得します。
flow accounts staking-info <address>
Example Usage
> accounts staking-info 535b975637fb6bee --host access.testnet.nodes.onflow.org:9000
Account Staking Info:
ID: "ca00101101010100001011010101010101010101010101011010101010101010"
Initial Weight: 100
Networking Address: "ca00101101010100001011010101010101010101010101011010101010101010"
Networking Key: "ca00101101010100001011010101010101010101010101011010101010101010ca00101101010100001011010101010101010101010101011010101010101010"
Role: 1
Staking Key: "ca00101101010100001011010101010101010101010101011010101010101010ca00101101010100001011010101010101010101010101011010101010101010ca00101101010100001011010101010101010101010101011010101010101010"
Tokens Committed: 0.00000000
Tokens To Unstake: 0.00000000
Tokens Rewarded: 82627.77000000
Tokens Staked: 250000.00000000
Tokens Unstaked: 0.00000000
Tokens Unstaking: 0.00000000
Node Total Stake (including delegators): 250000.00000000
Account Delegation Info:
ID: 7
Tokens Committed: 0.00000000
Tokens To Unstake: 0.00000000
Tokens Rewarded: 30397.81936000
Tokens Staked: 100000.00000000
Tokens Unstaked: 0.00000000
Tokens Unstaking: 0.00000000
Arguments
Address
- Name:
address - Valid Input: Flow account address.
Flow account address (prefixed with 0x or not).
Flags
Include Fields
- Flag:
--include - Valid inputs:
contracts
結果の出力に含めるフィールドを指定します。テキスト出力のみに適用されます。
Host
- Flag:
--host - Valid inputs: an IP address or hostname.
- Default:
127.0.0.1:3569(Flow Emulator)
コマンドを実行する際に使用する Access API のホスト名を指定します。このフラグは、--network フラグで定義されたホストをすべて上書きします。
Network Key
- Flag:
--network-key - Valid inputs: ホストのネットワーク公開鍵の 16 進数文字列
コマンドを実行する際に、セキュアなGRPCクライアントを作成するために使用するAccess APIのネットワーク公開鍵を指定します。
Network
- Flag:
--network - Short Flag:
-n - Valid inputs: the name of a network defined in the configuration (
flow.json) - Default:
emulator
どのネットワークに対してコマンドを実行するのかを指定します。
Filter
- Flag:
--filter - Short Flag:
-x - Valid inputs: a case-sensitive name of the result property.
結果から、唯一の値として取得したいプロパティの名前を指定します。
Output
- Flag:
--output - Short Flag:
-o - Valid inputs:
json,inline
コマンド結果のフォーマットを指定します。
Save
- Flag:
--save - Short Flag:
-s - Valid inputs: a path in the current filesystem.
結果を保存したいファイル名を指定します。
Log
- Flag:
--log - Short Flag:
-l - Valid inputs:
none,error,debug - Default:
info
ログレベルを指定します。コマンド実行中に表示する出力を制御します。
Configuration
- Flag:
--config-path - Short Flag:
-f - Valid inputs: a path in the current filesystem.
- Default:
flow.json
flow.jsonコンフィギュレーションファイルへのパスを指定します。-fフラグを複数回使用して複数のコンフィグレーションファイルをマージすることもできます。
Version Check
- Flag:
--skip-version-check - Default:
false
低速なネットワーク接続における処理を高速化するために、起動時のバージョンチェックをスキップします。
Last updated on Nov 26, 2024 by Vishal
翻訳元
Flow blockchain / Cadence version1.0ドキュメント (Account Staking Info)