borrowUSDC

nonpayable

Use this function in your app

const response = await fetch('https://api.thirdweb.com/v1/contracts/write', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-secret-key': '<YOUR_SECRET_KEY>' }, body: JSON.stringify({ calls: [ { contractAddress: "0x6B596C803e4bCf7F48BB18DbE5b6b49639bCeA49", method: "function borrowUSDC(uint256 tokenId, uint256 amount, uint256 duration)", params: [tokenId, amount, duration] } ], chainId: 4202, from: "<YOUR_WALLET_ADDRESS>" }) }); const data = await response.json();