ape364 / aioetherscan Goto Github PK
View Code? Open in Web Editor NEWEtherscan API async Python wrapper
License: MIT License
Etherscan API async Python wrapper
License: MIT License
Instantiating a Client
object outside of a running asyncio event loop leads to a very confusing
RuntimeError: Timeout context manager should be used inside a task
exception upon performing requests.
The reason is:
Client
creates a Network
instance which stores a reference to loop
via loop or asyncio.get_event_loop()
.
asyncio.get_event_loop()
creates a new loop.current_task()
using the passed in stored loop
from above
I'm not quite sure what the correct solution is here.
Maybe using asyncio.get_running_loop()
instead of get_event_loop()
and in the case of no active loop requiring the user to explicitly pass in a loop would be best...
It seems that get_tx_link
is returning the mainnet URL even if the client is for a testnet
Hi, in Readme I can see the docs says it supports
Accounts
Contracts
Transactions
Blocks
Event logs
GETH/Parity proxy
Tokens
Stats
But can not find Tokens module in the code or wrapper
Do I have to install additional modules for it or something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.