GET
/
admin
/
api
/
v1
/
users
/
{address_or_code}
cURL
curl --request GET \
  --url https://merits.blockscout.com/admin/api/v1/users/{address_or_code} \
  --header 'Authorization: <api-key>'
{
  "address": "<string>",
  "balances": {
    "total": "<string>",
    "staked": "<string>",
    "unstaked": "<string>",
    "total_staking_rewards": "<string>",
    "total_referral_rewards": "<string>",
    "pending_referral_rewards": "<string>"
  },
  "logs": [
    {
      "id": "<string>",
      "action": "<string>",
      "details": {},
      "timestamp": "<string>"
    }
  ],
  "code": "<string>",
  "invited_users": [
    "<string>"
  ],
  "passport_score": {
    "score": "<string>",
    "expiry_at": "<string>",
    "details": {}
  }
}

Authorizations

Authorization
string
header
required

Authentication token, prefixed by Bearer: Bearer <token>

Path Parameters

address_or_code
string
required

Response

200
application/json

A successful response.

The response is of type object.