TypeAlias.TransferNftParams
type TransferNftParams<TFeeDetails> = {
contractAddress: Address;
fees?: TFeeDetails;
standard: "ERC721" | "ERC1155";
to: Address;
tokenId: bigint;
value?: bigint;
};
Represents the parameters for transferring ERC721 and ERC1155 tokens.
See
Type Parameters
Type Parameter | Default type |
---|---|
TFeeDetails | FeeDetails |
Properties
Property | Type | Description |
---|---|---|
contractAddress | Address | The address of the NFT contract |
fees? | TFeeDetails | The transaction fees details |
standard | "ERC721" | "ERC1155" | The token standard (ERC721 or ERC1155) |
to | Address | The recipient's address |
tokenId | bigint | The ID of the token |
value? | bigint | The transfer amount (for ERC1155 tokens) |