Skip to main content

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 Crypto payment configuration — on-chain payment via a user-connected wallet or the Crossmint-hosted wallet flow.
final class CrossmintCheckoutCryptoPayment
Set enabled to false to hide the crypto tab. When enabled, optionally attach a payer to let the app drive signing — CrossmintEvmWalletCheckoutPayer is the easiest way to bridge a CrossmintEvmWallet into a payer.

Constructors

CrossmintCheckoutCryptoPayment

const CrossmintCheckoutCryptoPayment({
  required this.enabled,
  this.defaultChain,
  this.defaultCurrency,
  this.payer,
})
Creates a crypto payment config.

Properties

enabled

final bool enabled
Whether crypto payments are enabled.

defaultChain

final String? defaultChain
Chain preselected in the crypto tab (e.g. "base", "solana"). Must appear in the payer’s CrossmintCheckoutPayer.supportedChains when a payer is attached.

defaultCurrency

final String? defaultCurrency
Currency preselected in the crypto tab (e.g. "USDC").

payer

final CrossmintCheckoutPayer? payer
Optional app-side signer bridge. When null, the hosted page presents its own wallet-connect flow.