TokenArgs
type TokenArgs = {
amount: number | bigint;
closeAuthority: OptionOrNullable<Address>;
delegate: OptionOrNullable<Address>;
delegatedAmount: number | bigint;
extensions: OptionOrNullable<ExtensionArgs[]>;
isNative: OptionOrNullable<number | bigint>;
mint: Address;
owner: Address;
state: AccountStateArgs;
};Properties
amount
amount: number | bigint;The amount of tokens this account holds.
closeAuthority
closeAuthority: OptionOrNullable<Address>;Optional authority to close the account.
delegate
delegate: OptionOrNullable<Address>;If delegate is Some then delegated_amount represents
the amount authorized by the delegate.
delegatedAmount
delegatedAmount: number | bigint;The amount delegated.
extensions
extensions: OptionOrNullable<ExtensionArgs[]>;The extensions activated on the token account.
isNative
isNative: OptionOrNullable<number | bigint>;If is_native.is_some, this is a native token, and the value logs the rent-exempt reserve. An Account is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped SOL accounts do not drop below this threshold.
mint
mint: Address;The mint associated with this account.
owner
owner: Address;The owner of this account.
state
state: AccountStateArgs;The account's state.