PolkawalletApi class

The PolkawalletApi instance is the wrapper of polkadot-js/api. It provides:

Constructors

PolkawalletApi(SubstrateService service)

Properties

account ApiAccount
getter/setter pair
assets ApiAssets
getter/setter pair
bridge ApiBridge
getter/setter pair
connectedNode NetworkParams?
no setter
eth ApiEth
getter/setter pair
gov ApiGov
getter/setter pair
gov2 ApiGov2
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyring ApiKeyring
getter/setter pair
parachain ApiParachain
getter/setter pair
recovery ApiRecovery
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service SubstrateService
final
setting ApiSetting
getter/setter pair
staking ApiStaking
getter/setter pair
subScan SubScanApi
final
tx ApiTx
getter/setter pair
uos ApiUOS
getter/setter pair
walletConnect ApiWalletConnect
getter/setter pair

Methods

connectEVM(NetworkParams node) Future<NetworkParams?>
connectNode(Keyring keyringStorage, List<NetworkParams> nodes) Future<NetworkParams?>
connect to a list of nodes, return null if connect failed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribeMessage(String jsCall, List params, String channel, Function callback) Future<void>
subscribe message.
toString() String
A string representation of this object.
inherited
unsubscribeMessage(String channel) → void
unsubscribe message.

Operators

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