You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// listen for the Transfer event when it's emitted by the contract above
final subscription = token.transferEvents().take(1).listen((event) {
print('${event.from} sent ${event.value} MetaCoins to ${event.to}!');
});
How can I obtain block height or block hash out of the event object?
Hello,
I am getting started with this package. I am following the https://github.com/devopsdao/webthree/blob/master/example/contracts.dart example.
How can I obtain block height or block hash out of the event object?