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​
MAX_STORAGE_ITEM_SIZE​
• Const
MAX_STORAGE_ITEM_SIZE: 256n
Defined in​
ADDR_BOUND​
• Const
ADDR_BOUND: bigint
Defined in​
UDC​
• Const
UDC: Object
Type declaration​
Name | Type |
---|---|
ADDRESS | string |
ENTRYPOINT | string |
Defined in​
DEFAULT_TRANSACTION_VERSION​
• Const
DEFAULT_TRANSACTION_VERSION: V2
= ETransactionVersion.V2
Defined in​
DEFAULT_NETWORK_NAME​
• Const
DEFAULT_NETWORK_NAME: SN_GOERLI
= NetworkName.SN_GOERLI
Defined in​
RPC_DEFAULT_VERSION_TAG​
• Const
RPC_DEFAULT_VERSION_TAG: "v0_6"
Defined in​
RPC_NODES​
• Const
RPC_NODES: Object
Type declaration​
Name | Type |
---|---|
SN_GOERLI | string [] |
SN_MAIN | string [] |
SN_SEPOLIA | string [] |
getNode | (network : NetworkName , index : number , rpcVersion? : string ) => string |