Nfts

Check if a user owns a validator NFT

get
Path parameters
ethosUserKeystringRequired
Responses
200
Successful response
application/json
get
GET /api/v2/nfts/user/{ethosUserKey}/owns-validator HTTP/1.1
Host: api.ethos.network
Accept: */*
[
  {
    "contractAddress": "text",
    "tokenId": "text",
    "name": "text",
    "description": "text",
    "imageUrl": "text",
    "thumbnailUrl": "text",
    "animationUrl": "text",
    "animationMime": "text",
    "tokenUri": "text",
    "attributesJson": null,
    "mintedAt": "text",
    "acquiredAt": "text",
    "lastActivityAt": "text",
    "createdAt": "text",
    "updatedAt": "text",
    "NftOwners": [
      {
        "ownerAddress": "text"
      }
    ],
    "collection": {
      "slug": "text"
    }
  }
]

Get NFTs owned by a user

get
Path parameters
ethosUserKeystringRequired
Query parameters
limitinteger · max: 1000OptionalDefault: 50
offsetnumberOptionalDefault: 0
Responses
200
Successful response
application/json
get
GET /api/v2/nfts/user/{ethosUserKey} HTTP/1.1
Host: api.ethos.network
Accept: */*
{
  "values": [
    {
      "contractAddress": "text",
      "tokenId": "text",
      "name": "text",
      "description": "text",
      "imageUrl": "text",
      "thumbnailUrl": "text",
      "animationUrl": "text",
      "animationMime": "text",
      "tokenUri": "text",
      "attributesJson": null,
      "mintedAt": "text",
      "acquiredAt": "text",
      "lastActivityAt": "text",
      "createdAt": "text",
      "updatedAt": "text",
      "NftOwners": [
        {
          "ownerAddress": "text"
        }
      ],
      "collection": {
        "slug": "text"
      }
    }
  ],
  "total": 1,
  "limit": 1,
  "offset": 1
}

Track a new NFT collection (Admin only)

post
Authorizations
Body
contractAddressstringRequired
Responses
200
Successful response
application/json
Responseany
post
POST /api/v2/nfts/track HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 26

{
  "contractAddress": "text"
}

No content