import { BlockchainType } from "../wallet/interfaces"; export interface CheckoutConstructorParams { hallidayPublicApiKey: string; blockchainType: BlockchainType; } export interface GetPriceBreakdownRequest { collectionId: string; tokenId: string; } export interface OpenCheckoutWindowParams { collectionId: string; tokenId: string; /** Wallet address to send NFT to */ destinationAddress: string; /** Url to asset's image */ assetImage: string; assetName: string; /** Url to asset's profile or information page */ assetUrl?: string; assetDescription?: string; callback?: () => Promise; } export interface DfkPriceBreakdown { /** * Price of nft */ /** True price of nft in wei crystal */ nft_price_crystal: string; /** Price of crystal in units of usdc (for viz only) */ crystal_usdc_exchange_rate: number; /** True price of nft in wei usdc */ nft_price_usdc: string; /** * Price of gas fees on dfk chain */ /** True gas cost of dfk chain gas in wei jewel */ gas_cost_jewel: string; /** Price of jewel in units of usdc (for viz only) */ jewel_usdc_exchange_rate: number; /** Total gas price of all dfk chain gas transactions in wei usdc */ gas_cost_usdc: string; /** * High level charges */ /** Flat fee in cents */ stripe_fee_flat: number; /** Fee stripe asks for in bps */ stripe_fee_bps: number; /** True fee Halliday asks for in bps */ halliday_fee_bps: number; /** Total price of entire purchase in cents of USD */ total_price_cents: number; }