estimateV1ComputeBudget
HardKAS SDK / tx-builder/src / estimateV1ComputeBudget
Function: estimateV1ComputeBudget()
estimateV1ComputeBudget(
input):V1BudgetEstimate
Defined in: packages/tx-builder/src/v1-budgets.ts:155
The upstream estimate of an input's script units and the smallest budget covering it. signatureScriptHex is the
input's final signature script (signatures have a fixed size: placeholders give the exact one); scriptPublicKeyHex
the output it spends, version-prefixed ("0000…") as HardKAS plans carry it.
Parameters
input
scriptPublicKeyHex
string
signatureScriptHex
string