generateBidAbiData()
SDK | generateBidAbiData() |
---|---|
Description | Generate calldata to call the Tako Open Curation Contract |
Nature | Method of Class |
Parameters
Name | Type | Required | Description |
---|---|---|---|
contentId | string | YES | The id of publication that is wating to be curated, such as 0x8d11-0x07-DA-1cdac4db |
bidToken | string | YES | The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic |
bidAmount | bigint | YES | The amount of bidToken |
merkleIndex | number | NO | (Ignore it on testnet) |
merkleProof | string[] | NO | (Ignore it on testnet) |
Example Code
Example Returns
Last updated