Explorer
Get Portfolio NFT
Get the NFT portfolio of a user.
The getPortfolioNFT
function retrieves the list of NFTs in the authenticated user's portfolio.
Available on




To enable these chains for your application, please configure them in the Okto Dashboard.
Not available on

Method Overview
Methods | Description |
---|---|
async getPortfolioNFT | Get the NFT portfolio of a user |
Get Portfolio NFT
async getPortfolioNFT(OktoClient)
returns the NFT portfolio of the user.
Parameters
Parameter | Type | Description |
---|---|---|
oktoClient | OktoClient | Okto client |
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Promise<UserNFTBalance[]> | Returns the NFT portfolio of the user |
Example
Note
In case of errors, debug the error using the error code and refer to the SDK errors and warnings documentation for more details.