RubberRewarder

BNB Smart Chain
bscscandexguru
Code Snippets

changeReward

nonpayable

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: "0xFE6D95da8187c765f38F1400b41Fa9D5E670dEDF", method: "function changeReward(address newReward, string newTicker, uint8 newDecimals)", params: [newReward, newTicker, newDecimals] } ], chainId: 56, from: "<YOUR_WALLET_ADDRESS>" }) }); const data = await response.json();