NearRpcClient class
Constructors
- NearRpcClient.new({required NearNetworkClient networkClient})
- NearRpcClient.defaultInstance()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- networkClient → NearNetworkClient
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callViewMethod(
{required String contractId, required String method, Map< String, dynamic> args = const {}}) → Future<BlockchainResponse> -
getAccountBalance(
String accountId) → Future< String> -
getTransactionInfo(
String accountId, String publicKey) → Future< NearTransactionInfoModel> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendAsyncTx(
List< String> params) → Future<BlockchainResponse> -
sendSyncTx(
List< String> params) → Future<BlockchainResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited