Fees calculation
Here’s how the fees are calculated:
WEIGHT + BYTES_LENGTH_FEE
Example for a 100K CAPS balance transfer
The signed transaction is 152 bytes:
0x590284001a40e806c28a32dbac60f2b088c77a9ac3d3702011ac0e13579402ddcc21430801065848e44986dfdd3c82c45915650d2ea8b29a934c3578069a1f19ec3c1d530452c04bc8b3a4c4b02f831ee743cf1d696660ab3ea4fe82aea23a3c25c3f31a8a6502e50a00040000cc8c895b436901396bd1d43adb8fdd33e29da56765fe460eac9d9c7f027bff021b000080f64ae1c7022d15
BYTES_LENGTH_FEE is calculated as 152 * PER_BYTES_FEE (where PER_BYTES_FEE is fixed by the chain at 10^14).
BYTES_LENGTH_FEE = 152*10^14 and a WEIGHT of 223,375,000.
The total fees are therefore 152,000,000,223,375,000. (Approximately 0.152 CAPS)
Last updated