Get list of burn(s) by users
Important:
Request headers are required. See API basics introduction for more information.
Get list of transfer(s) by users
Endpoint
GET /burn?user_uid={uid}
- Returns the list of
burn
details for givenuser_uid
associated with the given App (set by the X-API-KEY).
Parameters
Query parameters
Query parameter | Description |
---|---|
user_uid | The unique identifier of the user for this app (ex. 813231035224). |
Response
You will receive the list of burn(s) details including the following fields:
Response fields | Type | Description | Condition |
---|---|---|---|
uid | String | The UID of the burn. | Mandatory |
status | String | The status of the burn (pending | done). | Mandatory |
asset_uid | String | The UID of the asset burned. | Mandatory |
from_user_uid | String | The UID of the user who is burning the asset. | Mandatory |
created_at | String (Timestamp) | The timestamp of the burn creation. | Mandatory |
Response example
{
"success": true,
"data": [
{
"uid": "213134081289",
"status": "Done",
"asset_uid": "112144981245",
"from_user_uid": "223144788242",
"created_at": "2023-08-10T14:07:14.494142Z",
},
...
]
}
Example
The following example fetches the burns details for user 111111111111.
# API_KEY is your api key
# TOKEN is the access token generated with your api key secret
curl -i \
-X GET \
-H "Content-Type: application/json" \
-H "X-Api-Key: API_KEY" \
-H "Authorization: Bearer TOKEN" \
"https://api.getoriginal.com/v1/burn?user_uid=111111111111"
Updated about 1 year ago