thirdweb

Forwarder

OP
etherscanblockscout

Execute

(execute)

payable

req

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

signature


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

Sign in

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, 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] }); const { transactionHash } = await sendTransaction({ transaction, account });