Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AccountSignature

transaction.proto:20

Used in: DeclareV3Common, DeployAccountV3, InvokeV3, TransactionInBlock.DeclareV0WithoutClass, TransactionInBlock.DeclareV1WithoutClass, TransactionInBlock.DeclareV2WithoutClass, TransactionInBlock.DeployAccountV1, TransactionInBlock.InvokeV0, TransactionInBlock.InvokeV1

message Address

common.proto:24

Used in: ContractDiff, ContractRangeRequest, ContractState, DeclareV3Common, InvokeV3, L1HandlerV0, ProposalInit, SignedBlockHeader, TransactionInBlock.DeclareV0WithoutClass, TransactionInBlock.DeclareV1WithoutClass, TransactionInBlock.DeclareV2WithoutClass, TransactionInBlock.InvokeV0, TransactionInBlock.InvokeV1, Vote

message BlockHeadersRequest

header.proto:45

message BlockHeadersResponse

header.proto:50

Responses are sent ordered by the order given in the request.

Used in: NewBlock

message BlockID

common.proto:48

Used in: NewBlock

message BlockProof

common.proto:63

message Cairo0Class

class.proto:11

Used in: Class

message Cairo1Class

class.proto:31

Used in: Class, DeclareV3WithClass

message Cairo1EntryPoints

class.proto:25

Used in: Cairo1Class

message Capability

discovery.proto:17

advertise what queries a peer can reply to (it can always query others for whatever it wants)

Used in: Node

message Class

class.proto:38

Used in: Classes, ClassesResponse

message ClassRangeRequest

snapshot.proto:72

duplicate of GetContractRange. Can introduce a 'type' instead. result is (Classes+, PatriciaRangeProof)*

message ClassRangeResponse

snapshot.proto:79

message Classes

snapshot.proto:65

Used in: ClassRangeResponse

message ClassesRequest

class.proto:8

message ClassesResponse

class.proto:13

Responses are sent ordered by the order given in the request.

message CommitmentParts

consensus.proto:68

Used in: ProposalFinPayload

message ConsensusSignature

common.proto:37

Used in: SignedBlockHeader

message ConsensusTransaction

consensus.proto:10

Contains all transaction types that can be in a new block: - User transactions (same types as MempoolTransaction: Declare, DeployAccount, Invoke) - L1Handler transactions (messages from L1, not propagated via mempool)

Used in: TransactionBatch

message ContractDiff

state.proto:14

Used in: StateDiffsResponse

message ContractRange

snapshot.proto:51

stream of leaves in the contracts tree

Used in: ContractRangeResponse

message ContractRangeRequest

snapshot.proto:42

request a range from the contract state tree that matches the given root (block) starts at 'start' and ends no more than 'end'. the result is (ContractRange+, PatriciaRangeProof)*

message ContractRangeResponse

snapshot.proto:55

message ContractState

snapshot.proto:32

leafs of the contract state tree

Used in: ContractRange

message ContractStorage

snapshot.proto:107

Used in: ContractStorageResponse

message ContractStorageRequest

snapshot.proto:101

result is (ContractStorageRange+, PatriciaRangeProof)*

message ContractStorageResponse

snapshot.proto:111

message ContractStoredValue

state.proto:9

optimized for flat storage, not through a trie (not sharing key prefixes)

Used in: ContractDiff, ContractStorage

message DeclareV3Common

transaction.proto:31

Used in: DeclareV3WithClass, TransactionInBlock.DeclareV3WithoutClass

message DeclareV3WithClass

transaction.proto:44

Used in: ConsensusTransaction, MempoolTransaction

message DeclaredClass

state.proto:22

Used in: StateDiffsResponse

message DeployAccountV3

transaction.proto:74

see https://external.integration.starknet.io/feeder_gateway/get_transaction?transactionHash=0x29fd7881f14380842414cdfdd8d6c0b1f2174f8916edcfeb1ede1eb26ac3ef0

Used in: ConsensusTransaction, MempoolTransaction, TransactionInBlock

message EntryPoint

class.proto:6

Used in: Cairo0Class

message EthereumAddress

receipt.proto:17

Used in: MessageToL1

message Event

event.proto:7

Used in: EventsResponse

message EventsRequest

event.proto:14

message EventsResponse

event.proto:19

Responses are sent ordered by the order given in the request.

message Felt252

common.proto:5

Used in: AccountSignature, Cairo1Class, CommitmentParts, ConsensusSignature, ContractDiff, ContractStoredValue, DeclareV3Common, DeployAccountV3, EntryPoint, Event, InvokeV3, L1HandlerV0, MessageToL1, PatriciaNode.Binary, PatriciaNode.Edge, Receipt.Common, Receipt.Deploy, Receipt.DeployAccount, Receipt.ExecutionResources, ResourceLimits, SierraEntryPoint, StorageLeafQuery, TransactionInBlock.DeclareV0WithoutClass, TransactionInBlock.DeclareV1WithoutClass, TransactionInBlock.DeclareV2WithoutClass, TransactionInBlock.Deploy, TransactionInBlock.DeployAccountV1, TransactionInBlock.InvokeV0, TransactionInBlock.InvokeV1

message Fin

common.proto:68

mark the end of a stream of messages

Used in: BlockHeadersResponse, ClassRangeResponse, ClassesResponse, ContractRangeResponse, ContractStorageResponse, EventsResponse, StateDiffsResponse, StreamMessage, TransactionsResponse

(message has no fields)

message Hash

common.proto:10

A hash value representable as a Felt252

Used in: BlockID, Class, ClassRangeRequest, ClassRangeResponse, CommitmentParts, ConsensusTransaction, ContractDiff, ContractRangeRequest, ContractRangeResponse, ContractState, ContractStorageRequest, ContractStorageResponse, DeclareV3Common, DeclaredClass, DeployAccountV3, Event, Hashes, Iteration, MempoolTransaction, Patricia, ProposalFin, ProposalInit, SignedBlockHeader, StateDiffCommitment, StorageLeafQuery, TransactionInBlock, TransactionInBlock.DeclareV0WithoutClass, TransactionInBlock.DeclareV1WithoutClass, TransactionInBlock.DeclareV2WithoutClass, TransactionInBlock.DeclareV3WithoutClass, TransactionInBlock.Deploy, TransactionInBlock.DeployAccountV1, Vote

message Hash256

common.proto:15

A 256 bit hash value (like Keccak256)

Used in: Receipt.L1Handler

message Hashes

common.proto:20

Used in: Vote

message InvokeV3

transaction.proto:52

see https://external.integration.starknet.io/feeder_gateway/get_transaction?transactionHash=0x41906f1c314cca5f43170ea75d3b1904196a10101190d2b12a41cc61cfd17c An invoke V3 transaction without client-side proof (only contains proof_facts).

Used in: InvokeV3WithProof, TransactionInBlock

message InvokeV3WithProof

transaction.proto:68

An invoke V3 transaction with client-side proof. Used in consensus and mempool contexts where proof is included.

Used in: ConsensusTransaction, MempoolTransaction

message Iteration

common.proto:11

Used in: BlockHeadersRequest, ClassesRequest, EventsRequest, StateDiffsRequest, TransactionsRequest

enum Iteration.Direction

common.proto:12

Used in: Iteration

enum L1DataAvailabilityMode

common.proto:53

Used in: ProposalInit, SignedBlockHeader

message L1HandlerV0

transaction.proto:24

Used in: ConsensusTransaction, TransactionInBlock

message L2GasInfo

consensus.proto:77

L2 gas info for the block (next price and gas used).

Used in: ProposalFinPayload

message MempoolTransaction

transaction.proto:9

Doesn't contain L1Handler, as those don't need to be propagated and can be downloaded from L1.

message MessageToL1

receipt.proto:6

Used in: Receipt.Common

message MultiAddress

discovery.proto:12

Used in: Node

message NewBlock

header.proto:37

sent to all peers (except the ones this was received from, if any). for a fraction of peers, also send the GetBlockHeaders response (as if they asked for it for this block)

message Node

discovery.proto:34

send when joining and periodically (period TBD)

Used in: NodesResponse

message NodesRequest

discovery.proto:44

when a node joins it can ask peers for the nodes they know

message NodesResponse

discovery.proto:50

message Patricia

common.proto:42

Used in: SignedBlockHeader

message PatriciaNode

snapshot.proto:9

Used in: PatriciaRangeProof

message PatriciaNode.Binary

snapshot.proto:15

Used in: PatriciaNode

message PatriciaNode.Edge

snapshot.proto:10

Used in: PatriciaNode

message PatriciaRangeProof

snapshot.proto:27

non leaf nodes required to build the trie given the range (leaves)

message PeerID

common.proto:28

Used in: Node, NodesRequest

message Pow

discovery.proto:24

Used in: Node

enum PriceUnit

receipt.proto:12

Used in: Receipt.Common

message ProposalFin

consensus.proto:88

Used in: ProposalPart

message ProposalFinPayload

consensus.proto:83

Optional payload carried in ProposalFin: commitment parts and L2 gas.

Used in: ProposalFin

message ProposalInit

consensus.proto:47

Used in: ProposalPart

message ProposalPart

consensus.proto:100

Network format: 1. First message is ProposalInit (init, includes all block metadata) 2. transactions is sent repeatedly (for non-empty blocks) 3. Last message is ProposalFin

message Receipt

receipt.proto:21

Used in: TransactionWithReceipt

message Receipt.Common

receipt.proto:46

Used in: Declare, Deploy, DeployAccount, Invoke, L1Handler

message Receipt.Declare

receipt.proto:64

Used in: Receipt

message Receipt.Deploy

receipt.proto:68

Used in: Receipt

message Receipt.DeployAccount

receipt.proto:73

Used in: Receipt

message Receipt.ExecutionResources

receipt.proto:22

Used in: Common

message Receipt.ExecutionResources.BuiltinCounter

receipt.proto:23

Used in: ExecutionResources

message Receipt.Invoke

receipt.proto:55

Used in: Receipt

message Receipt.L1Handler

receipt.proto:59

Used in: Receipt

message ResourceBounds

transaction.proto:12

Used in: DeclareV3Common, DeployAccountV3, InvokeV3

message ResourceLimits

transaction.proto:7

Used in: ResourceBounds

message SierraEntryPoint

class.proto:20

Used in: Cairo1EntryPoints

message SignedBlockHeader

header.proto:9

Note: commitments may change to be for the previous blocks like comet/tendermint hash of block header sent to L1

Used in: BlockHeadersResponse

message StateDiffCommitment

common.proto:6

Used in: SignedBlockHeader

message StateDiffsRequest

state.proto:27

message StateDiffsResponse

state.proto:32

Responses are sent ordered by the order given in the request.

message StorageLeafQuery

snapshot.proto:90

A position in some contract's state tree is identified by the state tree's root and the key in it

Used in: StorageRangeQuery

message StorageRangeQuery

snapshot.proto:95

Used in: ContractStorageRequest

message StreamMessage

consensus.proto:38

message SyncCapability

capabilities.proto:12

A capability for one of the following protocols: 1. /starknet/headers/ 2. /starknet/state_diffs/ 3. /starknet/classes/ 4. /starknet/transactions/ 5. /starknet/events/ The capability defines which blocks does the node store

message SyncCapability.ArchiveStrategy

capabilities.proto:13

Used in: SyncCapability

(message has no fields)

message SyncCapability.ConstSizePruneStrategy

capabilities.proto:15

Keep data for the top n blocks of the chain for the given protocol.

Used in: SyncCapability

message SyncCapability.L1PruneStrategy

capabilities.proto:14

Used in: SyncCapability

(message has no fields)

message SyncCapability.StaticPruneStrategy

capabilities.proto:18

Keep all data from a hardcoded block for the given protocol.

Used in: SyncCapability

message TransactionBatch

consensus.proto:64

Used in: ProposalPart

message TransactionInBlock

transaction.proto:29

Used in: TransactionWithReceipt

message TransactionInBlock.DeclareV0WithoutClass

transaction.proto:30

Used in: TransactionInBlock

message TransactionInBlock.DeclareV1WithoutClass

transaction.proto:37

Used in: TransactionInBlock

message TransactionInBlock.DeclareV2WithoutClass

transaction.proto:45

Used in: TransactionInBlock

message TransactionInBlock.DeclareV3WithoutClass

transaction.proto:55

see https://external.integration.starknet.io/feeder_gateway/get_transaction?transactionHash=0x41d1f5206ef58a443e7d3d1ca073171ec25fa75313394318fc83a074a6631c3

Used in: TransactionInBlock

message TransactionInBlock.Deploy

transaction.proto:60

Used in: TransactionInBlock

message TransactionInBlock.DeployAccountV1

transaction.proto:67

Used in: TransactionInBlock

message TransactionInBlock.InvokeV0

transaction.proto:76

Used in: TransactionInBlock

message TransactionInBlock.InvokeV1

transaction.proto:84

Used in: TransactionInBlock

message TransactionWithReceipt

transaction.proto:24

Used in: TransactionsResponse

message TransactionsRequest

transaction.proto:11

TBD: can support a flag to return tx hashes only, good for standalone mempool to remove them, or any node that keeps track of transaction streaming in the consensus.

message TransactionsResponse

transaction.proto:17

Responses are sent ordered by the order given in the request. The order inside each block is according to the execution order.

message Uint128

common.proto:32

Used in: L2GasInfo, ProposalInit, SignedBlockHeader

enum VolitionDomain

common.proto:58

Used in: ContractDiff, DeclareV3Common, DeployAccountV3, InvokeV3

message Vote

consensus.proto:20

enum Vote.VoteType

consensus.proto:21

Used in: Vote