Questions tagged [blockfrost]
Anything referencing to Blockfrost API.
90
questions
9
votes
2
answers
1k
views
How can I create a serialized transaction that can be submitted to the blockchain without a local full node?
My goal is to send a transaction (e.g. send 1 ADA from addr1A to addr1B) using the following endpoint of the blockfrost.io API:
"Submit an already serialized transaction to the network."
...
7
votes
4
answers
2k
views
Minting a NFT (collection) with Blockfrost
I see al lot of NFT projects where you can buy 1 or multiple NFT's for a certain price. Like unsigned_algorithms, CardanoTrees etc. I am curious how these projects are created without the use of smart ...
5
votes
1
answer
357
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
406
views
Cardano Node + DB Sync + Graph QL vs. Blockfrost API
I've been contemplating the value of essentially running all your own infrastructure by deploying a Cardano node alongside DB Sync and exposing it through Cardano GraphQL.
I like the idea of building ...
3
votes
2
answers
506
views
Blockfrost doesn't find address
I'm trying to query address details of a yet unused address via blockfrost. If I enter the Address in cardanoscan.io, it shows me the stake key of the address, well and fine. But on Blockfrost it ...
3
votes
5
answers
507
views
How to obtain wallet addresses of stake pool delegators?
I am trying to figure out how to write some scripts that will dish out rewards to delegators on my staking pool - I want to get the wallet addresses of delegators, and determine rewards based on the ...
3
votes
1
answer
62
views
Haskell + Blockfrost toolchain?
I am looking for a Haskell alternative to the cardano-serialization-lib, which can work in conjunction with blockfrost-haskell. So ideally, it should be able to easily create wallet keys, transactions,...
3
votes
2
answers
151
views
upload folder to ipfs using blockfrost
How to upload folder to IPFS using blockfrost.
able to upload a file using the following, but not able to upload a folder
curl "https://ipfs.blockfrost.io/api/v0/ipfs/add" \
-X POST \
-H ...
3
votes
1
answer
122
views
Unable to view images from ipfs.blockfrost.dev
I am unable to view images on ipfs.blockfrost.dev on my Mac. However, I can view them on my iPhone. I have tried Brave, Chrome, and Safari browsers.
Here is the error message I get when I click '...
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
3
answers
800
views
How to get Policy Script for a specific policy-ID
how can i get the script information for a given policyID. I am mostly interested in the "invalidAfter" Slot number.
So far i could not find any option for example by using Blockfrost API.
...
2
votes
1
answer
43
views
Blockfrost API and cexplorer.io about an asset does not match
When I use Blockfrost to query all the address holders of a token named NMKR,
curl -s -H "Project_id: $BLOCKFROST_PROJECT_ID" https://cardano-mainnet.blockfrost.io/api/v0/assets/...
2
votes
1
answer
167
views
How to hide API keys when using Lucid-Cardano
Lucid-Cardano requires me to expose my api key on my client side of my app. How can I go around hiding this. I have tried to call my express backend to make a blockfrost request so that I can keep my ...
2
votes
2
answers
63
views
I'd like to get assets from the wallet using blockfrost, but some errors occur
export const callApi = async (endPoint: string) => {
try {
const request: string = env.REACT_APP_BLOCKFROST_URL + endPoint
const response = await fetch(request, {
//@ts-ignore
headers: {
"...
2
votes
3
answers
163
views
Calculate tx fees via Blockfrost or any other provider?
Is there a way to calculate transaction fees without having to go through cardano-cli? Maybe something like Blockfrost? or any other API providers? I don't want to run a local node to do that.
2
votes
1
answer
36
views
What is supply.locked in the blockfrost API /network endpoint?
I have been working on a data analytics on Cardano using blockfrost. I am fairly familiar with Cardano tokenomics, but I have been wondering about the supply.locked data in the /network endpoint. Here ...
2
votes
1
answer
111
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
261
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
412
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
3
answers
353
views
Building a transaction on cardano-cli/api without running node?
Is there a way to build and sign transactions with the cardano-cli/api without running a node? I am trying to construct a transaction using the cli or api and submit it using blockfrost. It throws an ...
1
vote
2
answers
309
views
Send native tokens without running node
is there any library or proper guide to send custom/native tokens in NodeJS?
i don't want to run full node (cardano-node/cardano-wallet), just want to build and sign a transaction and submit it via ...
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
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
1
answer
421
views
PPViewHashesDontMatch and UnspendableUTxONoDatumHash error on redeeming funds from week03 example
I am trying to redeem the funds from the smart contract into the second wallet without running cardano-node (following the instructions from here: https://www.youtube.com/watch?v=ABtffZPoUqU&list=...
1
vote
1
answer
62
views
Staking balance and Reward in cardano
I want to get the staking balance and reward in Cardano. I am using the Blockfrost API and I can get the staking and reward amount using the stake address.
However, what I don't understand is that the ...
1
vote
1
answer
37
views
Get Delegations in Cardano
I am going to get delegations list for specific pool, epoch.
https://docs.blockfrost.io/#tag/Cardano-Epochs/paths/~1epochs~1{number}~1stakes~1{pool_id}/get
I found blockfrost api and tested.
My test ...
1
vote
2
answers
58
views
How to Run A DB Sync Server On Daedalus?
So I have been trying to do some fun things with Daedalus, and realised I should be able to query the node from it. This makes me wonder how to set up a limited database / querying system for my own ...
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
98
views
Is there a way to set a trigger on Blockfrost to know when an asset has been moved?
With Blockfrost, I can easily query which assets belong to a staking address using /accounts/{stake_address}/addresses/assets. I would like to use this approach to allow users to associate their ...
1
vote
2
answers
377
views
how to generate cardano new address using blockfrost.io?
Is it possible to generate new address and private key for cardano using blockfrost.io api,
that later on can use for transactions and adding it into wallet.
thank you
1
vote
1
answer
79
views
Is secure to Fetch Data from BlockFrost from the Front-End?
I am building a daap, but I must fetch data from Blockfrost in order to make the transaction, I am not sure if should i Add my personal project ID in a request from the front end. Currently i have ...
1
vote
1
answer
266
views
What is the difference between "on-chain-metadata" and "metadata" in the Blockfrost Endpoint
I am fetching my assets using the Blockfrost endpoint for a specific asset:
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}/get
But there are two metadata entries, one for "...
1
vote
1
answer
31
views
blockfrost.io API, reference inputs and redeemer tx_index
AIUI, when using the blockfrost.io API, the tx_index field in a redeemer contains the index of the enclosing transaction's input that it consumes (is that true ?).
However, with reference inputs, it ...
1
vote
2
answers
48
views
Get pool reward for specific epoch
I want to get pool(private pool) reward for specific epoch.
I searched blockfrost.io apis, can't find reward api.
How can I get reward by api? Or other solution will be fine like graphql.
1
vote
1
answer
36
views
Error occurs in simple request to blockfrost.io for multiple wallets
This is a screenshot of console log for my problem
export const deriveStakeAddress = async ( rewardAddress: string ):
Promise<string> => {
const endPoint = `...
1
vote
1
answer
103
views
Sending consecutive transactions will result in an error
Sending consecutive transactions will result in an error.
Using the simple-transaction example below, a transaction is created in Cardano-Serialization-Lib and sent to the blockchain using BrokFrost.
...
1
vote
1
answer
41
views
Can I use Blockfrost to call custom endpoints of my Plutus offchain contract?
Blockcfrost-related question. Can we expose our own custom endpoints in our off-chain Plutus contract, and use your API to send requests from our own frontend client? For example, if I expose an ...
1
vote
2
answers
262
views
What am i doing wrong while creating this staking transaction?
i am trying to create a staking transaction using cardano serialisation library and then use blockfrost/infinito to send the transaction.
I am using @emurgo/cardano-serialization-lib-nodejs: ^9.1.4,
...
1
vote
1
answer
190
views
How to connect to Testnet on Blockfrost API with blockfrost-js
I am getting an error connecting to the Blockfrost API with blockfrost-js
"Network token mismatch. Are you using token for the correct network?
See https://docs.blockfrost.io/#section/Available-...
1
vote
1
answer
68
views
How to interpret asset transactions data for a NFT?
Using the blockfrost API I quired the transaction history of a NFT using the following script:
from blockfrost import BlockFrostApi, ApiError, ApiUrls
api = BlockFrostApi(
project_id='...
1
vote
0
answers
39
views
How to use webhook on Blockfrost? [closed]
I want to trigger a function when someone sent ADA to an address addr1xxxxxx.
I use webhook from Blockfrost. I see this link (https://blockfrost.dev/docs/start-building/webhooks/using-webhooks) to ...
1
vote
0
answers
37
views
BlockFrost IPFS error
I can't upload an image to IPFS through
ipfs.blockfrost.io/api/v0/ipfs/add
from browser. I am trying to upload image dircetly from frontend of my application (browser extension). I get this response:
{...
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
1
answer
36
views
Mobile app security concerns
I'm looking into creating a mobile app for learning purposes and using Blockfrost as a data provider.
My initial idea is:
Device:
control the keys;
present the data;
Server:
fetch data from ...
1
vote
1
answer
492
views
Using Blockfrost api to get the price of an ada/token pair on Minswap
Can I use the Blockfrost API to query a pair that is on the Minswap DEX?
1
vote
1
answer
302
views
How do I get wallet holders for a cnfts project?
I'm super new to cardano blockchain development. Today, I just have a chance to explore on blockfrost api. I've been trying to find an answer of the question that
Is there any public APIs out there ...
1
vote
1
answer
84
views
How to interpret complex transaction data on cardano blockchain
for many of you this may seem as a complete noob question, but I am as many new to this world and can need a hand with this question.
I am currently looking at some random transactions of some NFTs ...