Default package

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

message AccountSignature

transaction.proto:15

Used in: Transaction.DeclareV0, Transaction.DeclareV1, Transaction.DeclareV2, Transaction.DeclareV3, Transaction.DeployAccountV1, Transaction.DeployAccountV3, Transaction.InvokeV0, Transaction.InvokeV1, Transaction.InvokeV3

message Address

common.proto:15

Used in: ContractDiff, Proposal, SignedBlockHeader, Transaction.DeclareV0, Transaction.DeclareV1, Transaction.DeclareV2, Transaction.DeclareV3, Transaction.InvokeV0, Transaction.InvokeV1, Transaction.InvokeV3, Transaction.L1HandlerV0, Vote

message BlockHeadersRequest

header.proto:40

message BlockHeadersResponse

header.proto:45

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

Used in: NewBlock

message BlockID

common.proto:43

Used in: NewBlock

message Cairo0Class

class.proto:10

Used in: Class

message Cairo1Class

class.proto:30

Used in: Class

message Cairo1EntryPoints

class.proto:24

Used in: Cairo1Class

message Class

class.proto:37

Used in: ClassesResponse

message ClassesRequest

class.proto:45

message ClassesResponse

class.proto:50

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

message ConsensusMessage

consensus.proto:28

message ConsensusSignature

common.proto:28

Used in: SignedBlockHeader

message ContractDiff

state.proto:11

Used in: StateDiffsResponse

message ContractStoredValue

state.proto:6

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

Used in: ContractDiff

message DeclaredClass

state.proto:19

Used in: StateDiffsResponse

message EntryPoint

class.proto:5

Used in: Cairo0Class

message EthereumAddress

receipt.proto:15

Used in: MessageToL1

message Event

event.proto:4

Used in: EventsResponse

message EventsRequest

event.proto:11

message EventsResponse

event.proto:16

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

message Felt252

common.proto:3

Used in: AccountSignature, Cairo1Class, ConsensusSignature, ContractDiff, ContractStoredValue, EntryPoint, Event, MessageToL1, Receipt.Common, Receipt.Deploy, Receipt.DeployAccount, ResourceLimits, SierraEntryPoint, Transaction.DeclareV0, Transaction.DeclareV1, Transaction.DeclareV2, Transaction.DeclareV3, Transaction.Deploy, Transaction.DeployAccountV1, Transaction.DeployAccountV3, Transaction.InvokeV0, Transaction.InvokeV1, Transaction.InvokeV3, Transaction.L1HandlerV0

message Fin

common.proto:75

mark the end of a stream of messages TBD: may not be required if we open a stream per request.

Used in: BlockHeadersResponse, ClassesResponse, EventsResponse, StateDiffsResponse, TransactionsResponse

(message has no fields)

message Hash

common.proto:7

Used in: BlockID, ContractDiff, DeclaredClass, Event, Hashes, Iteration, Patricia, Proposal, Receipt.L1Handler, SignedBlockHeader, StateDiffCommitment, Transaction.DeclareV0, Transaction.DeclareV1, Transaction.DeclareV2, Transaction.DeclareV3, Transaction.Deploy, Transaction.DeployAccountV1, Transaction.DeployAccountV3, Vote

message Hashes

common.proto:11

message Iteration

common.proto:58

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

enum Iteration.Direction

common.proto:59

Used in: Iteration

enum L1DataAvailabilityMode

common.proto:48

Used in: SignedBlockHeader

message MessageToL1

receipt.proto:4

Used in: Receipt.Common

message NewBlock

header.proto:32

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

Used in: SignedBlockHeader

message PeerID

common.proto:19

enum PriceUnit

receipt.proto:10

Used in: Receipt.Common

message Proposal

consensus.proto:5

Used in: ConsensusMessage

message Receipt

receipt.proto:19

Used in: TransactionWithReceipt

message Receipt.Common

receipt.proto:44

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

message Receipt.Declare

receipt.proto:62

Used in: Receipt

message Receipt.Deploy

receipt.proto:66

Used in: Receipt

message Receipt.DeployAccount

receipt.proto:71

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

Used in: ExecutionResources

message Receipt.Invoke

receipt.proto:53

Used in: Receipt

message Receipt.L1Handler

receipt.proto:57

Used in: Receipt

message ResourceBounds

transaction.proto:10

Used in: Transaction.DeclareV3, Transaction.DeployAccountV3, Transaction.InvokeV3

message ResourceLimits

transaction.proto:5

Used in: ResourceBounds

message SierraEntryPoint

class.proto:19

Used in: Cairo1EntryPoints

message SignedBlockHeader

header.proto:6

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

Used in: SignedBlockHeader

message StateDiffsRequest

state.proto:24

message StateDiffsResponse

state.proto:29

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

message Transaction

transaction.proto:21

This is a transaction that is already accepted in a block. Once we have a mempool, we will define a separate message for BroadcastedTransaction.

Used in: Proposal, TransactionWithReceipt

message Transaction.DeclareV0

transaction.proto:23

Used in: Transaction

message Transaction.DeclareV1

transaction.proto:30

Used in: Transaction

message Transaction.DeclareV2

transaction.proto:38

Used in: Transaction

message Transaction.DeclareV3

transaction.proto:48

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

Used in: Transaction

message Transaction.Deploy

transaction.proto:62

Used in: Transaction

message Transaction.DeployAccountV1

transaction.proto:69

Used in: Transaction

message Transaction.DeployAccountV3

transaction.proto:79

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

Used in: Transaction

message Transaction.InvokeV0

transaction.proto:92

Used in: Transaction

message Transaction.InvokeV1

transaction.proto:100

Used in: Transaction

message Transaction.InvokeV3

transaction.proto:109

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

Used in: Transaction

message Transaction.L1HandlerV0

transaction.proto:122

Used in: Transaction

message TransactionWithReceipt

transaction.proto:144

Used in: TransactionsResponse

message TransactionsRequest

transaction.proto:151

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

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

Used in: SignedBlockHeader

enum VolitionDomain

common.proto:53

Used in: ContractDiff, Transaction.DeclareV3, Transaction.DeployAccountV3, Transaction.InvokeV3

message Vote

consensus.proto:12

Used in: ConsensusMessage

enum Vote.VoteType

consensus.proto:13

Used in: Vote