Docs.rs
spl-token-2022-4.0.0
spl-token-2022 4.0.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
anza-team
Dependencies
arrayref ^0.3.7
normal
base64 ^0.22.1
normal
optional
bytemuck ^1.16.1
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
num_enum ^0.7.2
normal
serde ^1.0.203
normal
optional
serde_with ^3.8.1
normal
optional
solana-program ^2.0.0
normal
solana-security-txt ^1.1.1
normal
solana-zk-token-sdk ^2.0.0
normal
spl-memo ^5.0
normal
spl-pod ^0.3.0
normal
spl-token ^6.0
normal
spl-token-group-interface ^0.3.0
normal
spl-token-metadata-interface ^0.4.0
normal
spl-transfer-hook-interface ^0.7.0
normal
spl-type-length-value ^0.5.0
normal
thiserror ^1.0
normal
lazy_static ^1.5.0
dev
proptest ^1.5
dev
serde_json ^1.0.117
dev
serial_test ^3.1.1
dev
solana-program-test ^2.0.0
dev
solana-sdk ^2.0.0
dev
spl-tlv-account-resolution ^0.7.0
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_2022
4.0.0
Function
spl_token_2022
::
check_id
Copy item path
source
ยท
[
−
]
pub fn check_id(id: &
Pubkey
) ->
bool
Expand description
Returns
true
if given pubkey is the program ID.