Back to Eos

Accounts

docs/02_cleos/03_command-reference/get/accounts.md

2.1.0416 B
Original Source

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

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