Skip to main content

v1EstimatedSerializedSize

HardKAS SDK


HardKAS SDK / tx-builder/src / v1EstimatedSerializedSize

Function: v1EstimatedSerializedSize()

v1EstimatedSerializedSize(shape): bigint

Defined in: packages/tx-builder/src/v1-mass.ts:91

Estimated serialized size, mass/mod.rs transaction_estimated_serialized_size and the input/output helpers: the sig-op count is not counted; a v1 input adds 2 bytes (compute budget) and an output with a covenant 34 (2 authorizing input + 32 covenant id).

Parameters​

shape​

V1MassTxShape

Returns​

bigint