collection-controller

getCollectionById

Returns collection by address

Request
path Parameters
collection
required
string (ContractAddress)

Address of the collection

Example: ETHEREUM:0xd07dc4262bcdbf85190c01c996b4c06a461d2430
Responses
200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

get/v0.1/collections/{collection}
Response samples
application/json
{
  • "id": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
  • "parent": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
  • "blockchain": "ETHEREUM",
  • "type": "CRYPTO_PUNKS",
  • "status": "PENDING",
  • "name": "string",
  • "symbol": "string",
  • "owner": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
  • "features": [ ],
  • "minters": [
    ],
  • "meta": {
    },
  • "bestBidOrder": {
    },
  • "bestSellOrder": {
    },
  • "originOrders": [
    ],
  • "self": true,
  • "statistics": {
    }
}

refreshCollectionMeta

Refreshes metadata for all items in the NFT collection

Request
path Parameters
collection
required
string (ContractAddress)

Address of the collection

Example: ETHEREUM:0xd07dc4262bcdbf85190c01c996b4c06a461d2430
Responses
200

OK

400

Bad Request

500

Internal Server Error

delete/v0.1/collections/{collection}/refreshMeta
Response samples
application/json
{
  • "code": "BAD_REQUEST",
  • "message": "string"
}

getCollectionsByOwner

Returns collection by owner

Request
query Parameters
blockchains
Array of strings (Blockchain)
Items Enum: "ETHEREUM" "POLYGON" "FLOW" "TEZOS" "SOLANA" "IMMUTABLEX"
Example: blockchains=ETHEREUM
owner
required
string (UnionAddress)

Owner of searching collections

Example: owner=ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb
continuation
string

Continuation token from the previous response

size
integer

The number of items to return

Responses
200

OK

400

Bad Request

500

Internal Server Error

get/v0.1/collections/byOwner
Response samples
application/json
{
  • "total": 0,
  • "continuation": "string",
  • "collections": [ ]
}

getAllCollections

Returns all collections

Request
query Parameters
blockchains
Array of strings (Blockchain)

Names of the blockchain networks. If no one specified, data from all blockchains will be returned

Items Enum: "ETHEREUM" "POLYGON" "FLOW" "TEZOS" "SOLANA" "IMMUTABLEX"
Example: blockchains=ETHEREUM
continuation
string

Continuation token from the previous response

size
integer <int32>

The number of items to return

Responses
200

OK

400

Bad Request

500

Internal Server Error

get/v0.1/collections/all
Response samples
application/json
{
  • "total": 0,
  • "continuation": "string",
  • "collections": [ ]
}