- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
constructor
- new CostModel(language: PlutusLanguageVersion, costs: number[]): CostModel
-
Properties
Private
#private
#private: any
Methods
costs
- costs(): number[]
-
Returns number[]
get
- get(operation: number): number
-
Returns number
language
- language(): PlutusLanguageVersion
-
set
- set(operation: number, cost: number): void
-
Parameters
-
operation: number
-
cost: number
Returns void
Static
newPlutusV1
- newPlutusV1(costs: number[]): CostModel
-
Static
newPlutusV2
- newPlutusV2(costs: number[]): CostModel
-
Static
newPlutusV3
- newPlutusV3(costs: number[]): CostModel
-