Docs

safeBatchTransferFrom

Prepares a transaction to call the "safeBatchTransferFrom" function on the contract.

Example

import { safeBatchTransferFrom } from "thirdweb/extensions/erc1155";
const transaction = safeBatchTransferFrom({
contract,
from: ...,
to: ...,
tokenIds: ...,
values: ...,
data: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.