Docs.rs
spl-token-interface-2.0.0
spl-token-interface 2.0.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
anza-team
Dependencies
arrayref ^0.3.9
normal
bytemuck ^1.20.0
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
num_enum ^0.7.4
normal
solana-instruction ^3.0.0
normal
solana-program-error ^3.0.0
normal
solana-program-option ^3.0.0
normal
solana-program-pack ^3.0.0
normal
solana-pubkey ^3.0.0
normal
solana-sdk-ids ^3.0.0
normal
thiserror ^2.0
normal
proptest ^1.5
dev
strum ^0.24
dev
strum_macros ^0.24
dev
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
spl_
token_
interface
2.0.0
Module native_
mint
Module Items
Constants
Functions
In crate spl_
token_
interface
spl_token_interface
Module
native_mint
Copy item path
Source
Expand description
The Mint that represents the native token
Constants
§
DECIMALS
There are
10^9
lamports in one SOL
ID
The const program ID.
Functions
§
check_
id
Returns
true
if given pubkey is the program ID.
id
Returns the program ID.