3

You may have seen some of the online discussions on Twitter about Cardano TPS (Transactions Per Second) count. It lead me down the rabbit hole of trying to see if I could calculate TPS more accurately. I have listed my findings below but want to get them vetted.

Assumption: A true "transaction" refers to the transfer of value between one person and the next. We will exclude native assets from this for the time being.

Cardano allows for a many to many relationship. Many addresses sending to many addresses. In the Bitcoin world this is known as cojoining or mixing. It is pretty normal to see inputs coming from more than one address on the Cardano blockchain.

There appears to be no easy / clear cut way to calculate TPS but there are the following rules of thumb:

  • Exclude any UTxOs that were consumed an hour of being created - see early spend on page 8 to understand why.
  • You then have to determine which of the UTxOs are "change outputs". In the case of 1 input to many outputs, this can be determined fairly easily. However in the case of multiple inputs from different addresses going to multiple output addresses this seems impossible. It seems that Cardano is set up like a coin mixer in this regard.

Do you agree, and any ideas / suggestions?

2 Answers 2

0

I think that you are mixing a couple of concepts here.

In Cardano, same as Bitcoin, a transaction can take various inputs (consume UTxOs) and produce various outputs (new UTxOs to be used by future transactions).

This means I can transfer tokens to 20 different people in the same transaction and that does not mean that I am creating 20 transactions. I will only get one transaction hash (you can check this in any explorer, such as Cardanoscan). So, for TPS, that will count as one, not 20, because the TPS concept is related to the validation of the transaction on chain and not to how many UTxOs you are consuming to create it.

So, under this scenario and with the assumption you have, I think you will find it quite hard (not to say impossible) to determine how many of those UTxOs are really going to one person to another (you will have to know, for example, if one of the output addresses does not belong to the sender of the transaction - maybe they have another wallet? - so you can exclude that one as well). If that wallet does not belong to an SPO or someone publicly exposed, then this won't be possible.

1
0

Here is the final answer I went with

https://reddspark.blog/2022/12/11/transactions-within-transactions/

Open to critique.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.