sdk.erc721lazymint.getapproved
Home > @openformat/sdk > ERC721LazyMint > getApproved
ERC721LazyMint.getApproved() method
Retrieves the account approved to transfer the ownership of a specific token ID. getApproved
Signature:
getApproved(params: ERC721GetApprovedParams): Promise<string>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| params | ERC721GetApprovedParams |
Returns:
Promise<string>
{Promise<string>} - A Promise that resolves to the approved account address.
Exceptions
{Error} - Throws an error if there was an issue retrieving the approved account.