Skip to main content
Version: 6.11.0

Namespace: constants

Utils

Enumerations​

References​

TRANSACTION_VERSION​

Renames and re-exports ETransactionVersion

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:8


ZERO​

• Const ZERO: 0n

Defined in​

src/constants.ts:17


MASK_250​

• Const MASK_250: bigint

Defined in​

src/constants.ts:18


API_VERSION​

• Const API_VERSION: 0n

Defined in​

src/constants.ts:19


PRIME​

• Const PRIME: bigint

Defined in​

src/constants.ts:20


MAX_STORAGE_ITEM_SIZE​

• Const MAX_STORAGE_ITEM_SIZE: 256n

Defined in​

src/constants.ts:23


ADDR_BOUND​

• Const ADDR_BOUND: bigint

Defined in​

src/constants.ts:24


RANGE_FELT​

• Const RANGE_FELT: Object

Type declaration​

NameType
minbigint
maxbigint

Defined in​

src/constants.ts:28


RANGE_I128​

• Const RANGE_I128: Object

Type declaration​

NameType
minbigint
maxbigint

Defined in​

src/constants.ts:29


RANGE_U128​

• Const RANGE_U128: Object

Type declaration​

NameType
minbigint
maxbigint

Defined in​

src/constants.ts:30


UDC​

• Const UDC: Object

Type declaration​

NameType
ADDRESS"0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf"
ENTRYPOINT"deployContract"

Defined in​

src/constants.ts:61


RPC_DEFAULT_VERSION​

• Const RPC_DEFAULT_VERSION: "v0_7"

Defined in​

src/constants.ts:66


RPC_NODES​

• Const RPC_NODES: Object

Type declaration​

NameType
SN_MAINreadonly ["https://starknet-mainnet.public.blastapi.io/rpc/v0_7", "https://free-rpc.nethermind.io/mainnet-juno/v0_7"]
SN_SEPOLIAreadonly ["https://starknet-sepolia.public.blastapi.io/rpc/v0_7", "https://free-rpc.nethermind.io/sepolia-juno/v0_7"]

Defined in​

src/constants.ts:68