# get_account

get_account The get_account command obtains account information by account name.

request

{
  "jsonrpc": "2.0", 
  "method": "get_account", 
  "params": ["nathan"], 
  "id": 1
}

Input parameters

  • Account name to be queried

response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "id": "1.2.38",
        "membership_expiration_date": "1970-01-01T00:00:00",
        "registrar": "1.2.4",
        "referrer": "1.2.0",
        "lifetime_referrer": "1.2.0",
        "network_fee_percentage": 2000,
        "lifetime_referrer_fee_percentage": 3000,
        "referrer_rewards_percentage": 0,
        "name": "nathan",
        "addr": "XWCTNa5ZMhvFYXSYN4E2sAKqDVBKZgU9AGEBfZ",
        "owner": {
            "weight_threshold": 1,
            "account_auths": [],
            "key_auths": [
                [
                    "XWC6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
                    1
                ]
            ],
            "address_auths": []
        },
        "active": {
            "weight_threshold": 1,
            "account_auths": [],
            "key_auths": [
                [
                    "XWC6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
                    1
                ]
            ],
            "address_auths": []
        },
        "options": {
            "memo_key": "XWC6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
            "voting_account": "1.2.5",
            "num_witness": 0,
            "num_committee": 0,
            "votes": [],
            "miner_pledge_pay_back": 10,
            "extensions": []
        },
        "statistics": "2.9.38",
        "whitelisting_accounts": [],
        "blacklisting_accounts": [],
        "whitelisted_accounts": [],
        "blacklisted_accounts": [],
        "owner_special_authority": [
            0,
            {}
        ],
        "active_special_authority": [
            0,
            {}
        ],
        "top_n_control_flags": 0,
        "online": "true"
    }
}

return value

  • id: account id
  • addr: account address
  • name: account name