generateBidBatchAbiData()
SDK | generateBidBatchAbiData() |
---|---|
Description | Similar to generateBidAbiData(), supports batch operations. |
Nature | Method of Class |
Parameters
Name | Type | Required | Description |
---|---|---|---|
contentIds | string[] | YES | The id of publication that is wating to be curated, such as 0x8d11-0x07-DA-1cdac4db |
bidTokens | string[] | YES | The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic |
bidAmounts | bigint[] | YES | The amount of bidToken |
merkleIndex | number | NO | (Ignore it on testnet) |
merkleProof | string[] | NO | (Ignore it on testnet) |
Example Code
Refer to: generateBidAbiData()
Last updated