CrossmintCheckoutCryptoPayment class final

Crypto payment configuration — on-chain payment via a user-connected wallet or the Crossmint-hosted wallet flow.

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({required bool enabled, String? defaultChain, String? defaultCurrency, CrossmintCheckoutPayer? payer})
Creates a crypto payment config.
const

Properties

defaultChain → String?
Chain preselected in the crypto tab (e.g. "base", "solana"). Must appear in the payer's CrossmintCheckoutPayer.supportedChains when a payer is attached.
final
defaultCurrency → String?
Currency preselected in the crypto tab (e.g. "USDC").
final
enabled → bool
Whether crypto payments are enabled.
final
hashCode → int
The hash code for this object.
no setterinherited
payer → CrossmintCheckoutPayer?
Optional app-side signer bridge. When null, the hosted page presents its own wallet-connect flow.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited