Questions tagged [blockfrost]

Anything referencing to Blockfrost API.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

TypeError: a bytes-like object is required, not 'Transaction'

I am trying to use the https://github.com/Python-Cardano/pycardano/blob/main/examples/native_token.py with minor changes, like pointing to mainnet (have tried preview as well). I have updated the ...
0 votes
1 answer
28 views

Whats the python script to check if an cardano address has a script flag?

I have a script to fetch asset name, address from a policy id with blockfrost API, now I need to see if the asset is in a smart contract script. I have no coding skills but followed a tutorial to get ...
  • 3
0 votes
1 answer
39 views

Need to Retrieve Info from (NFT)Assets in Policy ID to see if they are in a Plutus Contract (smart contract) or Not using Blockfrost API

I have a python script that retrieves the NFT asset name, and addresses of a specific policy ID using blockfrost API. Now I need to amend the script to add to the csv whether or not the specific asset ...
  • 3
0 votes
1 answer
32 views

Blockfrost API 403 Error in React Node JS app

I'm trying to get info about the latest block in my React Node JS app using Blockfrost and I'm running into an error: GET https://cors-anywhere.herokuapp.com/https://cardano-mainnet.blockfrost.io/api/...
  • 167
0 votes
1 answer
20 views

How can i get all buy and sell transactions for an NFT using blockfrost?

So I want to use blockfrost to extract all transactions of an NFT that are associated with marketplace trades. I understand that I can get an assets transaction history through /assets/{asset}/history ...
0 votes
2 answers
40 views

ScriptWitnessNotValidatingUTXOW while minting an NFT

I'm currently trying to create a minting process with lucid (v. 0.8.9) using Blockfrost on Mainnet. Minting policy: const mintingPolicy: MintingPolicy = lucid.utils.nativeScriptFromJson({ type: &...
  • 1
0 votes
1 answer
42 views

Is there a way to find the price of an asset from the JSON object of a transaction received from a Blockfrost webhook?

I am trying to find the price of an asset from a transaction JSON object that I receive from a Blockfrost webhook in which I track transactions from and to JPG store, the object has all the ...
  • 3
0 votes
1 answer
46 views

Trying to submit a minting transaction using pycardano and blockfrost

Hello Cardano developers, I really hope you can help me :) I'm developing a Dapp and I need to mint a NFT. This works through a website, so a user clicks in a button to mint a NFT. Simple, right? I ...
0 votes
3 answers
75 views

how to resolve this transaction submission error of MintToken with Mesh

I am Facing this error while transaction submission. ""transaction submit error ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (FromAlonzoUtxowFail (...
1 vote
1 answer
39 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 ...
0 votes
1 answer
23 views

Yarn doesn't recognise BlockFrost

Can anyone help me with this kind of error? I'm running this tutorial. https://github.com/blockfrost/blockfrost-js-examples/tree/master/examples/simple-transaction
1 vote
0 answers
26 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 ...
  • 101
0 votes
1 answer
58 views

How to get balance of enterprise address

https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1%7Baddress%7D~1extended/get I am using above blockfrost api to get address balance. However, it isn't working with enterprise ...
0 votes
1 answer
46 views

Transaction in Cardano

I created transfer function with blockfrost.js and cardano-serialization-lib. I refered following code. https://github.com/blockfrost/blockfrost-js/tree/master/examples/simple-transaction When I try ...
1 vote
2 answers
227 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 ...
  • 13
1 vote
2 answers
37 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
24 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 ...
2 votes
1 answer
84 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 ...
1 vote
0 answers
24 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
25 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 = `...
  • 33
2 votes
2 answers
42 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: { "...
  • 33
1 vote
1 answer
27 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 ...
  • 58
1 vote
1 answer
54 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. ...
  • 11
3 votes
1 answer
58 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 ...
  • 58
1 vote
1 answer
33 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 ...
2 votes
1 answer
33 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/...
  • 101
2 votes
3 answers
108 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.
  • 421
0 votes
2 answers
116 views

How to get unused address for stake key via Blockfrost API

Using Blockfrost API, I can query a stake address, and receive known addresses that have "state=used" like when I query them on my local node via Cardano-Wallet. I am interested in "...
1 vote
1 answer
202 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
206 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 ...
0 votes
1 answer
60 views

How to store scripts using blockfrost?

Greeting! I got that Blockfrost has API to get plutus script hash but how to store those scripts hashes? P.S. if I got script hash, can I build and send transaction using script's hash and Blockfrost?
2 votes
1 answer
157 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
139 views

How to convert Cardano Address?

Cardano has a number of different types of address from receiving address to enterprise address and many others. My question is in two parts: where can I find an exhaustive list of all address types? ...
0 votes
1 answer
41 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
1 answer
142 views

Get Transaction History Given Policy ID using Blockfrost API

What's the best say to get the transaction history of an NFT collection given the policy id? I looked into Asset Transactions but this requires both policy ID and the asset ID. Is there something else ...
0 votes
2 answers
83 views

How to get the history of an NFT or NFT Series from blockfrost?

Hi is there a quick API call to get the transaction history of a specific NFT or collection of NFTs in BlockFrost?
1 vote
2 answers
43 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 ...
0 votes
2 answers
78 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
173 views

Error creating a transaction with Cardano Serialization Library

I am trying to create a transaction using the Cardano Serialization Library but I cannot figure out what is going wrong. The code is const BlockFrost = require('@blockfrost/blockfrost-js'); const { ...
  • 327
1 vote
2 answers
53 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 ...
  • 25
0 votes
1 answer
58 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 ...
  • 13
2 votes
2 answers
250 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 ...
3 votes
1 answer
51 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,...
0 votes
1 answer
55 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
44 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
155 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 ...
  • 13
1 vote
1 answer
39 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 ...
0 votes
1 answer
70 views

find text from transaction message with blockfrost or koios

small (maybe) easy question. i want to find with blockfrost a "message" on a transaction. can someone help me a bit for this? i dont find currently anything. thank you in advanced. TTS17
  • 321
0 votes
1 answer
254 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
1 answer
67 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 ...