On-chain Metaplex metadata for a mint, or null when the metadata account
doesn't exist yet.
setTokenMetadata pivots create-vs-update on this, so the distinction is
load-bearing: fetchMaybeMetadataFromSeeds returns exists: false for a
missing account but still THROWS on RPC failure. An outage must never read
as "no metadata" — a create against existing metadata fails on-chain and
burns the fee.
Get token info from the mintfx program by token ID
The return type is derived from fetchTokenInfoByTokenId rather than
written out: mintfx-client's TokenInfo lives in a bundled internal chunk
and is not exported, so declaration emit cannot name it (TS2883) and there
is no public specifier to import it from.
Get the on-chain address of a token-info PDA
Raw getProgramAccounts for the mintfx program. Each account is matched
against known mintfx account discriminators; unknown discriminators come
back with kind: null.
Build instructions to update token metadata on-chain
Build instructions to create token metadata on-chain