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