跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

accounts

Description

Retrieves all accounts associated with a defined public key

[[info]] |This command will not return privileged accounts.

Positional Parameters

public_key TEXT - The public key to retrieve accounts for

Options

  • -j,--json - Output in JSON format

Example

cleos get accounts EOS8mUftJXepGzdQ2TaCduNuSPAfXJHf22uex4u41ab1EVv9EAhWt
{
"account_names": [
"testaccount"
]
}