Questions tagged [api]
Application Programming Interface
62
questions
0
votes
1
answer
23
views
How to know wallet name by wallet Address?
I am fetching the data of ADA rate in USD through api(https://studio-api.nmkr.io/v2/GetAdaRates) and I want to fetch the some data of related to wallet like its wallet name, wallet image, wallet ...
0
votes
1
answer
22
views
How to get total fees of a NFT transaction in cardano blockchain?
Is there any api for to get transaction fees of the NFTs when buy or sold and does the transaction fees includes Royalty fees ?
2
votes
1
answer
29
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?
0
votes
2
answers
25
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 ...
1
vote
1
answer
78
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, ...
0
votes
1
answer
74
views
Compile errors when importing Cardano Serialization Lib Browser in React
I'm getting several compile errors as soon as I import @emurgo/cardano-serialization-lib-browser in my project, all of them similar to these:
ERROR in ./node_modules/@emurgo/cardano-serialization-lib-...
1
vote
1
answer
29
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 ...
0
votes
1
answer
36
views
Get list of users addresses that minted native asset NFT
I would like to get a list of user addresses, that minted a native asset NFT. Is this possible? I do not want current holders of the NFT, but the original minting NFT holders.
0
votes
1
answer
63
views
How can I find the logo of a token in the Cardano Token Registry?
I know this is the API for accesing the Cardano Token Registry (https://tokens.cardano.org/metadata/) but I don't know how to get and process the logo image of a token from there.
Anyone?
3
votes
1
answer
71
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 ...
0
votes
1
answer
169
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 ...
0
votes
1
answer
53
views
How can I query the version of the node using the APIs?
I want to know the version of a node using API.
I know I can use the CLI to know the version, but can't I use the API?
Any advice would be greatly appreciated!
https://input-output-hk.github.io/...
1
vote
2
answers
246
views
Token price API
Besides http://analytics.muesliswap.com/ticker - are there any other APIs that return token price?
0
votes
0
answers
23
views
Should you put the serialization library code in a express and node.js backend or just put it as helper function in your front-end app
So i am using the cardano-serialization-library to send transactions between addresses. Below is the code I am using.
buildSendADATransaction = async () => {
const txBuilder = await ...
2
votes
1
answer
179
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
48
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
2
answers
81
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
70
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
56
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
75
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
66
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
75
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
60
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
48
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/~...
1
vote
1
answer
176
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
113
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
437
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
1
answer
293
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
52
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
2
answers
119
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
242
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 ...
2
votes
1
answer
429
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
364
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
119
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
68
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
122
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
91
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
84
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
206
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 ...
3
votes
2
answers
103
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
53
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
272
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
144
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
349
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
180
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.
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, ...
2
votes
1
answer
97
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
677
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
54
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
829
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 ...