Private NFT Transfers
Imports
import {
calculateGasPrice,
TXIDVersion,
type NetworkName,
type RailgunERC20AmountRecipient,
type RailgunNFTAmountRecipient,
type RailgunWalletInfo,
type TransactionGasDetails,
} from "@railgun-community/shared-models";
import {
getGasDetailsForTransaction,
getOriginalGasDetailsForTransaction,
serializeERC721Transfer,
} from "../util";
import {
gasEstimateForUnprovenTransfer,
generateTransferProof,
populateProvedTransfer,
} from "@railgun-community/wallet";
import {
TEST_NETWORK,
TEST_NFT_ADDRESS,
TEST_NFT_SUBID,
} from "../../utils/constants";
import { getProviderWallet } from "../../utils/provider";Gas Estimate
Generate Proof
Populate Transaction
Example Usage
Last updated