Account class

This class provides common account related RPC calls including signing transactions with a KeyPair.

Constructors

Account({required String accountId, required KeyPair keyPair, required RPCProvider provider})

Properties

accountId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyPair KeyPair
getter/setter pair
provider RPCProvider
getter/setter pair
publicKey String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findAccessKey() Future<AccessKey>
Gets user accessKey information
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendTokens(double nearAmount, String receiver) Future<Map>
Transfer near from account to receiver
toString() String
A string representation of this object.
inherited

Operators

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