ServiceBridge class

Constructors

ServiceBridge(SubstrateService serviceRoot)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceRoot SubstrateService
final

Methods

addMsgHandler(String channel, Function onMessage) → void
checkAddressFormat(String address, int ss58) Future<bool>
checkPassword(Map keyring, String? pubKey, dynamic pass) Future<bool>
connectFromChains(List<String> chains, {Map<String, List<String>>? nodeList}) Future<List<String>>
disconnectFromChains() Future<void>
dispose() Future<void>
estimateTxFee(String chainFrom, String txHex, String sender) Future<String>
evalJavascript(String code) Future
getAcalaEVMTokens() Future<List<String>>
getAmountInputConfig(String from, String to, String token, String address, String signer) Future<Map>
getChainsInfo() Future<Map>
getEvalJavascriptUID() int
getFromChainsAll() Future<List<String>>
getNetworkProperties(String chain) Future<Map>
getRoutes() Future<List<Map>>
getTxParams(String from, String to, String token, String address, String amount, int decimals, String signer) Future<Map>
init({String? jsCode}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reload() Future<void>
removeMsgHandler(String channel) → void
sendTx(String chainFrom, Map txInfo, String password, String msgId, Map keyring) Future<Map?>
subscribeBalances(String chain, String address, dynamic callback(Map)) Future<void>
subscribeReloadAction(String reloadKey, Function reloadAction) → void
toString() String
A string representation of this object.
inherited
unsubscribeBalances(String chain, String address) Future<void>
unsubscribeReloadAction(String reloadKey) → void

Operators

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