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

eos
EOS

Method: POST get_account

dropdown

方法 RPC get_account 例如 EOS

POST get_account

返回一个包含有关区块链特定帐户的各种细节的对象。

Parameters

account_name - 细绳

必需的

必须是以下之一: - 名称 - 特权eosio名称类型的字符串表示形式 - 名称basic-基本eosio名称类型的字符串表示,必须为12个字符,仅包含A -Z和0-5-0-5-名称bid- eosio bid name类型的字符串表示,1 -12个字符,仅允许A -Z和0-5 -NameCatchall- EOSIO名称类型的字符串表示形式

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": "82701.1322 EOS",
    "cpu_limit": {
        "available": 275741289,
        "current_used": 418183281,
        "last_usage_update_time": "2022-08-25T13:44:48.000",
        "max": 693926990,
        "used": 418185701
    },
    "cpu_weight": "7708684180265",
    "created": "2019-06-06T10:41:49.000",
    "head_block_num": 264526298,
    "head_block_time": "2022-08-25T13:44:48.500",
    "last_code_update": "2022-08-16T16:17:10.500",
    "net_limit": {
        "available": 174742862,
        "current_used": 91289459,
        "last_usage_update_time": "2022-08-25T13:44:48.000",
        "max": 266032849,
        "used": 91289987
    },
    "net_weight": 141556408,
    "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": "5138022108",
    "ram_usage": "4865991284",
    "refund_request": null,
    "rex_info": null,
    "self_delegated_bandwidth": null,
    "total_resources": {
        "cpu_weight": "770868418.0265 EOS",
        "net_weight": "14155.6408 EOS",
        "owner": "playuplandme",
        "ram_bytes": "5138020708"
    },
    "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
    }
}