Expand description
Arch Token Metadata – Rust SDK (client-side helpers)
This crate provides:
- PDA helpers for core metadata and attributes accounts
- Instruction builders with correct account ordering and client-side validation
- Transaction builders for common flows (compose Vec
)
The builders mirror the on-chain program invariants documented in docs/SECURITY.md.
Signers, recent blockhashes, and submission are left to the caller.
Modules§
Structs§
- Account
Data Lite - Minimal account data used by the reader utilities.
- Compute
Budget Options - Optional compute budget options to prepend to transaction builders.
- Create
Attributes Params - Parameters for CreateAttributes instruction.
- Create
Metadata Params - Parameters for CreateMetadata instruction.
- Make
Immutable Params - Parameters for MakeImmutable instruction.
- Replace
Attributes Params - Parameters for ReplaceAttributes instruction.
- Token
Metadata Client - Thin client for building PDAs and instructions for the Arch Token Metadata program.
- Token
Metadata Reader - Reader for fetching and decoding token metadata accounts using an injected async RPC.
- Transfer
Authority Params - Parameters for TransferAuthority instruction.
- TxCreate
Token With Freeze Auth Metadata Params - Parameters for freeze-authority metadata creation flow.
- TxCreate
Token With Metadata AndAttributes Params - Parameters for tx_create_token_with_metadata_and_attributes transaction pattern.
- TxCreate
Token With Metadata Params - Parameters for tx_create_token_with_metadata transaction pattern.
- TxTransfer
Authority Then Update Params - Parameters for transfer_authority followed by update in one transaction.
- Update
Metadata Params - Parameters for UpdateMetadata instruction.
Traits§
- Async
Account Reader - Minimal async RPC trait required by reader utilities. Implemented for arch_sdk client via an adapter.
Functions§
- default_
program_ id - Return the canonical default program id for Arch Token Metadata.