Kaspa transactions

Calculate Transaction Mass

This function calculates and returns the mass of a transaction, which is essential for determining the minimum fee. The mass calculation takes into account the storage mass as defined in KIP-0009.

Note: Be aware that if the transaction has a very low output amount or a high number of outputs, the mass can become significantly large.

post/transactions/mass

Request body

versioninteger required
lockTimeinteger
subnetworkIdstring

Response

Successful Response

massinteger required
storage_massinteger required
compute_massinteger required

Changes

No recorded changes to this endpoint across all 1 revision of this API.