Namespace: constants
Utils
Enumerations​
References​
TRANSACTION_VERSION​
Renames and re-exports ETransactionVersion
Variables​
IS_BROWSER​
• Const
IS_BROWSER: boolean
Defined in​
TEXT_TO_FELT_MAX_LEN​
• Const
TEXT_TO_FELT_MAX_LEN: 31
Cairo Felt support storing max 31 character
Defined in​
ZERO​
• Const
ZERO: 0n
Defined in​
MASK_250​
• Const
MASK_250: bigint
Defined in​
API_VERSION​
• Const
API_VERSION: 0n
Defined in​
PRIME​
• Const
PRIME: bigint
Defined in​
MAX_STORAGE_ITEM_SIZE​
• Const
MAX_STORAGE_ITEM_SIZE: 256n
Defined in​
ADDR_BOUND​
• Const
ADDR_BOUND: bigint
Defined in​
RANGE_FELT​
• Const
RANGE_FELT: Object
Type declaration​
Name | Type |
---|---|
min | bigint |
max | bigint |
Defined in​
RANGE_I128​
• Const
RANGE_I128: Object
Type declaration​
Name | Type |
---|---|
min | bigint |
max | bigint |
Defined in​
RANGE_U128​
• Const
RANGE_U128: Object
Type declaration​
Name | Type |
---|---|
min | bigint |
max | bigint |
Defined in​
UDC​
• Const
UDC: Object
Type declaration​
Name | Type |
---|---|
ADDRESS | "0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf" |
ENTRYPOINT | "deployContract" |
Defined in​
RPC_DEFAULT_VERSION​
• Const
RPC_DEFAULT_VERSION: "v0_7"
Defined in​
RPC_NODES​
• Const
RPC_NODES: Object
Type declaration​
Name | Type |
---|---|
SN_MAIN | readonly ["https://starknet-mainnet.public.blastapi.io/rpc/v0_7" , "https://free-rpc.nethermind.io/mainnet-juno/v0_7" ] |
SN_SEPOLIA | readonly ["https://starknet-sepolia.public.blastapi.io/rpc/v0_7" , "https://free-rpc.nethermind.io/sepolia-juno/v0_7" ] |