4
votes
Accepted
How to securely call Blockfrost or other API service from Smart Contract?
You can't call API services directly from the smart contract, and this is not something that the "IOG has yet to put that functionality in";
the same behaviour is not possible in any other ...
3
votes
Accepted
Is it MuesliSwap the only DEX with an API?
Minswap uses a GraphQL endpoint that you can find here:
https://monorepo-mainnet-prod.minswap.org/graphql/
Example:
curl --request POST \
--url https://monorepo-mainnet-prod.minswap.org/graphql/ \
...
2
votes
Accepted
How to get blockchain block load from blockfrost?
No Blockfrost endpoint retrieves this information.
As per this tweet, the current size of blocks is 88KB.
So, you can calculate the % of block load for each block this way:
( ...
2
votes
Accepted
Token price API
There is this from minswap:
https://api-mainnet-prod.minswap.org/coinmarketcap/v2/pairs
or this minswap blockfrost adapter:
https://github.com/minswap/blockfrost-adapter
2
votes
Api for historical USD rates?
Coingecko is what comes to my mind. Checkout https://www.coingecko.com/en/api/documentation -> /coins/{id}/history
2
votes
Accepted
How to specify the Cardano address for BlockFrost Transaction Endpoint?
Going by your question I will assume you are trying to get the transaction history of your wallet? The endpoint you are using requires an address previously associated with a transaction, and an ...
1
vote
How to know wallet name by wallet Address?
If you're looking for a simple API to get data from the Cardano Blockchain, you can use Koios or Blockfrost. You can use these APIs to get the wallet balance for example.
Cardano wallets don't have a ...
1
vote
Does nmkr.io provide public api?
To figure out if an NFT has been transferred to another wallet, you have to check the transactions the NFT was involved in. You can get that information from the blockchain using for example the koios ...
1
vote
Does nmkr.io provide public api?
You have to register on their site, then create a project. If you have an existing nft project, you'll need the policy keys and a wallet. The items labeled as projectuid and nftuid are custom IDs you ...
1
vote
Get list of users addresses that minted native asset NFT
Here's a way using the https://blockfrost.io API:
Fist you need to get the asset id, I assume you already have this because you know which NFT you want to look up.
Then you would query all ...
1
vote
Accepted
How can I find the logo of a token in the Cardano Token Registry?
You use https://tokens.cardano.org/metadata/{subject}/properties/logo. See the API doc.
1
vote
Accepted
How can I query the version of the node using the APIs?
You can't do it with cardano-cli but you can just run:
cardano-node --version
or
cardano-cli --version
without having to stop the node.
1
vote
Accepted
How To Get All Transactions of Associated With an Address In A Given Interval?
The address mentioned does not have any transactions associated with it.
If you're talking about transactions against account (not addresses, you can derive account by decoding bech32, and extracting ...
1
vote
How to get blockchain block load from blockfrost?
Since you're looking for a way without running a node, example using Koios (am sure blockfrost offers similar endpoints too):
Max size of block from current protocol can be found using epoch_params
...
1
vote
How to get assets with a specifc policy id from a wallet address using BlockFrost OpenAPI
You could do something like:
let assets = [];
let final = false;
let page = 1;
while (final !== true) {
const req = await get_function(url, page);
assets = [...assets, ...req.data];
page++;
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api × 62blockfrost × 19
wallet × 12
cardano-node × 11
nft × 8
cardano-cli × 7
javascript × 6
native-assets × 5
cardano-address × 5
address × 4
plutus × 3
transaction × 3
token × 3
cardano-db-sync × 3
cardano-serialization-lib × 3
dex × 3
cardano-api × 3
smart-contract × 2
plutus-pioneer-program × 2
ada × 2
daedalus × 2
python × 2
mainnet × 2
graphql × 2
integration × 2