APE NFT TICKETS

Polygon
polygonscandexguru
Code Snippets

Airdrop

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

Use this function in your app

const response = await fetch('https://api.thirdweb.com/v1/contracts/write', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-secret-key': '<YOUR_SECRET_KEY>' }, body: JSON.stringify({ calls: [ { contractAddress: "0x61B75879293F138ee9BD74b9d6Af1597201057DF", method: "function Airdrop(address[] to, uint256[] itemsIds)", params: [to, itemsIds] } ], chainId: 137, from: "<YOUR_WALLET_ADDRESS>" }) }); const data = await response.json();