Questions tagged [time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
71 views

Solana transaction timestamp

What does the timestamp in a transaction represent? Is it the timestamp when tx was first received by the leader, is it the timestamp when the tx was confirmed, or something else?
lameren's user avatar
  • 133
0 votes
1 answer
39 views

In the basic Solana network, which parties have access to which data?

When trying to reason about whether SOL transactions provide certain types of privacy, it would be very helpful to have a complete list of the information accessible to each party in the basic (...
SapereAude's user avatar
2 votes
1 answer
132 views

Control time anchor test

I want to control time like moving forward to a specified block or time so that we can check if the function after the block/time lasts works well. Is there any way to do that in anchor solana?
marethyu's user avatar
  • 333
4 votes
1 answer
99 views

After Minting X amount of NFTs change Price

I am very new to Solana. I have a client's rust Program, it mint NFTs and allow admin who deployed the Solana Program to change the price. I have to add functionality to change the Sol price once X ...
Abdullah Qureshi's user avatar
1 vote
2 answers
207 views

How can I retrieve or calculate estimated time remaining in the current epoch?

I'm using the solana_client crate, but looking at the JSON RPC API I also don't see any way to retrieve the time remaining in the current epoch. Is this because where this is displayed it is a ...
Pumpkin's user avatar
  • 13
1 vote
2 answers
78 views

Recommended way to get Co-ordinated cluster time off chain

Q1.What is the recommended way to fetch current cluster co-ordinated timestamp ? is it via fetching the clock account and deserializing it if so is there a method which takes care of deserializing it, ...
Nabeel Naveed's user avatar