Default package

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

message AccountSignature

transaction.proto:21

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, DeclareV3Common, InvokeV3, L1HandlerV0, ProposalInit, SignedBlockHeader, TransactionInBlock.DeclareV0WithoutClass, TransactionInBlock.DeclareV1WithoutClass, TransactionInBlock.DeclareV2WithoutClass, TransactionInBlock.InvokeV0, TransactionInBlock.InvokeV1, Vote

message BlockHeadersRequest

header.proto:50

message BlockHeadersResponse

header.proto:55

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 ChallengeAndIdentity

authentication.proto:15

Used in: StarkAuthentication

message Class

class.proto:38

Used in: ClassesResponse

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:70

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 ContractStoredValue

state.proto:9

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

Used in: ContractDiff

message DeclareV3Common

transaction.proto:32

Used in: DeclareV3WithClass, TransactionInBlock.DeclareV3WithoutClass

message DeclareV3WithClass

transaction.proto:45

Used in: ConsensusTransaction, MempoolTransaction

message DeclaredClass

state.proto:22

Used in: StateDiffsResponse

message DeployAccountV3

transaction.proto:75

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:15

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, ChallengeAndIdentity, CommitmentParts, ConsensusSignature, ContractDiff, ContractStoredValue, DeclareV3Common, DeployAccountV3, EntryPoint, Event, InvokeV3, L1HandlerV0, MessageToL1, Receipt.Common, Receipt.Deploy, Receipt.DeployAccount, ResourceLimits, SierraEntryPoint, Signature, 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, ClassesResponse, EventsResponse, StateDiffsResponse, StreamMessage, TransactionsResponse

(message has no fields)

message Hash

common.proto:10

A hash value representable as a Felt252

Used in: BlockID, Class, CommitmentParts, ConsensusTransaction, ContractDiff, DeclareV3Common, DeclaredClass, DeployAccountV3, Event, Hashes, Iteration, MempoolTransaction, Patricia, ProposalFin, ProposalInit, SignedBlockHeader, StateDiffCommitment, 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: MerkleProof, PropellerUnit, Receipt.L1Handler

message Hashes

common.proto:20

Used in: Vote

message InvokeV3

transaction.proto:53

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:69

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:25

Used in: ConsensusTransaction, TransactionInBlock

message L2GasInfo

consensus.proto:79

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

Used in: ProposalFinPayload

message MempoolTransaction

transaction.proto:12

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

Used in: MempoolTransactionBatch

message MempoolTransactionBatch

transaction.proto:21

message MerkleProof

propeller.proto:10

A Merkle proof consisting of sibling hashes used to verify that a leaf belongs to a Merkle tree. Each sibling hash is 32 bytes (SHA-256). The siblings are ordered from leaf level to root level.

Used in: PropellerUnit

message MessageToL1

receipt.proto:4

Used in: Receipt.Common

message NewBlock

header.proto:42

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 Patricia

common.proto:42

Used in: SignedBlockHeader

message PeerID

common.proto:28

Used in: PropellerUnit

enum PriceUnit

receipt.proto:10

Used in: Receipt.Common

message PropellerUnit

propeller.proto:30

A single unit in the Propeller protocol containing shards of erasure-coded data along with cryptographic proofs for verification.

Used in: PropellerUnitBatch

message PropellerUnitBatch

propeller.proto:52

A batch of PropellerUnits for efficient transmission.

message ProposalFin

consensus.proto:90

Used in: ProposalPart

message ProposalFinPayload

consensus.proto:85

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:102

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:19

Used in: TransactionWithReceipt

message Receipt.Common

receipt.proto:47

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

message Receipt.Declare

receipt.proto:65

Used in: Receipt

message Receipt.Deploy

receipt.proto:69

Used in: Receipt

message Receipt.DeployAccount

receipt.proto:74

Used in: Receipt

message Receipt.ExecutionResources

receipt.proto:20

Used in: Common

message Receipt.ExecutionResources.BuiltinCounter

receipt.proto:21

Used in: ExecutionResources

message Receipt.ExecutionResources.GasVector

receipt.proto:34

TODO(alonl): remove GasVector and unsplit gas_consumed and da_gas_consumed

Used in: ExecutionResources

message Receipt.Invoke

receipt.proto:56

Used in: Receipt

message Receipt.L1Handler

receipt.proto:60

Used in: Receipt

message ResourceBounds

transaction.proto:13

Used in: DeclareV3Common, DeployAccountV3, InvokeV3

message ResourceLimits

transaction.proto:7

Used in: ResourceBounds

message Shard

propeller.proto:17

A single erasure-coded fragment of the original message.

Used in: ShardsOfPeer

message ShardsOfPeer

propeller.proto:24

A collection of shards assigned to a single peer. The proto-encoded bytes of this message are used as Merkle tree leaf data, ensuring cross-language determinism.

Used in: PropellerUnit

message SierraEntryPoint

class.proto:20

Used in: Cairo1EntryPoints

message Signature

authentication.proto:20

Used in: StarkAuthentication

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 StarkAuthentication

authentication.proto:8

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 StreamMessage

consensus.proto:38

message TransactionBatch

consensus.proto:66

Used in: ProposalPart

message TransactionInBlock

transaction.proto:31

Used in: TransactionWithReceipt

message TransactionInBlock.DeclareV0WithoutClass

transaction.proto:32

Used in: TransactionInBlock

message TransactionInBlock.DeclareV1WithoutClass

transaction.proto:39

Used in: TransactionInBlock

message TransactionInBlock.DeclareV2WithoutClass

transaction.proto:47

Used in: TransactionInBlock

message TransactionInBlock.DeclareV3WithoutClass

transaction.proto:57

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

Used in: TransactionInBlock

message TransactionInBlock.Deploy

transaction.proto:62

Used in: TransactionInBlock

message TransactionInBlock.DeployAccountV1

transaction.proto:69

Used in: TransactionInBlock

message TransactionInBlock.InvokeV0

transaction.proto:78

Used in: TransactionInBlock

message TransactionInBlock.InvokeV1

transaction.proto:86

Used in: TransactionInBlock

message TransactionWithReceipt

transaction.proto:26

Used in: TransactionsResponse

message TransactionsRequest

transaction.proto:13

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:19

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