TypeAlias.TransferNftParams
type TransferNftParams<TFeeDetails> = {
contractAddress: Address;
fees?: TFeeDetails;
standard: "ERC721" | "ERC1155";
to: Address;
tokenId: bigint;
value?: bigint;
};
Parameters for transferring NFTs (ERC‑721 / ERC‑1155 on EVM chains).
See
Type Parameters
Type Parameter | Default type | Description |
---|---|---|
TFeeDetails | FeeDetails | Network-specific fee type (defaults to FeeDetails). |
Properties
Property | Type | Description | |
---|---|---|---|
contractAddress | Address | The NFT contract address. | |
fees? | TFeeDetails | Optional network-specific fee parameters. | |
standard | "ERC721" | "ERC1155" | NFT standard to use: "ERC721" | "ERC1155". |
to | Address | The recipient wallet address. | |
tokenId | bigint | The token identifier. | |
value? | bigint | Amount to transfer for ERC‑1155 (required and > 0), ignored for ERC‑721. |