Questions tagged [api]
The api tag has no usage guidance.
32
questions
1
vote
0
answers
9
views
Get all adresses with less than 3000 transactions in a blocks interval
Given a block interval, I want to get every Solana address with less than 3,000 transactions.
For the moment, I check every block in the interval and write down the addresses. But I need 3 extra API ...
1
vote
1
answer
36
views
Multiple SPL Token Balance with one request
To get the balance of a specific token from a wallet, I use getTokenAccountsByOwner, but this is giving the balance for only one token, and I need to request for more than one token.
I was wondering ...
1
vote
1
answer
34
views
Is there any decentralized and secure alternative to QuickNode?
I want to develop a Solana wallet using the Flutter framework. So far it is possible using the QuckNode API service. However, I think it is not a safe approach to rely on a centralized service. What ...
1
vote
1
answer
21
views
Why aren't SPL token TXs included in getSignaturesForAddress(...)?
For instance:
https://solscan.io/account/2LshMLoR8QJkuAv7m6xAs4tYaS5XTfF4Yame21f1Ls9o
Currently, there're 6 TXs on the main tab.
On the SPL Transfers tab the most recent TX with USDC ($1100) was made ...
0
votes
1
answer
28
views
How to parse changes of the balances in json of a TX?
I sent 0.13 SOL from one ordinary wallet to other. There's been no interraction with a smart contract, nor was it a token but SOL sent.
Here's a part of a TX in its raw form which I've obtained via ...
0
votes
1
answer
29
views
Solana validator stake history
Is there any way to get the stake history for a validator on Solana. I am trying to analyze the performance of validators on the network and am able to use the getInflationReward method ...
0
votes
1
answer
111
views
How can I get block data with all transactions with one Solana API request?
How can I get the last block or slot with all transactions in it with one Solana API request? The way I found: getSlot() -> getBlock(slotNumber). The problem with this method is that it is very ...
3
votes
1
answer
109
views
Is there an API to get the balance per day for an account?
I'm looking a way to get the account tranfers for an specific day.
Is this possible?
4
votes
1
answer
40
views
Storing and reading data on user account
Is it possible to store user notes in his account or maybe some way around?
Wanna make some kind of on-chain KeePass. Ideally just with web API in React or smth.
Thank you.
1
vote
3
answers
105
views
Best multi-chain provider?
What’s the best multi-chain provider? I want to use Polygon, Avalanche, BNB, Solana, & Ethereum. Having low latency and reliability are my main requirements.
3
votes
3
answers
99
views
How to mint Solana NFT?
Is there any API I can use which can be used without the need for smart contracts?
Irwing Tello
3
votes
3
answers
394
views
Is there a Solana NFT API to get NFT metadata on Solana?
Hi I'm new to the Solana ecosystem, and I don't know where I can start, any help is appreciated
Irwing Tello
4
votes
2
answers
153
views
minting cNFTs with Solana Pay QR code
I'm trying to create a qr code so people can scan it and mint a cNFT. I'm using a transaction request as shown in the Solana Pay docs and using Metaplex Bubblegum for state compression. This is on ...
0
votes
0
answers
14
views
Getting too many requests error own worpress plugin?
Hello everyone recently i was developing a wordpress plugin to check SLP transactions from and to wallet by providing both wallet addresses and use it on my own website. Recently it was working fine. ...
0
votes
0
answers
18
views
Application Blockchain Interface (ABCI)
Terndermint and Lachesis consensus engines, both support Application Blockchain Interface (ABCI). Could Solana's architecture be adapted to offer the same functionality?
1
vote
1
answer
89
views
How to identify whether an TX is a simple incoming "SOL/Token transfer" one?
I have a list of transactions that I periodically fetch via Solana API. Out of those, I need to identify the ones that are:
incoming that transfer SOL
incoming that transfer a token (USDT, USDC, ...
5
votes
2
answers
397
views
Are mint address and token address identical?
Let's take USDT token
https://solscan.io/token/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
I've fetched some of my transaction via Solana API method gettransactions. In those where USDT is transfered,...
0
votes
0
answers
17
views
status.solana.com api is replying with a 401 code
Our project has been utilizing the api from status.solana.com to inform users when Solana is having trouble performing transactions. It has been working well until today. I just started getting a 401 ...
3
votes
1
answer
325
views
Extract specific information from a transaction
I need to extract this info from a transaction:
from, to wallet addresses
asset: SOL or a token (what token?)
amount transfered
block_timestamp
I know how to get info of a transaction - https://docs....
1
vote
1
answer
208
views
How to get last N transactions by account/address, via public API?
I have a list of addresses, thousands, and I need to monitor incoming transactions to them. Some of them are native Solana addresses, other are tokens.
How will I get the last 3-5 transactions for a ...
2
votes
1
answer
67
views
How to take off Discord Roles within minutes of NFT holders when they sold or transfer their nfts?
We are building a Discord holder verification tool on solana and we are almost done with 80% work
We are using metaplex SDK to find nfts in the wallet of users.
But we have one query how to have a ...
1
vote
1
answer
62
views
Pubkey of Token account?
Some API end points accept
<string> - Pubkey of Token account to query, as base-58 encoded string
as an account address.
What's "Pubkey of Token account"?
And how to get one ...
1
vote
2
answers
66
views
Retrieve data presented on Solana Explorer page
I am wondering if there is any publicly available API to retrieve the data that is presented on the frontpage of https://explorer.solana.com such as live cluster stats and live transactions stats?
2
votes
1
answer
54
views
Resources to learn how Solana RPC API works?
I'm doing a project with Solana, I'm trying to learn how the RPC API works but it's very difficult because there isn't enough information on https://docs.solana.com/developing/clients/jsonrpc-api Can ...
1
vote
1
answer
74
views
Specification for Solana RPC API
Is Solana's JSON RPC API doc generated off a spec, like OpenRPC? Or is it just manually updated by core devs?
Browsing the commits, it feels like it is the latter.
1
vote
1
answer
94
views
Latency is RPC response and websocket
I have a websocket which points at my wallet, And I also have a websocket setup to get the latest event on my wallet.
I have tried sending an airdrop from CLI tool : link
The moment the transaction ...
1
vote
1
answer
68
views
Meaning of slotSubscribe
What does the slot in slotSubscribe actually mean? It is not processed, confirmed, or finalized from what I can tell.
Edit: The official documentation is not useful.
3
votes
2
answers
123
views
How to get Solana network status via API?
Are there any RPC endpoints or public APIs that provide the cluster health information that is available here: https://status.solana.com/?
4
votes
2
answers
764
views
Getting SOL balance via api for an address
I'm trying to just get the SOL balance, but I get returned a full list of tokens.
https://public-api.solscan.io/account/tokens?account=34qHtfUqxgsnTDewwoXEXuhknymJ1sqoXD7H38aKADEw
I'm using solscan ...
3
votes
2
answers
38
views
Is it possible to use the request crate inside of a solana program to make a GET request to an API, and parse it inside the program? [duplicate]
Is it possible to use the request crate inside of a solana program to make a GET request to an API, and parse it inside the program? Or any way to make an API call from inside a contract/program?
7
votes
2
answers
92
views
Is there a free API to pull current TPS?
Has someone created an API for TPS and other blockchain metrics (Solana)?
4
votes
2
answers
468
views
GET all collections of NFT, API, Magic eden
Good morning. I'm looking to make a small coinmarketcap, but from solana nfts, like solsniper or matricnft. I have tried with the magic eden api but it does not give many options, get /collections can ...