Questions tagged [httpapi]
The httpapi tag has no usage guidance.
4
questions
1
vote
1
answer
47
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?
0
votes
1
answer
319
views
How to computeAmountOut in Python?
Assume i have the given information from raydium swap (retrieved it using simulateTransaction):
{
'status': 1,
'coin_decimals': 9,
'pc_decimals': 9,
'lp_decimals': 9,
'pool_pc_amount': ...
3
votes
1
answer
272
views
Premature close error when fetching 25 or more accounts at once with @solana/web3.js connection.getAccountInfo
Overview
Using the Connection class' method getAccountInfo with Promise.all and at least 25 requests will fail with:
Error: failed to get info about account ...
1
vote
1
answer
38
views
Optimistic confirmation with Http API?
What is the fastest way for you to confirm a transaction using http API? I want my UI to update as soon as possible