GET
/
v1
/
staking
/
citizens
/
s2
/
{id}
curl --request GET \
  --url https://api.unlinked.dev/v1/staking/citizens/s2/{id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "type": "s2",
  "image": "<string>",
  "id": "<string>",
  "itemCache": {
    "id": 123
  },
  "timelock": {
    "multiplier": 123,
    "endTime": 123,
    "time": 123,
    "timeFormatted": "<string>"
  },
  "land": {
    "id": 123
  },
  "bytes": {
    "points": 123,
    "staked": 123
  },
  "totalPoints": 123,
  "identity": {
    "id": 123
  }
}

Description

Get the staking details of a S2 citizen by its ID. Expects a wallet addrss on which the Citizen is staked.

Changelog

DateChanges
Mar 08 2024Introduced endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

address
string
required
Required string length: 42

Response

200
application/json
The staking details of a S2 citizen
type
enum<string>
required
Available options:
s2
id
string
required
itemCache
object
required
timelock
object
required
land
object
required
bytes
object
required
totalPoints
number
required
identity
object
required
name
string
image
string