Addresses

Show existing address

Endpoint

GET /api/addresses/0x8ca40e144be33799252083aa1598579f65bec6a1

Request

Route

GET /api/addresses/0x8ca40e144be33799252083aa1598579f65bec6a1

Headers

Content-Type: application/json

Response

Simulated Response

Status

200

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "data": {
    "id": "0x8ca40e144be33799252083aa1598579f65bec6a1",
    "type": "address",
    "attributes": {
      "address": "0x8ca40e144be33799252083aa1598579f65bec6a1",
      "category": "humpback",
      "bot": false,
      "developer": false
    }
  }
}

Show non-existing address

Endpoint

GET /api/addresses/non-existing-address

Request

Route

GET /api/addresses/non-existing-address

Headers

Content-Type: application/json

Response

Simulated Response

Status

404

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "error": "not_found"
}

Packages

Top 25 packages

Endpoint

GET /api/packages

Request

Route

GET /api/packages

Headers

Content-Type: application/json

Response

Simulated Response

Status

200

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "data": [
    {
      "id": "0x12d8e0e1e74a392d7ff7f5e074182e5c9717a02f",
      "type": "package",
      "attributes": {
        "address": "0x12d8e0e1e74a392d7ff7f5e074182e5c9717a02f",
        "owner_address": "0x8ca40e144be33799252083aa1598579f65bec6a1",
        "times_used_last_hour": 0
      }
    }
  ]
}

Show existing package

Endpoint

GET /api/packages/0x12d8e0e1e74a392d7ff7f5e074182e5c9717a02f

Request

Route

GET /api/packages/0x12d8e0e1e74a392d7ff7f5e074182e5c9717a02f

Headers

Content-Type: application/json

Response

Simulated Response

Status

200

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "data": {
    "id": "0x12d8e0e1e74a392d7ff7f5e074182e5c9717a02f",
    "type": "package",
    "attributes": {
      "address": "0x12d8e0e1e74a392d7ff7f5e074182e5c9717a02f",
      "owner_address": "0x8ca40e144be33799252083aa1598579f65bec6a1",
      "times_used_last_hour": 0
    }
  }
}

Show non-existing package

Endpoint

GET /api/packages/non-existing-address

Request

Route

GET /api/packages/non-existing-address

Headers

Content-Type: application/json

Response

Simulated Response

Status

404

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "error": "not_found"
}