Skip to main content

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

KeybanAccount#transferNft

Type Parameters

Type ParameterDefault type
TFeeDetailsFeeDetails

Properties

PropertyTypeDescription
contractAddressAddressThe address of the NFT contract
fees?TFeeDetailsThe transaction fees details
standard"ERC721" | "ERC1155"The token standard (ERC721 or ERC1155)
toAddressThe recipient's address
tokenIdbigintThe ID of the token
value?bigintThe transfer amount (for ERC1155 tokens)