Skip to main content
Version: 5.24.3

Namespace: constants

Utils

Enumerations​

Variables​

IS_BROWSER​

• Const IS_BROWSER: boolean

Defined in​

src/utils/encode.ts:4


TEXT_TO_FELT_MAX_LEN​

• Const TEXT_TO_FELT_MAX_LEN: 31

Cairo Felt support storing max 31 character

Defined in​

src/constants.ts:6


HEX_STR_TRANSACTION_VERSION_1​

• Const HEX_STR_TRANSACTION_VERSION_1: "0x1"

Defined in​

src/constants.ts:8


HEX_STR_TRANSACTION_VERSION_2​

• Const HEX_STR_TRANSACTION_VERSION_2: "0x2"

Defined in​

src/constants.ts:9


BN_TRANSACTION_VERSION_1​

• Const BN_TRANSACTION_VERSION_1: 1n

Defined in​

src/constants.ts:10


BN_TRANSACTION_VERSION_2​

• Const BN_TRANSACTION_VERSION_2: 2n

Defined in​

src/constants.ts:11


BN_FEE_TRANSACTION_VERSION_1​

• Const BN_FEE_TRANSACTION_VERSION_1: bigint

Defined in​

src/constants.ts:12


BN_FEE_TRANSACTION_VERSION_2​

• Const BN_FEE_TRANSACTION_VERSION_2: bigint

Defined in​

src/constants.ts:13


ZERO​

• Const ZERO: 0n

Defined in​

src/constants.ts:15


MASK_250​

• Const MASK_250: bigint

Defined in​

src/constants.ts:16


MASK_251​

• Const MASK_251: bigint

Defined in​

src/constants.ts:17


API_VERSION​

• Const API_VERSION: 0n

Defined in​

src/constants.ts:18


UDC​

• Const UDC: Object

Type declaration​

NameType
ADDRESSstring
ENTRYPOINTstring

Defined in​

src/constants.ts:43


RPC_GOERLI_NODES​

• Const RPC_GOERLI_NODES: string[]

Defined in​

src/constants.ts:48


RPC_MAINNET_NODES​

• Const RPC_MAINNET_NODES: string[]

Defined in​

src/constants.ts:53