Wrapper for EOS RPC API
Project description
pyeos_client
This is a non official python library build around the eosd Chain & Wallet RPC API. This library will allow you to easily interact with EOSIO node through REST API.
Installation
pip install pyeos-client
Getting Started
from pyeos_client.NodeosConnect import RequestHandlerAPI
from pyeos_client.EOSChainApi import ChainAPI
connection = RequestHandlerAPI(base_url='http://nodeos-server:8888', headers={"Accept": "application/json"})
chainapi = ChainAPI(connection)
print(chainapi.get_info().json())
results
{
"server_version": "b2eb1667",
"head_block_num": 259590,
"last_irreversible_block_num": 259573,
"head_block_id": "0003f60677f3707f0704f16177bf5f007ebd45eb6efbb749fb1c468747f72046",
"head_block_time": "2017-12-10T17:05:36",
"head_block_producer": "initp",
"recent_slots": "1111111111111111111111111111111111111111111111111111111111111111",
"participation_rate": "1.00000000000000000"
}
Authors
License
This project is licensed under the MIT License - see the LICENSE file for details
Official documentation
Contributing
- Fork it (https://github.com/EvaCoop/pyeos_client.git)
- Create your feature branch (git checkout -b feature/fooBar)
- Commit your changes (git commit -am 'Add some fooBar')
- Push to the branch (git push origin feature/fooBar)
- Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pyeos_client-0.1.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93c2c2bc0f0a65ccb8841174d53701d0631a124f7e35eeed4ae99c45113709e4 |
|
MD5 | 9cfd667f07a15e20f21f65b83e3d559e |
|
BLAKE2b-256 | 59ec5b737dc4c10916077487e3769740706365780552017ab9ad3f5bb39c5927 |