📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

eos
EOS

Method: POST get_account

dropdown

Method RPC get_account example for EOS

POST get_account

Returns an object containing various details about a specific account on the blockchain.

Parameters

account_name - string

Required

Must be one of:
- NamePrivileged - String representation of privileged EOSIO name type
- NameBasic - String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
- NameBid - String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed -
NameCatchAll - String representation of EOSIO name type

Request

curl --location --request POST 'https://eos.getblock.io/v1/chain/get_account' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"account_name": "playuplandme"}'


Response

{
    "account_name": "playuplandme",
    "core_liquid_balance": "81830.0610 EOS",
    "cpu_limit": {
        "available": 240820305,
        "current_used": 405254830,
        "last_usage_update_time": "2022-08-29T07:46:55.000",
        "max": 646077480,
        "used": 405257175
    },
    "cpu_weight": "7176963180261",
    "created": "2019-06-06T10:41:49.000",
    "head_block_num": 265174290,
    "head_block_time": "2022-08-29T07:46:55.500",
    "last_code_update": "2022-08-16T16:17:10.500",
    "net_limit": {
        "available": 53068280,
        "current_used": 85788015,
        "last_usage_update_time": "2022-08-29T07:46:55.000",
        "max": 138856791,
        "used": 85788511
    },
    "net_weight": 73885330,
    "permissions": [
        {
            "parent": "",
            "perm_name": "owner",
            "required_auth": {
                "accounts": [],
                "keys": [
                    {
                        "key": "EOS6SL1C7V2RJ9PtvxLVxsrvMCPa3j8uotAGx1cVgHqQu53ZaD9f9",
                        "weight": 1
                    }
                ],
                "threshold": 1,
                "waits": []
            }
        },
        {
            "parent": "active",
            "perm_name": "payforcpu",
            "required_auth": {
                "accounts": [],
                "keys": [
                    {
                        "key": "EOS5gN3Wky6kUbk6LTVf2CtTSps6uhjvWfqknf7YvwbfsuWt7duCE",
                        "weight": 1
                    }
                ],
                "threshold": 1,
                "waits": []
            }
        },
    ],
    "privileged": false,
    "ram_quota": "5158993627",
    "ram_usage": "4892306708",
    "refund_request": null,
    "rex_info": null,
    "self_delegated_bandwidth": null,
    "total_resources": {
        "cpu_weight": "717696318.0261 EOS",
        "net_weight": "7388.5330 EOS",
        "owner": "playuplandme",
        "ram_bytes": "5158992227"
    },
    "voter_info": {
        "flags1": 0,
        "is_proxy": 0,
        "last_vote_weight": "0.00000000000000000",
        "owner": "playuplandme",
        "producers": [],
        "proxied_vote_weight": "0.00000000000000000",
        "proxy": "",
        "reserved2": 0,
        "reserved3": "0 ",
        "staked": 602000
    }
}