Skip to main content

Module v2

Module v2 

Source

Modules§

get_namespace_proof_response
Nested message and enum types in GetNamespaceProofResponse.
merkle_node
Nested message and enum types in MerkleNode.
net_addr
Nested message and enum types in NetAddr.
ns_proof
Nested message and enum types in NsProof.
reward_merkle_proof_v2
Nested message and enum types in RewardMerkleProofV2.

Structs§

AdvzNsProof
ADVZ (VID V0) namespace proof
AvidMIncorrectEncodingNsProof
AvidM incorrect encoding proof
AvidMNsProof
AvidM (VID V1) namespace proof
AvidmGf2NsProof
AvidmGf2 (VID V2) namespace proof
BlsPublicKey
BLS public key (typically 48 bytes)
Branch
Branch node with hash and children
Empty
Empty node variant (no data)
EmptyData
Dummy message for flattening Empty
ForgottenSubtree
Forgotten subtree node with hash only
GetIncorrectEncodingProofRequest
Request to get incorrect encoding proof
GetNamespaceProofRequest
Request to get namespace proof(s) Either specify ‘block’ for a single block, or ‘first’ and ‘last’ for a range
GetNamespaceProofResponse
Unified response for namespace proof queries
GetRewardAccountProofRequest
Request to get reward account proof (at latest finalized height)
GetRewardBalanceRequest
Request to get reward balance (at latest finalized height)
GetRewardBalancesRequest
Request to get paginated reward balances
GetRewardClaimInputRequest
Request to get reward claim input (at latest finalized height)
GetRewardMerkleTreeRequest
Request to get reward merkle tree snapshot
GetStakeTableRequest
Request to get stake table for an epoch
GetStateCertificateRequest
Request to get state certificate for an epoch
IncorrectEncodingProofResponse
Incorrect encoding proof response
InetAddr
IP address (v4 or v6) with port host is a socket-address-ready host string: plain dotted-decimal for IPv4 (e.g. “192.0.2.1”) and bracket-enclosed for IPv6 (e.g. “[::1]”), so that consumers can form a valid address with a simple “{host}:{port}” without inspecting the IP version.
Leaf
Leaf node containing account and reward amount
LightClientState
Light client state
LightClientStateUpdateCertificateV2
Light client state update certificate V2
MerkleNode
Merkle tree node (one of four variants)
MerkleProof
Merkle proof containing leaf position and path to root
NameAddr
Domain name with port
NamespaceProofRangeResponse
Response for range queries - array of namespace proofs
NamespaceProofResponse
Single block namespace proof response
NetAddr
Network address - either IP or domain name with port
NsProof
Namespace proof - supports multiple VID versions
PeerConfig
Complete peer configuration
PeerConnectInfo
Peer connection information
RewardAccountProofV2
Reward account proof containing account address and merkle path
RewardAccountQueryDataV2
Complete reward account query data with balance and merkle proof
RewardAmount
Single reward amount entry
RewardBalance
Reward balance for an address
RewardBalances
Paginated list of reward balances
RewardClaimInput
Reward claim input for contract submission Contains all data needed to call the claimRewards function on the L1 contract
RewardMerkleProofV2
Merkle proof variant (Presence for existing accounts, Absence for non-existing)
RewardMerkleTreeV2Data
Raw RewardMerkleTreeV2 snapshot data
SchnorrPublicKey
Schnorr public key (typically 32 bytes)
StakeTableEntry
Stake table entry for a validator
StakeTableResponse
Stake table response
StakeTableState
Stake table state commitments
StateCertificateResponse
State certificate response
StateSignatureTuple
State signature tuple (key + two signatures)
Transaction
Transaction
U256
U256 value encoded as hex string