issues
search
BoostryJP
/
ibet-Wallet-API
A powerful API suite for seamlessly building ibet blockchain wallet systems ðŸ›
https://ibet.jp/ibet-for-fin
Apache License 2.0
9
stars
0
forks
source link
[FEATURE] Raise a specific error when no valid node is available during sending web3 request
#1553
Open
purplesmoke05
opened
1 month ago
purplesmoke05
commented
1 month ago
Is your feature request related to a problem? Please describe.
Currently, the implementation in
web3_utils.py
verifies the presence of a valid node before sending a Web3 request and sends the request to that node.
If no valid node exists or if there is a valid node but the connection fails, the same error is raised.
With this implementation, it is not possible for the API caller to distinguish when no valid node is available.
Describe the solution you'd like
Raise a specific error when no valid node is available during sending web3 request , allowing the caller to distinguish these things.
Is your feature request related to a problem? Please describe.
web3_utils.py
verifies the presence of a valid node before sending a Web3 request and sends the request to that node.Describe the solution you'd like