getAccountInfoInLaunchpad
view
Use this function in your app
const response = await fetch('https://api.thirdweb.com/v1/contracts/read', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-secret-key': '<YOUR_SECRET_KEY>'
},
body: JSON.stringify({
calls: [
{
contractAddress: "0xBcFa22a36E555c507092FF16c1af4cB74B8514C8",
method: "function getAccountInfoInLaunchpad(bytes4 proxyId, bytes4 launchpadId, uint256 slotId, uint256 quantity) view returns (bool[] boolData, uint256[] intData, bytes[] byteData)",
params: [proxyId, launchpadId, slotId, quantity]
}
],
chainId: 59144
})
});
const data = await response.json();