discontinuedPackage ic_tools has been discontinued.

Icrc1Ledger class

Constructors

Icrc1Ledger({required Canister ledger, required String symbol, required String name, required int decimals, required BigInt fee, String? logo_data_url})

Properties

decimals → int
final
fee ↔ BigInt
getter/setter pair
fee_tokens → Tokens
no setter
hashCode → int
The hash code for this object.
no setteroverride
ledger → Canister
final
logo_data_url → String?
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbol → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

load(Principal icrc1_ledger_id, [CallType calltype = CallType.query]) → Future<Icrc1Ledger>