Hot answers tagged

2

You need 'account_name' instead of 'account', and json needs to be dumped. import requests, json url = "https://api.eosn.io/v1/chain/get_account" data = {"account_name": "yupcreators1"} r = requests.post(url, json.dumps(data)) print(r.status_code) print(r.text)


1

Please see the documentation here: https://developers.eos.io/manuals/eos/latest/nodeos/plugins/chain_api_plugin/api-reference/index#operation/get_account You must send the account name in POST request (not a GET) {"account_name": "nameofaccount"} Example: curl -d '{"account_name": "hackerdarwin"}' http://api.eosn.io/...


Only top voted, non community-wiki answers of a minimum length are eligible