Shield NFTs
Imports
import {
NETWORK_CONFIG,
TXIDVersion,
type NetworkName,
type RailgunNFTAmountRecipient,
} from "@railgun-community/shared-models";
import {
gasEstimateForShield,
populateShield,
} from "@railgun-community/wallet";
import { type Wallet, type HDNodeWallet, Contract, ZeroAddress } from "ethers";
import {
getGasDetailsForTransaction,
getShieldSignature,
serializeERC721Transfer,
} from "../util";
import {
TEST_NETWORK,
TEST_NFT_ADDRESS,
TEST_NFT_SUBID,
} from "../../utils/constants";
import { getProviderWallet } from "../../utils/provider";Gas Estimate
Populate Transaction
Example Usage
Last updated