The component for receiving coins supports different chain channels and some wallets for quick code scanning.
There is a place reserved for the Gas. If you want to use it, you can implement it yourself.
Property | Description | Type | Default | Version |
---|---|---|---|---|
target | Supporting chain corresponding receiving address | { [chainId: string | number]: string; } | () => Promise<{ [chainId: string | number]: string; }> | - | - |
supportedChains | Support for chain information | {chain: Chain, extra?: React.ReactNode}[] | - | - |
token | Token info | Token | - | - |
amount | The number of decimal places | number | bigint | - | - |
wallets | List of supported wallets | WalletMetadata[] | - | - |
onFinish | Click on the completed callback | () => void | - | - |
Property | Description | Type | Default | Version |
---|---|---|---|---|
name | name | string | - | - |
symbol | symbol | string | - | - |
decimal | decimal | number | - | - |
icon | Logo | React.ReactNode | - | - |
availableChains | The chain can be used | {chain: Chain; contract: string;}[] | - | - |