Crate arch_token_metadata_sdk

Crate arch_token_metadata_sdk 

Source
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§

well_known_attributes

Structs§

AccountDataLite
Minimal account data used by the reader utilities.
ComputeBudgetOptions
Optional compute budget options to prepend to transaction builders.
CreateAttributesParams
Parameters for CreateAttributes instruction.
CreateMetadataParams
Parameters for CreateMetadata instruction.
MakeImmutableParams
Parameters for MakeImmutable instruction.
ReplaceAttributesParams
Parameters for ReplaceAttributes instruction.
TokenMetadataClient
Thin client for building PDAs and instructions for the Arch Token Metadata program.
TokenMetadataReader
Reader for fetching and decoding token metadata accounts using an injected async RPC.
TransferAuthorityParams
Parameters for TransferAuthority instruction.
TxCreateTokenWithFreezeAuthMetadataParams
Parameters for freeze-authority metadata creation flow.
TxCreateTokenWithMetadataAndAttributesParams
Parameters for tx_create_token_with_metadata_and_attributes transaction pattern.
TxCreateTokenWithMetadataParams
Parameters for tx_create_token_with_metadata transaction pattern.
TxTransferAuthorityThenUpdateParams
Parameters for transfer_authority followed by update in one transaction.
UpdateMetadataParams
Parameters for UpdateMetadata instruction.

Traits§

AsyncAccountReader
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.