apl-token 0.6.4

APL Token Program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The Mint that represents the native token

/// There are `10^9` lamports in one SOL
pub const DECIMALS: u8 = 9;

use crate::Pubkey;

/// The Mint that represents the native token
pub fn id() -> Pubkey {
    Pubkey::from_slice(b"AplNative11111111111111111111111")
}

/// The Mint that represents the native token
pub const ID: Pubkey = Pubkey::new_from_array(*b"AplNative11111111111111111111111");