User's Collections
Retrieves a list of collections created by the specified user with optional filters like mint type, token type, category, and pagination.
Query parameters
userAddressstringRequired
The address of the user whose collections are to be retrieved.
launchpadbooleanOptional
A filter for launchpad collections (optional).
mintTypestringOptional
A filter for the mint type of the collection (optional).
typestringOptional
A filter for the type of token (e.g., ERC721, ERC1155) (optional).
categorystringOptional
A filter for the category of the collection (optional).
chainIdstringOptional
The chain ID to filter collections by (optional).
pageintegerOptional
The page number for pagination (optional).
limitintegerOptional
The number of results per page (optional).
Responses
200
Collections retrieved successfully
application/json
500
Internal server error
application/json
get
GET /collection/getUserCollections HTTP/1.1
Host: launchpad.danlabs.xyz
Accept: */*
{
"message": "Collections retrieved successfully",
"collections": [
{
"name": "text",
"creator": "text",
"tokentype": "text",
"image": "text",
"minttype": "text",
"featured": true,
"collectionAddress": "text",
"category": "text",
"subcategory": "text",
"mintprice": 1,
"token_supply": 1,
"chainid": 1
}
]
}
Last updated