APE NFT TICKETS

Polygon
polygonscandexguru
Code Snippets

Airdrop

(Airdrop)

nonpayable

to

Input should be passed in JSON format - Ex: ["0x..."]

itemsIds

Input should be passed in JSON format - Ex: ["0"]

Connect Wallet

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function Airdrop(address[] to, uint256[] itemsIds)", params: [to, itemsIds] }); const { transactionHash } = await sendTransaction({ transaction, account });