Explorer

Get NFT Collections

Get the NFT collections of a user.

Available on

Ethereum
Ethereum
Polygon
Polygon
Avalanche
Avalanche
Arbitrum
Arbitrum
BSC
BSC
Fantom
Fantom
Linea
Linea
Metis
Metis
Optimism
Optimism
Base
Base
Polygon Amoy
Polygon Amoy

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

Not available on

Base Sepolia
Base Sepolia
HyperEVM Testnet
HyperEVM Testnet

Method Overview

MethodsDescription
async getNftCollectionsGet the NFT collections of a user

Get NFT Collections

async getNftCollections(OktoClient) returns the list of NFT collections of the user.

Parameters

ParameterTypeDescription
oktoClientOktoClientOkto client

Response

Success Response

Field NameTypeDescription
resultPromise<NFTOrderDetails[]>Returns the list of NFT collections

Note

In case of errors, debug the error using the error code and refer to the SDK errors and warnings documentation for more details.

On this page