Announcing Harmony Mainnet Support


October 27, 2022


← Back

We're happy to announce that Center.dev now supports Harmony.

Harmony is an EVM-compatible L1 with 2-second transaction finality and 100x lower fees than Ethereum. With its trustless cross-chain bridges, Harmony allows users to easily access other ecosystems including Ethereum while benefitting from the speed and low fees of the Harmony network.

Developers can now use Center's APIs to build NFT-related applications on Harmony. Center offers a wide suite of functionality that will help you ship your product faster, including access to:

  • Ownership and transfer data
  • Collection and asset data
  • Search
  • NFT Rendering
  • Market data (e.g., floor price, market cap)

Get started

Building an NFT-related application may seem daunting, but our APIs can help abstract away complex infrastructure details so you can focus on what matters to your users. We already support a wide variety of applications, including NFT marketplaces, wallets, data intelligence tools and portfolio trackers.

Ready to get started?

Need help or want more information?

Or check out a few examples:

Demo: Search for a collection

Note: Limited to 3 results for display purposes

Request

curl -XGET "<https://api.center.dev/v1/harmony-mainnet/search?query=Harmonauts&limit=3>"

Result

{
  "results": [
    {
      "id": "harmony-mainnet/0x8Af9464D665Aef2036596300033428Ce93ff07b7",
      "name": "Fallen Harmonauts",
      "previewImageUrl": "<https://cdn.center.app/v2/1666600000/811a65e004e03179d40f491fbae18301c2949d965c70a51f397aa4f14daa2646/a002321050e570d31b20678c62aac399ed33ea461a2f360f091acbfd271688cf.png>",
      "relevance": 0,
      "url": "<https://center.app/harmony-mainnet/collections/0x8Af9464D665Aef2036596300033428Ce93ff07b7>",
      "address": "0x8Af9464D665Aef2036596300033428Ce93ff07b7",
      "type": "Collection"
    },
    {
      "id": "harmony-mainnet/0x5C5d3C833a7e0C3Fb5b50eA48C13D8dB063E5505",
      "name": "HARMONAUTS FORCE ONE (AR CARDS)",
      "previewImageUrl": "<https://cdn.center.app/v2/1666600000/77682a01bec8b3ab6c01d3026c44999d482861a5e865e08f32b096fa8d699f10/a5cd90ec4c805e19694be0c4690bb6199bb0d417b0dc8013d28dc39f68335a81.gif>",
      "relevance": 0,
      "url": "<https://center.app/harmony-mainnet/collections/0x5C5d3C833a7e0C3Fb5b50eA48C13D8dB063E5505>",
      "address": "0x5C5d3C833a7e0C3Fb5b50eA48C13D8dB063E5505",
      "type": "Collection"
    },
    {
      "id": "harmony-mainnet/0x6bA33a56f254aC8Ba143844E22f517081ea2cb5B",
      "name": "Harmonauts Exploring Kyiv",
      "previewImageUrl": "<https://cdn.center.app/v2/1666600000/224ed014350eb6092a5605a0def56bbe968c9cae6c6ae7f8490695fac0b22100/903aff28eccf9cdff9fd6324e8805e1789a82f9dffddf7706191695dac2e2a10.png>",
      "relevance": 0,
      "url": "<https://center.app/harmony-mainnet/collections/0x6bA33a56f254aC8Ba143844E22f517081ea2cb5B>",
      "address": "0x6bA33a56f254aC8Ba143844E22f517081ea2cb5B",
      "type": "Collection"
    }
  ]
}

Demo: Return all owners of a collection

Note: Limited to 5 owners for display purposes

Request

curl -XGET "<https://api.center.dev/v1/harmony-mainnet/0xa1a5ace6e83b8a1cad9dbde899ca1a9df978d307/asset-owners?limit=5>"

Result

{
  "items": [
    {
      "token_id": "999295458499946717247564528413538590457631905",
      "owner": "0x1bA296b6C1845A92756Fb56EAc5b8327676ca3E0"
    },
    {
      "token_id": "3232843394762103529983319823561887343584544299",
      "owner": "0x1bA296b6C1845A92756Fb56EAc5b8327676ca3E0"
    },
    {
      "token_id": "9959582486858817961854600824154606259291583064",
      "owner": "0xD70922bbFf62904ACE6682E7F24e47F2493d1da7"
    },
    {
      "token_id": "10836475836738686882327846339852383908935670992",
      "owner": "0xD70922bbFf62904ACE6682E7F24e47F2493d1da7"
    },
    {
      "token_id": "15966508850455920672931756062201706220840636690",
      "owner": "0xD70922bbFf62904ACE6682E7F24e47F2493d1da7"
    }
  ],
  "paging": {
    "offset": 0,
    "limit": 5,
    "onLastPage": false
  }
}