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