Skip to main content

Return

An object containing the show and close functions to initiate NFT transfers from your account to another account

Import

import { useTransferModal } from "@0xsequence/marketplace-sdk/react";

Example

Basic usage:
const { show: showTransferModal } = useTransferModal();

return (
  <button
    onClick={() => {
      showTransferModal({
        collectionAddress: collectionAddress,
        chainId: collectionChainId,
        collectibleId: tokenId,
      });
    }}
  >
    Transfer
  </button>
);