BinanceChainWallet class

Available extensions
Annotations
  • @JS.new()

Constructors

BinanceChainWallet()

Properties

accountsChanged → Stream

Available on BinanceChainWallet, provided by the DartBinanceChain extension

A broadcast stream emitting values when the selected account is changed by the user.
no setter
autoRefreshOnNetworkChange ↔ bool
getter/setter pair
chainChanged → Stream

Available on BinanceChainWallet, provided by the DartBinanceChain extension

A broadcast stream emitting values when the selected chain is changed by the user.
no setter
chainId → int
no setter
connect → Stream

Available on BinanceChainWallet, provided by the DartBinanceChain extension

A broadcast stream emitting values when the selected account is connected by the user.
no setter
disconnect → Stream

Available on BinanceChainWallet, provided by the DartBinanceChain extension

A broadcast stream emitting values when the selected account is disconnected by the user.
no setter
hashCode → int
The hash code for this object.
no setterinherited
message → Stream

Available on BinanceChainWallet, provided by the DartBinanceChain extension

A broadcast stream emitting values when a message is received to the connected account.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

asRpcService() → RpcService

Available on BinanceChainWallet, provided by the DartBinanceChain extension

Turns this raw client into an rpc client that can be used to create a Web3Client:
isConnected() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawRequest(String method, {Object? params}) → Future

Available on BinanceChainWallet, provided by the DartBinanceChain extension

Sends a raw rpc request using the injected Ethereum client.
requestAccounts() → Future<List<CredentialsWithKnownAddress>>

Available on BinanceChainWallet, provided by the DartBinanceChain extension

Asks the user to select an account and give your application access to it.
stream(String eventName) → Stream

Available on BinanceChainWallet, provided by the DartBinanceChain extension

Creates a stream of raw ethereum events.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited