Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

[docs] Update Query account info How-to #10198

Merged
merged 1 commit into from
May 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions docs/02_cleos/02_how-to-guides/how-to-get-account-information.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Goal
## Overview

Query infomation of an EOSIO account
This how-to guide provides instructions on how to query infomation of an EOSIO account. The example in this how-to guide retrieves information of the `eosio` account.

## Before you begin

Expand All @@ -9,17 +9,26 @@ Query infomation of an EOSIO account
[[info | Note]]
| The cleos tool is bundled with the EOSIO software. [Installing EOSIO](../../00_install/index.md) will also install the cleos tool.

* Acquire functional understanding of [EOSIO Accounts and Permissions](https://developers.eos.io/welcome/latest/protocol/accounts_and_permissions)
* Acquire functional understanding of [EOSIO Accounts and Permissions](https://developers.eos.io/welcome/v2.1/protocol/accounts_and_permissions)

## Command Reference

## Steps
See the following reference guide for command line usage and related options for the cleos command:

Execute the command below:
* [`cleos get account`](../03_command-reference/get/account.md) command and its parameters

## Procedure

The following step shows how to query information of the `eosio` account:

1. Run the following command:

```sh
cleos get account ACCOUNT_NAME
cleos get account eosio
```
Where ACCOUNT_NAME = name of the existing account in the EOSIO blockchain.
**Where**:

* `eosio` = The name of the default system account in the EOSIO blockchain.

**Example Output**

Expand Down