Viewing transaction time

Where can I see the total transaction time for a completed transaction?

Just finished playing a game of Trust sending some Nano around with some colleagues and it all went smoothly, I'm now interested in the time it took from me clicking send to them seeing it in their wallet.

Am I looking in the right place? I can see a local_timestamp for the "send". Do I need to diff the "receive" block timestamp to find the transaction time?
https://nanocrawler.cc/explorer/block/93C289B3AAAD6865ED8E57BB078DF7A8F3B414F0CC66DF30CDFE95DF487B707A

Posted Aug 28, 2020, 11:16 AM UTC

75
playnanoNano User•

It would work better if you and the recipient were together and you actually see the receive on their device.

In your case, you did send, and that took less than a second, but the recipient didn't receive that transaction yet, most likely because he didn't open the wallet. So making that happen time difference comparison wouldn't work there.

Another way for you to test is by sending nano from one wallet (maybe on mobile) to another (on desktop) and see the speed it takes from one to the other.

3
toldnoOP•

Agree it would be better in person though we ran this over a video call, verbal queues helped though I'm after a way to get something a little more accurate. https://nanospeed.live/Results shows an elapsed time. How do they calculate that?

Ah sorry that was just an example transaction.

So to check you would:

  1. call `blocks_info` on the `send` state block (or just use Nanocrawler)
  2. Check response for "confirmed" = true
  3. ?

Edit: Following up in Qwahzi's reply

Thanks!

2
QwahziFreeNanoFaucet.com•

I think you'd have to diff the timestamps between blocks yourself, but even that won't be 100% accurate because they're timestamps from NanoCrawler's node (or whatever block explorer you're using)

Most block explorers/stat sites use something like the confirmation_history RPC command to calculate overall block confirmation times:

https://repnode.org/network/confirmation

The only service I know that actually sends two blocks and calculates the apparent time between the two transactions (using two of their own nodes) is NanoSpeed:

https://nanospeed.live/Stats

3
toldnoOP•

won't be 100% accurate because they're timestamps from NanoCrawler's node

Could you use each wallets rep to get the timestamps and diff those for a more accurate result? If so, would those calls be available publicly though?

Thanks for the info, super helpful!

2
QwahziFreeNanoFaucet.com•

You wouldn't want to use the wallets' reps, you'd want to use the wallets' nodes (the system connecting to the Nano network and processing the transactions). For example, if you're using Natrium, Natrium's node would have the most accurate timestamps for its own transactions. It knows when it broadcast the transactions out for voting, and it knows when it confirmed the transactions after it got enough votes from network representatives.

I don't think most nodes make that information publicly available, but they usually only show you the transaction after they've locally confirmed it

Np, happy to help :)

2