transferFrom

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

Example

import { transferFrom } from "thirdweb/extensions/erc721";
const transaction = transferFrom({
contract,
from: ...,
to: ...,
tokenId: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.