Get Collection of LUW
GET <base_url>/startrail/api/v1/licensedUser/{luw-address}/collections
Please replace <base_url> as explained here.
Path Parameters
luw-address*
string
The address of LUW
Headers
Content-Type
string
application/json
accept
string
application/json
The API responds with 200 if the LUW address is found.
* indicates that the field always exists.
Array of object that defines collection
Array of object
[*].name*
Name of the collection. Stored on the contract
string
[*].symbol*
Symbol to identify the collection
string
[*].contractAddress*
Contract address of the collection contract. Will be visible on NFT marketplaces such as OpenSea
string
[*].ownerAddress*
Address of the owner of the collection
string
[*].createdAt*
Datetime of the collection creation
Date
[*].updatedAt*
Datetime of the last update of collection
Date
[
{
"name": "Super Cool Tokens",
"symbol": "SCT",
"contractAddress": "0x87Ef5da2c87e047E7F005Efb8b68a93Dc94D161c",
"ownerAddress": "0x40b29c5fe4427f0C09Dd595B983a21322fe6A101",
"createdAt": "2023-03-24T03:20:31.877Z",
"updatedAt": "2023-03-24T03:20:31.877Z"
}
]The API responds with 404 if the LUW address is not found.
{
"statusCode": 404,
"message": "Cannot GET /api/v1/licensedUser/not-found-luw-address/collections"
}The API responds with 500 if there is an issue between the network.
// If the network is error or unknown error. Startbahn side need to check.
{
"statusCode": 502,
"message": "Bad Gateway"
}Last updated
Was this helpful?