import { ethers } from "ethers"; export const transferFrom = async ( reliquaryContract: ethers.Contract, from: string, to: string, tokenId: number ) => { try { const tx = await reliquaryContract.transferFrom(from, to, tokenId); await tx.wait(); } catch (error) { return error; } };