BidForAdsDemo

Polygon
polygonscandexguru
Code Snippets

adsBannerUri

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