-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello,
I am getting started with this package. I am following the https://github.com/devopsdao/webthree/blob/master/example/contracts.dart example.
// 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?
print(event.blockHash);
Metadata
Metadata
Assignees
Labels
No labels