Assets

Get user's units

Returns the authenticated user's hero IDs from BFH core ownership data

get/v1/me/units

Request

  • Base URL: https://api.bravefrontierheroes.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.bravefrontierheroes.com/v1/me/units
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.bravefrontierheroes.com/oauth2/auth, token URL https://auth.bravefrontierheroes.com/oauth2/token, scopes: openid profile)

Response

OK

countinteger
statusstring
unitsstring[]
wallet_addressstring

Example response

{
  "count": 19,
  "status": "OK",
  "units": [
    "200000143",
    "200000153",
    "200000159"
  ],
  "wallet_address": "0x4D8bF583BD2DD813B5e7ddEF05f268eC33f46458"
}

Changes

No recorded changes to this operation across all 1 revision of this API.