D2C fiat-crypto exchanges on your platform
Name | Description | Type |
---|---|---|
network | Blockchain network to be used (e.g., Solana, Ethereum, Binance Smart Chain). | string |
fiatCoin | The fiat currency the user wishes to use. | string |
cryptoCoin | The cryptocurrency the user wishes to buy or sell. | string |
fiatAmt | The amount of fiat currency the user wants to spend (for buying crypto). | number |
cryptAmt | The amount of cryptocurrency the user wants to sell. | number |
fixFiatCoin | Prevent the user from changing the fiat currency. | boolean |
fixCryptoCoin | Prevent the user from changing the cryptocurrency. | boolean |
fixFiatAmt | Lock the fiat amount, preventing the user from changing it. | boolean |
walletAddress | Wallet address where the purchased cryptocurrency should be sent. | string |
theme | Interface theme: light or dark . | string |
language | Language selection: en , zh-CN , zh-TW , ja , ko . | string |
openBuy
method from the useAuthCore
hook (from Particle Auth).