Skip to main content

Constants

scrypt-ts / Constants

Class: Constants

A library than contains some commonly used constant values

Table of contents

Constructors

Properties

Constructors

constructor

new Constants()

Properties

InputSeqLen

Static Readonly InputSeqLen: bigint

length of ByteString to denote input sequence

Defined in

dist/smart-contract/builtins/functions.d.ts:1168


OutpointLen

Static Readonly OutpointLen: bigint

length of ByteString to denote a outpoint

Defined in

dist/smart-contract/builtins/functions.d.ts:1178


OutputValueLen

Static Readonly OutputValueLen: bigint

length of ByteString to denote output value

Defined in

dist/smart-contract/builtins/functions.d.ts:1170


PubKeyHashLen

Static Readonly PubKeyHashLen: bigint

length of ByteString to denote a public key hash

Defined in

dist/smart-contract/builtins/functions.d.ts:1174


PubKeyLen

Static Readonly PubKeyLen: bigint

length of ByteString to denote a public key (compressed)

Defined in

dist/smart-contract/builtins/functions.d.ts:1172


TxIdLen

Static Readonly TxIdLen: bigint

length of ByteString to denote a tx id

Defined in

dist/smart-contract/builtins/functions.d.ts:1176