Logo
Cardano Ecosystem

Genius Academy

05/08/2023

·

710 views


Data providers available on Atlas: Maestro

As mentioned in the previous article, in order to build a transaction on Atlas you will need access to live blockchain data. For this reason, Atlas must be configured with a data provider to interface with Cardano.

Data providers available on Atlas: Maestro

As mentioned in the previous article, in order to build a transaction on Atlas you will need access to live blockchain data. For this reason, Atlas must be configured with a data provider to interface with Cardano.

Atlas supports multiple providers such as:

Details on how to configure a data provider for Atlas can be found in the official documentation.

In this article, we’ll have a closer look at a managed service provided by Maestro.

Maestro - Atlas Data Provider

Building and maintaining blockchain data provider can be a complex and time-consuming task, especially for developers who are new to blockchain technology. The Maestro data provider is powered by a performant blockchain indexer optimized for both liveliness and accuracy and available via an easy-to-use API.

By using Maestro’s Web3 APIs, developers can save time and resources that would have been spent developing a complex blockchain indexing pipeline. Maestro’s high-performance indexer offers enterprise-grade scalability, security, and reliability at a reduced cost. This can help accelerate the development process and allow developers to focus on building the core features of their DApps.

In the case of Atlas, it uses Maestro to retrieve the following on-chain information (see Maestro.hs):

  • fetchUtxosMultiAddress -  get all UTxOs controlled by each address from a list of addresses
  • getUtxoByRef - get UTxO information given a transaction output reference
  • getRefsAtAddress - get all UTxO references controlled by an address
  • findDatumByHash - get the datum value given by a datum hash
  • getCurrentSlot - get the current network slot
  • getEraHistory - get the blockchain era history
  • getProtocolParams - get the current protocol parameters
  • getSystemStart - get the network start time since genesis
  • getStakePools - get registered stake pool information
  • txSubmitPost - Submit a signed and serialized transaction to the network
     

Connecting Atlas to Maestro requires configuring the "config.json" file with a Maestro API key:

St ```
{

  "coreProvider": { "maestroToken": "<Your-API-Key>" },

  "networkId": "testnet-preprod",

  "logging": [{ "type": { "tag": "stderr" }, "severity": "Debug", "verbosity": "V2" }],

  "utxoCacheEnable": false

}

```

Free Maestro’s API key is available here.

AD

SNEKbot by DexHunter on CARDANO

Cardano's Telegram Trading Bot live on Cardano mainnet!TRADE NOW!


Read Original Article on Genius Academy

ORIGINAL SOURCE

https://academy.geniusyield.co/articles/...

Disclaimer: Cardano Feed is a Decentralized News Aggregator that enables journalists, influencers, editors, publishers, websites and community members to share news about the Cardano Ecosystem. User must always do their own research and none of those articles are financial advices. The content is for informational purposes only and does not necessarily reflect our opinion.


An image that says Learn Blockchain technology and get ahead in the industry with a link to the Cardano Academy.

More from Genius Academy

See more
What is Web3?
Genius Academy
What is Web3?

03/24/2023

·

1.3K views

Related News

See more

Featured News

See more



    DEFAULTENGLISH (EN)SPANISH (ES)RUSSIAN (RU)GERMAN (DE)ITALIAN (IT)POLISH (PL)HUNGARIAN (HU)JAPANESE (JA)THAI (TH)ARABIC (AR)VIETNAMESE (VI)PERSIAN (FA)GREEK (EL)INDONESIAN (ID)ROMANIAN (RO)KOREAN (KO)FRENCH (FR)CZECH (CS)PORTUGUESE (PT)TURKISH (TR)