Questions tagged [api]

The tag has no usage guidance.

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

quoteResponse Error: Query parameter inputMint cannot be parsed: WrongSize

`const quoteResponse = await ( await fetch('https://quote-api.jup.ag/v6/quote?inputMint=So11111111111111111111111111111111111111112 &outputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v &...
Anh Tuấn Nguyễn's user avatar
2 votes
0 answers
37 views

Alternative to getProgramAccounts?

It seems Helius depreciated getGetProgramAccounts: https://www.helius.dev/blog/solana-account-webhooks I'd like to be able to query, for an SPL, the token addresses of all holders. Is there a manually ...
Yoshi 's user avatar
  • 21
0 votes
1 answer
90 views

Interacting with the Raydium API

I don't know much about programming. I want to interact with the Raydium API in order to swap tokens <30 secs after launch. How do I do it? A detailed guide would be great, thanks.
adoonnnnn's user avatar
0 votes
1 answer
28 views

TransactionSignatureVerificationFailure when Sending Solana Swap Transaction

I'm attempting to execute a swap transaction on the Solana network using Python and the Solana API. However, I'm encountering an error related to TransactionSignatureVerificationFailure during the ...
Cosinus basic function's user avatar
1 vote
1 answer
74 views

"Solana Transaction Error: Invalid Transaction due to Missing Address Table Account"

I'm encountering an issue while trying to execute a transaction on the Solana blockchain.(swaping solana to bonk using jupiter swap api) When attempting to execute the transaction, I receive the ...
Cosinus basic function's user avatar
0 votes
1 answer
20 views

How to get all addresses that hold a specific SPL token and the token balance during a specific time?

Is there a way to get all addresses with a specific SPL token and its balance during a specific time?
t330's user avatar
  • 1
0 votes
1 answer
35 views

How do these crypto websites get the current real time price and volume information?

If I want to get the latest pricing for Solana, BTC and other crypto's, is there a uniform API to do this or do I have to connect to some open exchange to get this information? For starters, how would ...
Blankman's user avatar
  • 109
0 votes
0 answers
14 views

Solana equivalent to www.usecocreate.io for Web3 loyalty program?

I am volunteering for a major presidential campaign. The campaign is considering using NFTs as rewards to incentivize donations and engagement. I am exploring platforms that offer community management,...
johnslade.sol's user avatar
0 votes
1 answer
59 views

Querying Processed Transactions in Solana – Alternative Methods Needed

I am currently retrieving transaction information using the getTransactions method with the commitment levels 'finalized' or 'confirmed'. However, I need to access transaction information with a '...
0xsorcerer's user avatar
1 vote
1 answer
113 views

How to support limit orders on a python bot

I am working on a bot that will swap tokens using python. Currently, my bot uses the dexscreener api to continuously retrieve the current price of the token to determine when to sell. However, this is ...
Ishaq Ruhani's user avatar
1 vote
1 answer
86 views

Public Data API for Token Security

Does there exist a version of an API, like this https://docs.gopluslabs.io/reference/tokensecurityusingget_1 which is not paywalled like birdeye.so API.
data4rtist's user avatar
1 vote
1 answer
41 views

Http API to Fetch Transaction ID

Is it possible to get a wallet's most recent transaction id using http requests to https://api.mainnet-beta.solana.com?
user7771's user avatar
1 vote
1 answer
202 views

How to get the token address if I have the pair address

What is the fastest way of getting the token address, if I already have the pair address for a token? For example: The pair address of Bonk/SOL is: 3ne4mWqdYuNiYrYZC9TrA3FcfuFdErghH97vNPbjicr1 And the ...
Ishaq Ruhani's user avatar
1 vote
1 answer
378 views

How to get live transactions through websockets?

Is there any method I can subscribe to in order to get live transactions data through websockets? I tried with logsSubscribe but it doesn't seem to be what I'm looking for.
user80100's user avatar
2 votes
1 answer
31 views

How to retrieve useful statistics about a Solana program

Do you know how could I get Solana Program Stats? I've seen similar thing on Solscan, but they seem to not have it in their documentation as API available to Devs. Thank you for help.
mlodyjano's user avatar
0 votes
0 answers
172 views

How to get token balance change details for a transaction?

Given a transaction signature, and using Python, is it possible to generate a table of token balance changes for that transaction of the form (token, from, to, amount), without using the ...
data-adventure's user avatar
0 votes
0 answers
871 views

How can I listen to burn or token LP lock events on sol chain

I have been trying to get onchain events or messages regarding to token LP lock and burns, I have tried using the json rpc api, I listened to the response for hours but i couldn't find any burn or ...
Jack Bryan's user avatar
0 votes
1 answer
150 views

How can I get a pro-apis key for test?

How can I get a pro-apis key for test? I want to use these apis : https://pro-api.solscan.io/pro-api-docs/v1.0. Actually, I want to fillter the accounts' transfers at websocket or https. when I use ...
Ricky's user avatar
  • 1
1 vote
1 answer
25 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 ...
Théo Farnole's user avatar
1 vote
1 answer
124 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 ...
KunLun's user avatar
  • 113
1 vote
1 answer
44 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 ...
Amin Memariani's user avatar
1 vote
1 answer
41 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 ...
Nondi's user avatar
  • 15
0 votes
1 answer
77 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 ...
Nondi's user avatar
  • 15
0 votes
2 answers
70 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 ...
Maksimjeet Chowdhary's user avatar
0 votes
1 answer
636 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 ...
Сергей's user avatar
3 votes
1 answer
200 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?
Pablo Lopez's user avatar
4 votes
1 answer
50 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.
Mukhtar's user avatar
  • 41
1 vote
3 answers
158 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.
Tien's user avatar
  • 53
4 votes
3 answers
176 views

How to mint Solana NFT?

Is there any API I can use which can be used without the need for onchain programs?
Irwing Tello's user avatar
3 votes
3 answers
769 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
Irwing Tello's user avatar
4 votes
2 answers
181 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 ...
ritchbeau's user avatar
0 votes
0 answers
17 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. ...
Ahamed Zakky's user avatar
1 vote
2 answers
232 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, ...
Camila326's user avatar
  • 149
5 votes
2 answers
916 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,...
Camila326's user avatar
  • 149
3 votes
1 answer
635 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....
Kum's user avatar
  • 107
1 vote
2 answers
447 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 ...
Kum's user avatar
  • 107
2 votes
1 answer
76 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 ...
calm mouse's user avatar
1 vote
1 answer
89 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 ...
Kum's user avatar
  • 107
1 vote
2 answers
110 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?
Matic's user avatar
  • 113
2 votes
1 answer
63 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 ...
paradigm111's user avatar
1 vote
1 answer
108 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.
sohrab's user avatar
  • 1,711
1 vote
1 answer
189 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 ...
Reza Aslejeddian's user avatar
1 vote
1 answer
109 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.
Heisenberg's user avatar
3 votes
2 answers
157 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/?
Mentat's user avatar
  • 103
4 votes
2 answers
1k 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 ...
Patoshi パトシ's user avatar
3 votes
2 answers
45 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?
DonnySolana's user avatar
8 votes
2 answers
141 views

Is there a free API to pull current TPS?

Has someone created an API for TPS and other blockchain metrics (Solana)?
a_rubik's user avatar
  • 103
4 votes
2 answers
566 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 ...
Aitor_nft's user avatar