Questions tagged [api]
Application Programming Interface
62
questions
29
votes
3
answers
641
views
How can a developer access the Cardano network?
As a developer building an application, what are different way to access the Cardano network?
10
votes
1
answer
165
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 ...
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, ...
9
votes
1
answer
81
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 ...
8
votes
2
answers
731
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 ...
8
votes
2
answers
329
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 ...
6
votes
3
answers
922
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 ...
6
votes
1
answer
110
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 ?
5
votes
1
answer
355
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.
...
4
votes
2
answers
688
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?
4
votes
2
answers
434
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();...
4
votes
1
answer
186
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.
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://...
3
votes
1
answer
256
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 ...
3
votes
2
answers
113
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 ...
3
votes
2
answers
544
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 ...
3
votes
1
answer
724
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 ...
3
votes
1
answer
110
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 ...
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) ...
2
votes
1
answer
506
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 ...
2
votes
1
answer
32
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?
2
votes
1
answer
110
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 ...
2
votes
1
answer
56
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?
2
votes
1
answer
259
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 ...
2
votes
1
answer
98
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 ...
2
votes
1
answer
283
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 ...
2
votes
1
answer
410
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 ...
2
votes
0
answers
117
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 ...
1
vote
1
answer
81
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 ...
1
vote
2
answers
130
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 ...
1
vote
1
answer
129
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?
1
vote
1
answer
221
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 ...
1
vote
1
answer
276
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 ...
1
vote
2
answers
58
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 ...
1
vote
2
answers
303
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-...
1
vote
1
answer
217
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 ...
1
vote
1
answer
140
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 ...
1
vote
2
answers
389
views
Token price API
Besides http://analytics.muesliswap.com/ticker - are there any other APIs that return token price?
1
vote
1
answer
109
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, ...
1
vote
1
answer
32
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 ...
1
vote
0
answers
90
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 ...
1
vote
0
answers
59
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?
1
vote
1
answer
157
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 ...
0
votes
2
answers
88
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) ...
0
votes
1
answer
54
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/~...
0
votes
2
answers
362
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
0
votes
2
answers
27
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 ...
0
votes
1
answer
63
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 ...
0
votes
3
answers
87
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 ...
0
votes
1
answer
90
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/...