Users
How to use the API to get information about users and their tokens
User Lookup
Lookup all users who own the token in the collection
Fully Qualified Game Name
com.studio.game
Qualified Collection Name
armor01
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
GET /users/{fqGn}/{qCn}/ HTTP/1.1
Host: game-api.openvessel.io
Accept: */*
{
"response": [
{
"address": "text"
}
]
}
Lookup all users who own the token
Fully Qualified Game Name
com.studio.game
Qualified Collection Name
armor01
Qualified Token Name
shield
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
GET /users/{fqGn}/{qCn}/{qTn} HTTP/1.1
Host: game-api.openvessel.io
Accept: */*
{
"response": [
{
"address": "text",
"amount": 1
}
]
}
User Token Lookup
Lookup all tokens in the game by the user
Filter by blockchain address of the given user
0xcafe000102030405060708090a0b0c0d0e0fbeef
Pattern: ^0x[a-fA-F0-9]{40}$
Fully Qualified Game Name
com.studio.game
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
GET /user/{address}/tokens/{fqGn}/ HTTP/1.1
Host: game-api.openvessel.io
Accept: */*
{
"response": [
{
"fqTn": "text",
"totalSupply": 1,
"amount": 1
}
]
}
Lookup all tokens in the collection by the user
Filter by blockchain address of the given user
0xcafe000102030405060708090a0b0c0d0e0fbeef
Pattern: ^0x[a-fA-F0-9]{40}$
Fully Qualified Game Name
com.studio.game
Qualified Collection Name
armor01
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
GET /user/{address}/tokens/{fqGn}/{qCn}/ HTTP/1.1
Host: game-api.openvessel.io
Accept: */*
{
"response": [
{
"fqTn": "text",
"totalSupply": 1,
"amount": 1
}
]
}
Lookup the details about the user token
Filter by blockchain address of the given user
0xcafe000102030405060708090a0b0c0d0e0fbeef
Pattern: ^0x[a-fA-F0-9]{40}$
Fully Qualified Game Name
com.studio.game
Qualified Collection Name
armor01
Qualified Token Name
token
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
GET /user/{address}/tokens/{fqGn}/{qCn}/{qTn} HTTP/1.1
Host: game-api.openvessel.io
Accept: */*
{
"response": {
"fqTn": "text",
"totalSupply": 1,
"amount": 1
}
}
Token Object
totalSupply
number
Total number of minted tokens
amount
number
Number of tokens user owns
Last updated
Was this helpful?