Skip to main content

constants

EXTERNALโ€‹

const EXTERNAL: {"ENC_DATA": {"SCHEMAS": {"BLS_KEYSTORE_EIP2335_PBKDF_V4": LatticeEncDataSchema.eip2335; }; };"ETH_CONSENSUS_SPEC": {"DOMAINS": {"DEPOSIT": Buffer;"VOLUNTARY_EXIT": Buffer; };"NETWORKS": {"MAINNET_GENESIS": {"forkVersion": Buffer;"networkName": 'mainnet';"validatorsRoot": Buffer; }; }; };"GET_ADDR_FLAGS": {"BLS12_381_G1_PUB": LatticeGetAddressesFlag.bls12_381Pubkey;"ED25519_PUB": LatticeGetAddressesFlag.ed25519Pubkey;"SECP256K1_PUB": LatticeGetAddressesFlag.secp256k1Pubkey; };"SIGNING": {"BLS_DST": {"BLS_DST_NUL": LatticeSignBlsDst.NUL;"BLS_DST_POP": LatticeSignBlsDst.POP; };"CURVES": {"BLS12_381_G2": LatticeSignCurve.bls12_381;"ED25519": LatticeSignCurve.ed25519;"SECP256K1": LatticeSignCurve.secp256k1; };"ENCODINGS": {"ETH_DEPOSIT": LatticeSignEncoding.eth_deposit;"EVM": LatticeSignEncoding.evm;"NONE": LatticeSignEncoding.none;"SOLANA": LatticeSignEncoding.solana; };"HASHES": {"KECCAK256": LatticeSignHash.keccak256;"NONE": LatticeSignHash.none;"SHA256": LatticeSignHash.sha256; }; }; }

Externally exported constants used for building requests

Type declarationโ€‹

MemberTypeValue
ENC_DATA{"SCHEMAS": {"BLS_KEYSTORE_EIP2335_PBKDF_V4": LatticeEncDataSchema.eip2335; }; }...
ENC_DATA.SCHEMAS{"BLS_KEYSTORE_EIP2335_PBKDF_V4": LatticeEncDataSchema.eip2335; }...
ENC_DATA.SCHEMAS.BLS_KEYSTORE_EIP2335_PBKDF_V4eip2335LatticeEncDataSchema.eip2335
ETH_CONSENSUS_SPEC{"DOMAINS": {"DEPOSIT": Buffer;"VOLUNTARY_EXIT": Buffer; };"NETWORKS": {"MAINNET_GENESIS": {"forkVersion": Buffer;"networkName": 'mainnet';"validatorsRoot": Buffer; }; }; }...
ETH_CONSENSUS_SPEC.DOMAINS{"DEPOSIT": Buffer;"VOLUNTARY_EXIT": Buffer; }...
ETH_CONSENSUS_SPEC.DOMAINS.DEPOSITBuffer...
ETH_CONSENSUS_SPEC.DOMAINS.VOLUNTARY_EXITBuffer...
ETH_CONSENSUS_SPEC.NETWORKS{"MAINNET_GENESIS": {"forkVersion": Buffer;"networkName": 'mainnet';"validatorsRoot": Buffer; }; }...
ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS{"forkVersion": Buffer;"networkName": 'mainnet';"validatorsRoot": Buffer; }...
ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.forkVersionBuffer...
ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.networkName"mainnet"'mainnet'
ETH_CONSENSUS_SPEC.NETWORKS.MAINNET_GENESIS.validatorsRootBuffer...
GET_ADDR_FLAGS{"BLS12_381_G1_PUB": LatticeGetAddressesFlag.bls12_381Pubkey;"ED25519_PUB": LatticeGetAddressesFlag.ed25519Pubkey;"SECP256K1_PUB": LatticeGetAddressesFlag.secp256k1Pubkey; }...
GET_ADDR_FLAGS.BLS12_381_G1_PUBbls12_381PubkeyLatticeGetAddressesFlag.bls12_381Pubkey
GET_ADDR_FLAGS.ED25519_PUBed25519PubkeyLatticeGetAddressesFlag.ed25519Pubkey
GET_ADDR_FLAGS.SECP256K1_PUBsecp256k1PubkeyLatticeGetAddressesFlag.secp256k1Pubkey
SIGNING{"BLS_DST": {"BLS_DST_NUL": LatticeSignBlsDst.NUL;"BLS_DST_POP": LatticeSignBlsDst.POP; };"CURVES": {"BLS12_381_G2": LatticeSignCurve.bls12_381;"ED25519": LatticeSignCurve.ed25519;"SECP256K1": LatticeSignCurve.secp256k1; };"ENCODINGS": {"ETH_DEPOSIT": LatticeSignEncoding.eth_deposit;"EVM": LatticeSignEncoding.evm;"NONE": LatticeSignEncoding.none;"SOLANA": LatticeSignEncoding.solana; };"HASHES": {"KECCAK256": LatticeSignHash.keccak256;"NONE": LatticeSignHash.none;"SHA256": LatticeSignHash.sha256; }; }...
SIGNING.BLS_DST{"BLS_DST_NUL": LatticeSignBlsDst.NUL;"BLS_DST_POP": LatticeSignBlsDst.POP; }...
SIGNING.BLS_DST.BLS_DST_NULNULLatticeSignBlsDst.NUL
SIGNING.BLS_DST.BLS_DST_POPPOPLatticeSignBlsDst.POP
SIGNING.CURVES{"BLS12_381_G2": LatticeSignCurve.bls12_381;"ED25519": LatticeSignCurve.ed25519;"SECP256K1": LatticeSignCurve.secp256k1; }...
SIGNING.CURVES.BLS12_381_G2bls12_381LatticeSignCurve.bls12_381
SIGNING.CURVES.ED25519ed25519LatticeSignCurve.ed25519
SIGNING.CURVES.SECP256K1secp256k1LatticeSignCurve.secp256k1
SIGNING.ENCODINGS{"ETH_DEPOSIT": LatticeSignEncoding.eth_deposit;"EVM": LatticeSignEncoding.evm;"NONE": LatticeSignEncoding.none;"SOLANA": LatticeSignEncoding.solana; }...
SIGNING.ENCODINGS.ETH_DEPOSITeth_depositLatticeSignEncoding.eth_deposit
SIGNING.ENCODINGS.EVMevmLatticeSignEncoding.evm
SIGNING.ENCODINGS.NONEnoneLatticeSignEncoding.none
SIGNING.ENCODINGS.SOLANAsolanaLatticeSignEncoding.solana
SIGNING.HASHES{"KECCAK256": LatticeSignHash.keccak256;"NONE": LatticeSignHash.none;"SHA256": LatticeSignHash.sha256; }...
SIGNING.HASHES.KECCAK256keccak256LatticeSignHash.keccak256
SIGNING.HASHES.NONEnoneLatticeSignHash.none
SIGNING.HASHES.SHA256sha256LatticeSignHash.sha256

Sourceโ€‹

constants.ts:14