BlockChainService class

Implemented types

Constructors

BlockChainService.new({required IReownCore core})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedSendToken TokenBalance?
no setteroverride
tokensList List<TokenBalance>?
no setteroverride

Methods

checkAllowance({required String senderAddress, required String receiverAddress, required String contractAddress, required String caip2Chain}) Future
override
dispose() → void
override
estimateGas({required Map<String, dynamic> transaction, required String caip2Chain}) Future<BigInt>
override
gasPrice({required String caip2Chain}) Future<GasPrice>
override
getBalance({required String address, String? caip2Chain}) Future<List<TokenBalance>>
override
getHistory({required String address, String? caip2Chain, String? cursor}) Future<ActivityData>
override
getIdentity({required String address}) Future<BlockchainIdentity>
Gets the name and avatar of a provided address on the given chain
override
getTokenBalance({required String address, required String namespace, required String chainId}) Future<double>
override
init() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawCall({required String chainId, required Map params}) Future<String>
override
selectSendToken(TokenBalance? token) → void
override
toString() String
A string representation of this object.
inherited

Operators

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