ReservoirApprovalProxy

Ancient8
Ancient8 Explorer

Bulk Transfer With Execute

(bulkTransferWithExecute)

nonpayable


transfers

Input should be passed in JSON format - Ex: [{ "items": [{ "itemType": "0", "token": "0x...", "identifier": "0", "amount": "0" }], "recipient": "0x..." }]

executionInfos

Input should be passed in JSON format - Ex: [{ "module": "0x...", "data": "0", "value": "0" }]

conduitKey


Sign In

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function bulkTransferWithExecute(((uint8 itemType, address token, uint256 identifier, uint256 amount)[] items, address recipient)[] transfers, (address module, bytes data, uint256 value)[] executionInfos, bytes32 conduitKey)",
params: [transfers, executionInfos, conduitKey]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});