Questions tagged [api]
Application Programming Interface
50
questions
2
votes
1
answer
17
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 ...
0
votes
1
answer
17
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
0
answers
17
views
Anyone interested in reviewing / testing new Cardano data intelligence platform?
I recently completed & deployed the BETA release for a data intelligence application built specifically for the Cardano Blockchain. Would anyone be interested in helping review / test? If yes, ...
0
votes
2
answers
39
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) ...
1
vote
0
answers
30
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
2
answers
38
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
1
answer
44
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 ...
0
votes
1
answer
17
views
How to loop through multiple pages of blockfrost api in Javascript
I'm trying to count the assets at a blockfrost api endpoint. It only shows 100 items on a page though. How do you loop through all the pages and extract the asset count? Thanks for any help.
const ...
0
votes
3
answers
68
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
0
answers
28
views
How can I Convert BlockFrost API Code to Dandelion API?
I have somehow managed to get a lot of code for BlockFrost API, however, I want to build some free applications for people to monitor blockchain data from a website dashboard.
To take advantage of the ...
0
votes
1
answer
28
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
1
answer
47
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 ...
2
votes
0
answers
80
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 ...
0
votes
1
answer
186
views
API to get NFT Floor Price
Does anyone know of a public API that I can use to get the floor price for ALL Cardano NFT projects. I have created a Database listing all the Cardano NFT projects (currently there are just over 5000 ...
0
votes
0
answers
65
views
How to get assets with a specifc policy id from a wallet address using BlockFrost OpenAPI
For context, I'm trying to get all NFTs with a policy id, but only from a wallet address. I'm using BlockFrost OpenAPI, and it seems that I can only get assets with a policy id from the entire ...
1
vote
0
answers
28
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?
0
votes
2
answers
67
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 ...
3
votes
1
answer
131
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 ...
1
vote
1
answer
179
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 ...
4
votes
2
answers
130
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();...
1
vote
1
answer
77
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?
0
votes
1
answer
32
views
Cardano dapp user authentication based on the wallet address
What are the best options to add user-authentication system based on the wallet address for my website? Thanks
1
vote
1
answer
61
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 ...
2
votes
1
answer
61
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 ...
0
votes
1
answer
47
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/...
1
vote
1
answer
176
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 ...
0
votes
0
answers
17
views
BlockFrost API Endpoint Request: Is there historical ADA supply data available?
Looking for ADA supply for each date for all of Cardano existence. Thank you!
3
votes
2
answers
81
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 ...
2
votes
1
answer
44
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) ...
1
vote
2
answers
184
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
91
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
226
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
4
votes
1
answer
158
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.
7
votes
5
answers
849
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, ...
2
votes
1
answer
63
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 ...
8
votes
2
answers
473
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 ...
2
votes
1
answer
51
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?
6
votes
3
answers
500
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 ...
5
votes
1
answer
254
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.
...
8
votes
2
answers
260
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 ...
4
votes
1
answer
80
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://...
8
votes
1
answer
137
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 ...
2
votes
1
answer
237
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 ...
3
votes
2
answers
372
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 ...
6
votes
1
answer
96
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 ?
2
votes
1
answer
325
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
1
answer
488
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 ...
4
votes
2
answers
507
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?
9
votes
1
answer
80
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 ...
29
votes
3
answers
592
views
How can a developer access the Cardano network?
As a developer building an application, what are different way to access the Cardano network?