Skip to main content

Questions tagged [api]

Application Programming Interface

Filter by
Sorted by
Tagged with
29 votes
3 answers
646 views

How can a developer access the Cardano network?

As a developer building an application, what are different way to access the Cardano network?
Marek Mahut - StakeNuts's user avatar
10 votes
1 answer
169 views

Between the cardano-graphql and cardano-rosetta APIs, which one is recommended for apps and dapps integration?

From what I understand, cardano-graphql as well as cardano-rosetta APIs enable interaction with the Cardano blockchain. Which of these is recommended for developing apps/dapps that interact with ...
lambda's user avatar
  • 804
9 votes
5 answers
1k views

How can you listen to all incoming transactions of a wallet address?

For a web app, I'm wondering is there an API/SDK that enables you to execute some code every time an address receives ADA, NFT, or native token? The wallet address receiving does not change. If not, ...
KronosXekri's user avatar
9 votes
1 answer
82 views

Are there any API's I can integrate with to accept Cardano as a merchant?

I run a small tourism startup and I'm looking for an API I can integrate with to accept Cardano on our website. Does anything like this exist? Sadly, neither Coinbase Commerce nor Bitpay are currently ...
Blake Brown's user avatar
8 votes
2 answers
771 views

Nami wallet showing getBalance returning a NaN

Hi i just recently started working with Nami Wallet to be implementes in a web app, but when im trying to get my wallet balance: window.cardano.getBalance().then(res => console.log(res)) its ...
Daniel Diaz's user avatar
8 votes
2 answers
338 views

Storing Secrets in Smart Contracts

I was wondering if there was an ability to store secrets, such as an API credential within a smart contract. When the contract gets executed it checks something remote. Maybe a weird example, but for ...
Rainer Zufall's user avatar
6 votes
3 answers
1k views

How to get all NFTs of a wallet address?

I'm trying to retrieve all assets which are located at the specific wallet address, I queried through the docs but couldn't find anything suitable. Can anybody provide me some help regarding this ...
Lukas Erhart's user avatar
6 votes
1 answer
371 views

Blockfrost, GrapgQL or any API for cardano help, working with javascript

I am building an MERN stack app cardano dex tool, I want to use Blockfrost. I have installed the SDK in Node.js backend, but there are only very few examples on how to get any kind of data from it. ...
Skinsky Gnudy's user avatar
6 votes
1 answer
111 views

Are there any Java APIs allowing to make applications on top of Cardano?

cf. title of the question, is there a Java API to make Cardano developers ?
Pierre's user avatar
  • 63
4 votes
2 answers
733 views

How can i generate new wallet address using cardano-wallet cli and cardano wallet api after created my wallet?

yoroi and daedalus provide UI to generate new wallet address, how can i use cardano-wallet cli and cardano rest api to generate new address?
mackie's user avatar
  • 433
4 votes
2 answers
483 views

Cbor address to bech32 type address in JS or python

I have managed to retrive a user address from a dapp connector wallet using JS: api_promise = window.cardano.{wallet}.enable(); api_promise.then(function(api) { addr_promise = api.getUsedAddresses();...
Lokinou's user avatar
  • 161
4 votes
1 answer
194 views

Are there any APIs for Cardano NFT ticker?

I am very new to Cardano NFT. I am trying to find an API to get the Cardano NFT live ticker. Please help me.
Surabhiv's user avatar
4 votes
1 answer
99 views

I couldn't find the requested endpoint

When I try to construct a transaction by following the Cardano Wallet Backend API (v2021-06-11) (Transaction New section) by writing this code in TypeScript: const resp: Response = await fetch(`http://...
Hrvoje Čukman's user avatar
3 votes
1 answer
270 views

Cardano Serialization Lib Usage

I am going through Cardano developer docs and the different APIs used to interact with the Cardano network. In the list is Cardano Serialization Lib which has the description, This is a library for ...
Skelli's user avatar
  • 327
3 votes
2 answers
117 views

Is there a publicly available Cardano API with pre-indexed blockchain data?

I'm looking for a public API that has idempotent endpoints that can be used to query for transaction data for a given address. Specifically, I'm looking for reward payout data. Does this exist in this ...
Henrik Moe's user avatar
3 votes
2 answers
571 views

Is there an API or website where I can see all addresses that hold a specific native token/asset?

I want to get all addresses that hold a specific native asset/token. I'm not talking about NFTs but tokens that have a quantity of more than one. Examples would be the spacecoins or the hosks. I want ...
eddex's user avatar
  • 3,828
3 votes
1 answer
762 views

Blockfrost assets api issues

We are developing an app that must get the asset id and get its details from metadata, right now we are using blockfrost.io. It works very good for policy Id's, we can use the pool.pm website and get ...
cheff wallets's user avatar
3 votes
1 answer
133 views

Is there a way to get the current circulating supply of an asset via API?

More specific, I am looking to fetch the circulating supply of native cardano tokens with the Blockfrost API. I know how to get the total supply, but I was wondering if there is any possibility to get ...
Maldy's user avatar
  • 58
2 votes
1 answer
57 views

What are the security implications to having cardano-wallet run on a public server?

I want to use a public cardano-wallet server running on mainnet, so I can connect to it and create wallets for users of my iOS app. How can I set up all transactions to be encrypted (over SSL) ...
Jeffrey Berthiaume's user avatar
2 votes
1 answer
568 views

Fetching exchange prices via an API?

Are there any APIs currently available that let you fetch Cardano native token prices without web-scraping? SundaeSwap, ADAX, MuesliSwap, and MinSwap don't appear to have this functionality. ErgoDEX ...
Ran Shorowitz's user avatar
2 votes
1 answer
34 views

Api for historical USD rates?

I want to fetch the historical USD rates from a timestamp, is there any api available for that could be used in javascript?
Yogesh's user avatar
  • 61
2 votes
1 answer
115 views

How to create and sign a transaction on a mobile device?

I would like to create a simple mobile application (iOS) that would create and sign a transaction and submit it through an API like Blockfrost to the network. Preferably that transaction would ...
Piotr Gorzelany's user avatar
2 votes
1 answer
63 views

Cardano Data for Data Analytics and Data Visualisation

Where can I get Cardano raw data or formatted data (e.g. no. of wallets, ADA price, etc) that I can use for data science, analytics and visualisation?
Crispin's user avatar
  • 41
2 votes
2 answers
563 views

Token price API

Besides http://analytics.muesliswap.com/ticker - are there any other APIs that return token price?
Madmutt's user avatar
  • 153
2 votes
1 answer
324 views

How To Get All Transactions of Associated With an Address In A Given Interval?

okay so given some reciving address such as addr1qxq7k07cnt8vstdmygu7lpw0tyyssu4trs27qq6f7xjpmvrdrr3j8j5k5yacga4ckv6lnx4p0la57q7nf24eszqk0r2q9axgqv how can I use a service like BlockFrost (or any ...
KryptoKing's user avatar
2 votes
1 answer
103 views

How to retrieve an addresses transaction history inside a plutus contract

I am trying to implement so logic to ensure smart contract (SC) validation upon certain conditions - which are derived from the end-users transaction history. If I parameterise the SC and take the ...
KryptoKing's user avatar
2 votes
1 answer
286 views

Daedalus wallet recovery phrase to Cardano Wallet Backend mnemonic sentence + mnemonic second factor

Daedalus wallet recovery phrase is 24 words. Cardano Wallet Backend mnemonic sentence is 15 words and mnemonic second factor is 9 words, adding up to 24 words. I tried restoring a wallet through ...
Jaanus Varus's user avatar
2 votes
1 answer
420 views

Blockfrost API and IPFS issues

Right now I have some NFTs to pin on the blockfrost IPFS. That way I don't need to run the node 24h a day. But for some reason the API returns an error when I try to add new assets. I'm using a free ...
cheff wallets's user avatar
2 votes
0 answers
119 views

How to link custom API endpoints with Plutus script? (Without Blockfrost or PAB)

I have a few questions, which I think might interest a lot of folks here. Me and my team we are developing an app on Cardano and we want to avoid using PAB or Blockfrost for our infrastructure. We are ...
Tasos Valtinos's user avatar
1 vote
1 answer
96 views

Is there an API for Cardano Blockchain Insights?

I'm looking for any API or any source that would allow me to export data & statistics? (Specifically Blockchain load per day) I found that DataStudio has stats, yet it doesn't have any export ...
Fill's user avatar
  • 25
1 vote
2 answers
134 views

find holders from same policy but different asset name

I have a policy ID with hundreds of NFT with different asset name (for eg TTS19, TTS20, etc) what is the easiest way to find all addresses/wallets which have this NFT(holders)? I tried with koios and ...
TTS17's user avatar
  • 346
1 vote
1 answer
135 views

I hear that Daedalus Is a Full Node Does That Mean I Can Set Up a DB Sync Server On Top of It?

The Daedalus wallet is said to be a full node wallet. Does that mean I can set up something similar to blockfrost on top of it? If so how?
KryptoKing's user avatar
1 vote
1 answer
234 views

Received the transaction id but the transaction never happened

I used to work with Blockfrost API to submit my transactions. A few days ago, I ran into this problem in which my transactions were submitted successfully (The API returned me the transaction id ...
Foad's user avatar
  • 29
1 vote
1 answer
348 views

Is it MuesliSwap the only DEX with an API?

I'd like to build a backend that brings data from all Cardano DEXes. I have been exploring this link: https://docs.muesliswap.com/cardano/api/api-v1 Is it the only DEX that provides an API? I didn't ...
Falcon Stakepool's user avatar
1 vote
2 answers
63 views

How to get blockchain block load from blockfrost?

I'm currently going through Blockfrost documentation and trying to figure out if there is a way to fetch block load for each day. Seems like they don't have such option, in that case: Is there a way ...
Fill's user avatar
  • 25
1 vote
2 answers
317 views

How do I get the http endpoint to work for cardano-wallet?

Using a DigitalOcean Ubuntu droplet, I have: successfully installed cardano-node according to: https://developers.cardano.org/docs/get-started/installing-cardano-node/ cardano-cli 1.32.1 - linux-...
Jeffrey Berthiaume's user avatar
1 vote
1 answer
224 views

How to get NFT count of wallet address

I'm wanting to display the NFT count of a wallet on my website. I've gone through the blockfrost SDK and I don't see anything that relates to NFTs. Is there a method to return this value? Here is my ...
Murray's user avatar
  • 13
1 vote
1 answer
147 views

How can I configure and send a transaction to the Cardano chain using python

I have written some plutus contracts, but they use parameterisation and the params are gained through a REST API. I am using python3 to interface with the API, but would like to be able to script an ...
KryptoKing's user avatar
1 vote
1 answer
132 views

How can I add Webpack to a React app so I can use Lucid with it?

I have a React app (created with npx create-react-app) that doesn't have Webpack installed. I want to add lucid-cardano to it. Going through Lucid documentation, I found that Webpack is a dependency, ...
Falcon Stakepool's user avatar
1 vote
1 answer
43 views

Is there a possibility to fetch the volumen of e.g Minswap with Koios or Blockfrost?

I am looking for a way to get the volume of certain protocols on Cardano(e.g. Minswap or SundaeSwap). I thought of using Koios or Blockfrost, but I am not entirely sure how to get volume. If there's ...
Maldy's user avatar
  • 58
1 vote
0 answers
123 views

How to get prices, volume and latest transactions of a liquidity pool

I am working on a app to view charts and more. For the charts I need open, close, high, low prices for any intervals like 1min, 5min, 1h etc for a specific token/pool. So far there seems a lack of ...
mp4's user avatar
  • 46
1 vote
0 answers
63 views

Listening for rollbacks

How can you listen for all chain rollbacks? For example every time there is a rollback, based on the depth, I'd like to take some action on my app's backend. Is there any API that could enable this?
Myles's user avatar
  • 321
1 vote
1 answer
162 views

Get a list of top asset hodlers for a specific asset

I'm using the Blockfrost API to get a list of the top holders of an asset. ie. The people with the highest quantity of this asset in their wallet. I'm using Blockfrost's API, and the specific call I'm ...
Wazoosi's user avatar
  • 13
0 votes
2 answers
95 views

How to securely call Blockfrost or other API service from Smart Contract?

I just spent a few days trying to find a way to access account data from a smart contract using only plutus. Turns out IOG has yet to put that functionality in (at least that's how I understand it) ...
KryptoKing's user avatar
0 votes
1 answer
61 views

Is the Transaction Hash from block frost the same as the transaction id?

When making an API (HTTP) Get request to the blockfrost API service, you can specify an address and get the transactions at the address (https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~...
KryptoKing's user avatar
0 votes
2 answers
376 views

How to obtain PubKeyHash from Address ShelleyAddr

Is there a way to do this programmatically? I have an Address ShelleyAddr obtained from deserialiseFromBech32 AsShelleyAddress and need its Plutus.V1.Ledger.Crypto.PubKeyHash
Kwaggy's user avatar
  • 500
0 votes
2 answers
31 views

Does nmkr.io provide public api?

Does nmkr.io provide free usable cardano apis for NFTS or do we have to mint the nfts and build a project on their platform something like that ...and then we can use their api because in their apis ...
Yogesh's user avatar
  • 61
0 votes
1 answer
71 views

How to specify the Cardano address for BlockFrost Transaction Endpoint?

Hi im trying to call this https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1transactions/get from some code I wrote (images attached below) and get a None or Empty value ...
KryptoKing's user avatar
0 votes
3 answers
102 views

Creating wallets using apis

I am wondering whether the cardano block chain has the apis which i can integrate with a third arty cms. For example if i call an api the wallet has to be created and i can sent funds using the same ...
arunwebber's user avatar
0 votes
1 answer
96 views

How to enable cardano CLI REST API on DigitalOcean?

I've set up a Cardano node using DigitalOcean's droplet, and I've gotten to the point where I can run: cardano-wallet serve --port 1337 --mainnet --database ~/cardano/db --node-socket ~/cardano/...
Jeffrey Berthiaume's user avatar