TokenBalance class
Token Balance
Constructors
TokenBalance.new ({required num accountIndex , required String mint , required String owner , required UITokenAmount uiTokenAmount })
The Solana runtime records the cross-program instructions that are invoked during transaction
processing and makes these available for greater transparency of what was executed on-chain
per transaction instruction.
const
TokenBalance.fromJson (Map <String , dynamic > json )
Creates an instance of this
class from the constructor parameters defined in the json
object.
factory
Properties
accountIndex
→ num
The index of the account in which the token balance is provided for.
final
hashCode
→ int
The hash code for this object.
no setter inherited
mint
→ String
The token's mint address (public key).
final
owner
→ String
The token balance owner's address (public key).
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
uiTokenAmount
→ UITokenAmount
Token amount details.
final
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson ()
→ Map <String , dynamic >
Serialises this
class into a JSON object.
override
toString ()
→ String
A string representation of this object.
inherited
reown_appkit 1.4.2-beta02