Skip to main content

sdk.erc721lazymint.approve

Home > @openformat/sdk > ERC721LazyMint > approve

ERC721LazyMint.approve() method

Grants approval to another address to transfer ownership of an ERC721 token. approve

Signature:

approve(params: ERC721ApproveParams): Promise<ContractReceipt>;

Parameters

ParameterTypeDescription
paramsERC721ApproveParams

Returns:

Promise<ContractReceipt>

{Promise<ContractReceipt>} - The transaction receipt for the approval operation.

Exceptions

{Error} - Throws an error if the approval operation fails.