Collections

Collections

Get list of collections

The list of collections returned can be filtered by passing in parameters to this function.

  • Typescript Core SDK

📚SDK REFERENCE

  • listCollections

Request

Get a list of collections with "NFT" in the collection name or description:

const getListCollections = async (keyword: string) => {
  const response = await client.listCollections({
    keyword,
  });

  return response.result;
};

getListCollections('NFT')
  .then((result) => {
    console.log(result);
  })
  .catch((e) => {
    console.log(e);
  });

Example response

  • Kotlin (JVM) Core SDK

📚SDK REFERENCE

  • listCollections

Request

Get a list of collections ordered by name in ascending order:

  • Swift Core SDK

📚SDK REFERENCE

  • listCollections

Request

Get a list of collections ordered by name in ascending order:

  • Golang Core SDK

📚SDK REFERENCE

  • ListCollections

  • C# Core SDK

📚SDK REFERENCE

  • ListCollections

Get details about a collection

  • Typescript Core SDK

📚SDK REFERENCE

  • getCollection

Request

Get details of a collection at a given contract address:

Example response

  • Kotlin (JVM) Core SDK

📚SDK REFERENCE

  • getCollection

  • Swift Core SDK

📚SDK REFERENCE

  • getCollection

  • Golang Core SDK

📚SDK REFERENCE

  • GetCollection

See GetCollection example in our SDK repo.

  • C# Core SDK

📚SDK REFERENCE

  • GetCollection

Last updated