Transaction fee is based on only "transaction size" ? or depends on "transaction amount" as well?

Transaction fee is based on only "transaction size" ? or depends on "transaction amount" as well?

In the Bitcoin, transactions fee are different with each other. Now my question is that this transaction fee is based on only "transaction size" ? or depends on "transaction amount" as well ? For example, consider transactions A and B have same size. However, amount of transaction A is 2 bitcoins and amount of transaction B is 1 bitcoin. In this case, these two transactions have equal fee ?

https://ift.tt/2Ml40YH

Comments

Popular posts from this blog

How do 'Sphinx' invoice-less payments on the Lightning Network work?

How public key is calculated from a base58 encoded private key?

QUESTION ABOUT SLOW API