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 Line item that purchases a specific token. Usually built via CrossmintCheckoutLineItem.token.
final class CrossmintCheckoutTokenLineItem extends CrossmintCheckoutLineItem

Constructors

CrossmintCheckoutTokenLineItem

const CrossmintCheckoutTokenLineItem({
  required this.tokenLocator,
  this.callData,
  this.additionalFields = const <String, Object?>{},
})
Creates a token line item.

Properties

tokenLocator

final String tokenLocator
Token locator (e.g. "crossmint:<token-id>").

callData

final Map<String, Object?>? callData
Optional call data passed to the on-chain purchase transaction.

additionalFields

final Map<String, Object?> additionalFields
Forward-compatibility escape hatch — extra keys appended to the JSON payload.