Comments (2)
Hi Zois,
Good question. Events in web3dart are associated to contracts. In web3js land has a way to subscribe events in the blockchain (https://web3js.readthedocs.io/en/v1.2.0/web3-eth-subscribe.html), as far as I know, web3dart doesn't.
It might be worth to ask them if there's any solution for that.
Alternatively, you could get the transaction hash and use a different API to check the transaction status. It's not ideal, but ..... Check out this API: https://blockexplorer.com/api-ref
Thanks.
from ether-wallet-flutter.
Thanks! What I will do, is actually ask for the receipt using getTransactionReceipt. If this is returned as null, then the transaction is still pending. It's not a subscription though, but a simple polling strategy will suffice I guess..
from ether-wallet-flutter.
Related Issues (16)
- listenTransfer is not working HOT 4
- No License Specified HOT 1
- RPCError : got code -32000 with msg
- web support? HOT 5
- how we can get public key of an ethereum account? is there any way to do that? HOT 2
- Realtime balance update HOT 2
- Different address generated than official wallets HOT 2
- Invalid JSON RPC response HOT 2
- Transfer Money using Ethereum (Ropsten) Does not Work HOT 2
- Allows users to add as many tokens as they want HOT 2
- is it possible to create wallet avalanche avax test network ?? HOT 2
- How to configure Firebase HOT 2
- Websocket Error HOT 2
- BIP39 gives different private key HOT 10
- It works well HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ether-wallet-flutter.