Skip to main content

proposeComputeBudget

HardKAS SDK


HardKAS SDK / tx-builder/src / proposeComputeBudget

Function: proposeComputeBudget()

proposeComputeBudget(input): V1CertifiedBudget

Defined in: packages/tx-builder/src/v1-budgets.ts:67

The certified budget for an input, if one exists (undefined: the plan states its budget explicitly).

Parameters​

input​

entry?​

string

kind​

"p2pk" | "p2sh" | "covenant"

templateHash?​

string

Returns​

V1CertifiedBudget