get https://engine.play.onopen.xyz/user/uuid/
This endpoint returns all the relevant data for a specific user, including:
- The user's wallets, including the tickets they contain.
- The tickets inside custom wallets registered to the user.
The following example shows a payload returned by this endpoint:
{
"status": "ok",
"data": {
"userUuid": "affbab56-2dad-4fcf-82c8-e7450c57a0d4",
"userWallets": [
{
"address": "0xF8fcB0F4Caec2d7448c2bb579122d246f31A934D",
"tickets": [
{
"id": "POLYGON-1-1",
"blockchainHumanId": "POLYGON",
"eventIndex": 1,
"tokenId": 1,
"eventContract": "0x6afa4c6d3c8c8c860f7bcc13c9f9cb2721cc09b8"
},
{
"id": "POLYGON-3-3",
"blockchainHumanId": "POLYGON",
"eventIndex": 3,
"tokenId": 3,
"eventContract": "0x5BFA4c6d3C8c8c860F7BcC13C9f9CB2721cC09b8"
}
]
}
]
}
}
The returned payload will contain the following fields:
key | description |
---|---|
status | Always ok , this might change in the future |
data | data block (see below) |
Data block
key | description |
---|---|
userUuid | The user Uuid |
userWallets | Array of user wallet blocks (see below) |
customWalletTickets | Array of ticket blocks (see below) that were initially sold to the queried user. |
User wallet block
key | description |
---|---|
address | The blockchain address of the wallet |
tickets | Array of tickets blocks (see below) located in the wallet |
Ticket block
key | description |
---|---|
id | The NFT ID of the ticket |
blockchainHumanId | The human ID of the blockchain on which the ticket is located |
eventIndex | The event index of the ticket |
tokenId | The token ID of the ticket |
eventContract | The blockchain address of the tickets event |
initialAddress | The initial address where the ticket was sent. The user might have moved the ticket to a different address after the event completed, this isn't tracked by this endpoint. |