Docs

transferFrom

Calls the "transferFrom" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.