CRED CELO Marketplace

Celo
Celoscan
Code Snippets

DEFAULT_ADMIN_ROLE

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: "0x94B6dd84eAd0382e1A50A268d6b0AD4e300A67f7", method: "function DEFAULT_ADMIN_ROLE() view returns (bytes32)", params: [] } ], chainId: 42220 }) }); const data = await response.json();