Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Théo Farnole's user avatar
1 vote
1 answer
47 views

Solana Devnet Transactions disappear

I have discovered that after some time (maybe a few months), some of my devnet data has disappeared. I assume that this is on purpose? If so, is this documented somewhere publicly?
Burger Bob's user avatar
  • 1,124
1 vote
3 answers
143 views

Solana Deserialization

Anymore has some resources or something on how to implement borsh deserialization for Solana instruction data? I'm having the issue that I don't know the length so I get an error when trying to call ...
DZWG's user avatar
  • 71
2 votes
1 answer
67 views

Architecture of Dapp application which uses Solana Blockchain

Wanted to know architecture of how dapp works that uses NodeJs server and frontend. How the whole flow goes?
Harry Choudhary's user avatar
3 votes
1 answer
51 views

Traces in Solana

I'm looking to create a data pipeline that gets traces (both value transfers and contract executions like on the EVM) but, I can't find the equivalent to it on Solana's VM. What is the equivalent to ...
gritty's user avatar
  • 61
0 votes
1 answer
49 views

There is a way to limit the number of RPC requests per second of the web3.js library?

I am currently doing a script to retrieve data, I have a personal RPC that accepts 600 calls/second, but my script is making more than 600 calls/second using the getParsedTransactions() method via the ...
Wizer's user avatar
  • 1
1 vote
0 answers
106 views

How to get merkle proofs for data stored on chain?

I am creating an application on solana and I would like merkle proofs for my data like other blockchains. https://docs.solana.com/proposals/simple-payment-and-state-verification - this is the most I ...
Shravan S's user avatar
4 votes
2 answers
313 views

How to know the number of active validators in Solana

I would like to know how many Solana validator nodes are running actually. Is there a way to get this data ?
Victor Blas's user avatar
3 votes
2 answers
109 views

Relating logs to their instructions

For an individual transaction, how would you be able to relate a log to its corresponding set of instructions? I'm having difficulty finding a way to identify which logs belong to an instruction, ...
TarikFS's user avatar
  • 31
1 vote
1 answer
57 views

Is it possible to serialise/deserialise a String in an on chain data account?

I was hoping to have an on-chain data account that stored a string that I could update dynamically from off-chain. From what I understand though a string is a growable, heap-allocated data structure, ...
daoplays's user avatar
  • 487
0 votes
1 answer
53 views

How to get the changes that happened in an account in a signature?

I have a data account with 187 bytes allocated After each signature, the data changes. Yet I can't seem to find how to get the changes in the data that happened in that account. e.g. this transaction ...
vicyyn's user avatar
  • 3,775
1 vote
0 answers
118 views

Encrypt data on client, and then decrypt on-chain?

Is there support for encrypting data on client-side (ideally with public key of the program that owns the on-chain program), storing such data on chain, and then decrypting it on-chain when the ...
krilin's user avatar
  • 61
3 votes
1 answer
88 views

Where are the hashing utils in nodejs?

I'm looking in both @solana/web3.js and @project-serum/anchor and don't see any hashing utils. What should one use to pack and hash data in nodejs? I suppose I could use ethereum/web3.js, but pulling ...
britt's user avatar
  • 103
4 votes
2 answers
117 views

is that all data on Solana store on memory?

I am just very confused at this point. If all data on Solana are stored in Memory what if the whole network shutdown or restarts whether all data is removed? I thought it must stored data in Hardware ...
Dũng Đàm's user avatar
3 votes
2 answers
201 views

Finding instruction identifiers

When you send a raw instruction to the network, you have to specify in the instruction data an instruction identifier, so that the program knows what function to call. For example, in python: from ...
Alessandro De Pasquale's user avatar
4 votes
1 answer
260 views

Calculating Solana Fees

How are fees calculated in Solana ?
vicyyn's user avatar
  • 3,775
1 vote
1 answer
242 views

Send Instruction with multiple parameters to non-anchor program help (instruciton_data)

I am working with a solana program which was written a couple years ago and it is non-anchor. I am specifically having trouble with calling the program functions from the test-side, the data field ...
Lola1222's user avatar
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 ...
Aitor_nft's user avatar
3 votes
1 answer
87 views

Creating a data account per user of your program?

I have the following use case. Users can enter a lottery by bidding a certain amount. The program keeps track of the users and their bid amounts in its own data account (just an array of pub keys ...
daoplays's user avatar
  • 487
0 votes
1 answer
258 views

How do you convert the byte array returned as "Data" for a given instruction into a human-readable form?

I am currently looking to query historical transaction data for specific programs/wallets using the Solana CLI. The command I'm using, as an example, looks like this: solana transaction-history --show-...
m2sa's user avatar
  • 3
1 vote
2 answers
169 views

How to actually store 10k Pubkeys in a Solana Account

Im trying to store, lets say 10,000 Public Keys inside a vector in a Solana Account. I have created the account with 500KB on devnet (8q8rTUeW9Wn3seaYiCf7HU6bpimzQTt7zEDe3RgVteBc). In theory for each ...
user3688985's user avatar