RPCProvider class abstract

Manages RPC calls

Implementers

Constructors

RPCProvider(String providerURL)

Properties

hashCode int
The hash code for this object.
no setterinherited
providerURL String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

broadcastTransaction(String encodedTransaction) Future<Map>
Calls near RPC API's broadcast_tx_commit to broadcast the transaction and waits until transaction is fully complete.
callViewFunction(String contractId, String methodName, String methodArgs) Future<Map>
Allows you to call a contract method as a view function.
findAccessKey(dynamic accountId, dynamic publicKey) Future<AccessKey>
Calls near RPC API's getAccessKeys for nonce and block hash
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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