Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Final Class
Pure-parsing helpers that turn API envelopes into typed wallet models.
final class WalletResponseParser
Methods that depend on chain-family dispatch are instance methods so they
can receive an injectable ChainResolver; everything else is exposed as a
static helper.
Constructors
WalletResponseParser
const WalletResponseParser({
ChainResolver chainResolver = const ChainResolver(),
})
Static Methods
walletFromMap
static CrossmintWallet walletFromMap(
CrossmintJsonMap map, {
String? fallbackId,
String? fallbackChain,
})
signatureFromMap
static CrossmintSignatureRecord signatureFromMap(CrossmintJsonMap map)
transactionFromMap
static CrossmintTransactionRecord transactionFromMap(CrossmintJsonMap map)
readEnvelopeItems
static List<CrossmintJsonMap> readEnvelopeItems(Object? body)
envelopeRaw
static CrossmintJsonMap envelopeRaw(
Object? body, {
required String collectionKey,
})
normalizeMap
static CrossmintJsonMap normalizeMap(Map<Object?, Object?> value)
resolvedWalletChain
static String? resolvedWalletChain(
CrossmintJsonMap map, {
String? fallbackChain,
})
isConcreteWalletChain
static bool isConcreteWalletChain(String? value)
Methods
walletSignerFromMap
CrossmintWalletSigner? walletSignerFromMap(
CrossmintJsonMap map, {
required String chain,
})
signerStatusFromMap
String? signerStatusFromMap(CrossmintJsonMap map, {required String chain})
signatureIdFromSignerRegistration
String? signatureIdFromSignerRegistration(
CrossmintJsonMap map, {
required String chain,
})
transactionIdFromSignerRegistration
String? transactionIdFromSignerRegistration(
CrossmintJsonMap map, {
required String chain,
})