React Hooks
useMintTokenBatchWithETH
Mint a batch of tokens with ETH
Usage
Returns
mintTokenBatchWithETH
Function to mint a batch of tokens with ETH. See mintTokenBatchWithETH args.
- type:
({ channelAddress: string; to: string; tokenIds: bigint[]; amounts: number[]; mintReferral: string; data: string; transactionOverrides?: TransactionOverrides; }) => Promise<Log[] | undefined>
status
- type:
ContractExecutionStatus
the status of the transaction
txHash
- type:
string
the transaction hash of the transaction
error
- type:
any
the revert message if the transaction fails