Crate spl_token[][src]

Expand description

An ERC20-like Token program for the Solana blockchain



Error types

Instruction types

The Mint that represents the native token

Program state processor

State transition types


The static program ID


Convert a raw amount to its UI representation (using the decimals field defined in its mint)

Confirms that a given pubkey is equivalent to the program ID

Checks that the supplied program ID is the correct one for SPL-token

Returns the program ID

Convert the UI representation of a token amount (using the decimals field defined in its mint) to the raw amount