Docs.rs
spl-token-4.0.3
spl-token 4.0.3
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
anza-team
Dependencies
arrayref ^0.3.7
normal
bytemuck ^1.16.1
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
num_enum ^0.7.2
normal
solana-program ^1.18.11
normal
thiserror ^1.0
normal
lazy_static ^1.5.0
dev
proptest ^1.5
dev
serial_test ^3.1.1
dev
solana-program-test ^1.18.11
dev
solana-sdk ^1.18.11
dev
Versions
100%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
spl_token
4.0.3
In spl_token::native_mint
Function
spl_token
::
native_mint
::
check_id
Copy item path
source
ยท
[
−
]
pub fn check_id(id: &
Pubkey
) ->
bool
Expand description
Returns
true
if given pubkey is the program ID.