Forwarder

OP
etherscanblockscout
Code Snippets

execute

payable

Input should be passed in JSON format - Ex: { "from": "0x...", "to": "0x...", "value": "0", "gas": "0", "nonce": "0", "data": "0" }

The native currency value (in Ether) to send with this transaction (ex: 0.01 to send 0.01 native currency).

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: "0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7", method: "function execute((address from, address to, uint256 value, uint256 gas, uint256 nonce, bytes data) req, bytes signature) payable returns (bool, bytes)", params: [req, signature] } ], chainId: 10, from: "<YOUR_WALLET_ADDRESS>" }) }); const data = await response.json();