ERC721Staking

BNB Smart Chain
bscscandexguru
Code Snippets

availableRewards

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: "0x74E6db49DAF7e576EED47947dd1C3Fea468278B0", method: "function availableRewards(address _staker) view returns (uint256)", params: [_staker] } ], chainId: 56 }) }); const data = await response.json();