Token

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