sdk.erc721base.getapproved
Home > @openformat/sdk > ERC721Base > getApproved
ERC721Base.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.