NEARTestNetRPCProvider class
Stores near testnet rpc configuration
- Inheritance
-
- Object
- RPCProvider
- NEARTestNetRPCProvider
Constructors
- NEARTestNetRPCProvider()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- providerURL ↔ String
-
getter/setter pairinherited
- 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.
inherited
-
callViewFunction(
String contractId, String methodName, String methodArgs) → Future< Map> -
Allows you to call a contract method as a view function.
inherited
-
findAccessKey(
dynamic accountId, dynamic publicKey) → Future< AccessKey> -
Calls near RPC API's getAccessKeys for nonce and block hash
inherited
-
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