package tari.rpc

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

service BaseNode

base_node.proto:33

The gRPC interface for interacting with the base node.

message Address

network.proto:69

Used in: Peer

message AggregateBody

transaction.proto:140

The components of the block or transaction. The same struct can be used for either, since in Mimblewimble, cut-through means that blocks and transactions have the same structure. The inputs, outputs and kernels should be sorted by their Blake2b-256bit digest hash

Used in: Block, NewBlockTemplate, Transaction

message AverageLatency

network.proto:76

Used in: Address

enum BaseNodeState

base_node.proto:167

Used in: GetNetworkStateResponse, TipInfoResponse

message Block

block.proto:92

A Minotari block. Blocks are linked together into a blockchain.

Used as request type in: BaseNode.SubmitBlock

Used as field type in: GetNewBlockResult, HistoricalBlock

message BlockGroupRequest

base_node.proto:244

/ GetBlockSize / GetBlockFees Request / Either the starting and ending heights OR the from_tip param must be specified

Used as request type in: BaseNode.GetBlockFees, BaseNode.GetBlockSize

message BlockGroupResponse

base_node.proto:258

/ GetBlockSize / GetBlockFees Response

Used as response type in: BaseNode.GetBlockFees, BaseNode.GetBlockSize

message BlockHeader

block.proto:30

The BlockHeader contains all the metadata for the block, including proof of work, a link to the previous block and the transaction kernels.

Used in: Block, BlockHeaderResponse

message BlockHeaderResponse

base_node.proto:295

Used as response type in: BaseNode.GetHeaderByHash, BaseNode.ListHeaders

message BlockInfo

base_node.proto:509

Used in: GetSideChainUtxosResponse

message BuildInfo

sidechain_types.proto:74

Used in: TemplateRegistration

enum CalcType

base_node.proto:263

Used in: BlockGroupRequest, BlockGroupResponse

message ComAndPubSignature

types.proto:49

Define the explicit ComAndPubSignature implementation for the Minotari base layer. A different signature scheme can be employed by redefining this type.

Used in: TransactionInput, TransactionOutput, UnblindedOutput

message CommitmentSignature

types.proto:59

Define the explicit CommitmentSignature implementation for the Minotari base layer. A different signature scheme can be employed by redefining this type

message ConfidentialOutputData

sidechain_types.proto:52

Used in: SideChainFeature

enum ConnectivityStatus

network.proto:56

Used in: NetworkStatusResponse

message Empty

types.proto:33

/ An Empty placeholder for endpoints without request parameters

Used as request type in: BaseNode.CheckForUpdates, BaseNode.GetMempoolStats, BaseNode.GetNetworkStatus, BaseNode.GetSyncInfo, BaseNode.GetSyncProgress, BaseNode.GetTipInfo, BaseNode.GetVersion, BaseNode.Identify, BaseNode.ListConnectedPeers

(message has no fields)

message FlowInfo

sidechain_types.proto:68

Used in: TemplateType

(message has no fields)

message GetAssetMetadataRequest

base_node.proto:105

message GetAssetMetadataResponse

base_node.proto:109

message GetBlocksRequest

base_node.proto:327

The request used for querying blocks in the base node's current best chain. Currently only querying by height is available. Multiple blocks may be queried.e.g. [189092,100023,122424]. The order in which they are returned is not guaranteed.

Used as request type in: BaseNode.GetBlocks, BaseNode.GetTokensInCirculation

message GetBlocksResponse

base_node.proto:332

The return type of the rpc GetBlocks. Blocks are not guaranteed to be returned in the order requested.

message GetIdentityRequest

network.proto:91

(message has no fields)

message GetIdentityResponse

network.proto:93

message GetNewBlockResult

base_node.proto:377

This is the message that is returned for a miner after it asks for a new block.

Used as response type in: BaseNode.GetNewBlock, BaseNode.GetNewBlockTemplateWithCoinbases, BaseNode.GetNewBlockWithCoinbases

message GetTokensRequest

base_node.proto:134

message GetTokensResponse

base_node.proto:140

message HeightRequest

base_node.proto:272

The request used for querying a function that requires a height, either between 2 points or from the chain tip If start_height and end_height are set and > 0, they take precedence, otherwise from_tip is used

Used as request type in: BaseNode.GetBlockTiming, BaseNode.GetNetworkDifficulty

message HistoricalBlock

block.proto:103

The representation of a historical block in the blockchain. It is essentially identical to a protocol-defined block but contains some extra metadata that clients such as Block Explorers will find interesting.

Used as response type in: BaseNode.GetBlocks, BaseNode.SearchKernels, BaseNode.SearchUtxos

Used as field type in: GetBlocksResponse

message IntegerValue

base_node.proto:233

A generic uint value

message ListAssetRegistrationsRequest

base_node.proto:119

message ListAssetRegistrationsResponse

base_node.proto:124

message ManifestInfo

sidechain_types.proto:71

Used in: TemplateType

(message has no fields)

message MetaData

base_node.proto:341

Used in: GetNetworkStateResponse, TipInfoResponse

message MinerData

base_node.proto:401

This is mining data for the miner asking for a new block

Used in: GetNewBlockResult, NewBlockTemplateResponse

message NewBlockCoinbase

base_node.proto:205

Used in: GetNewBlockTemplateWithCoinbasesRequest, GetNewBlockWithCoinbasesRequest

message NewBlockHeaderTemplate

block.proto:113

The NewBlockHeaderTemplate is used for the construction of a new mine-able block. It contains all the metadata for the block that the Base Node is able to complete on behalf of a Miner.

Used in: NewBlockTemplate

message NewBlockTemplate

block.proto:130

The new block template is used constructing a new partial block, allowing a miner to added the coinbase utxo and as a final step the Base node to add the MMR roots to the header.

Used as request type in: BaseNode.GetNewBlock, BaseNode.GetNewBlockBlob

Used as field type in: GetNewBlockWithCoinbasesRequest, NewBlockTemplateResponse

message OutputFeatures

transaction.proto:121

Options for UTXOs

Used in: GetAssetMetadataResponse, GetTokensResponse, ListAssetRegistrationsResponse, TransactionInput, TransactionOutput, UnblindedOutput

enum OutputType

types.proto:87

/ Output types

Used in: ConsensusConstants, PermittedRangeProofs

message OutputsVersion

types.proto:81

/ Output version

Used in: ConsensusConstants

message Peer

network.proto:34

Used in: GetPeersResponse, ListConnectedPeersResponse

message PermittedRangeProofs

types.proto:101

Used in: ConsensusConstants

message PowAlgo

block.proto:80

This is used to request the which pow algo should be used with the block template

Used in: GetNewBlockTemplateWithCoinbasesRequest, MinerData, NewBlockTemplateRequest

enum PowAlgo.PowAlgos

block.proto:82

The permitted pow algorithms

Used in: PowAlgo

message PowAlgorithmConstants

types.proto:66

/ PoW Algorithm constants

Used in: ConsensusConstants

message ProofOfWork

block.proto:69

The proof of work data structure that is included in the block header.

Used in: BlockHeader, NewBlockHeaderTemplate

message Range

types.proto:27

/ An unsigned range interface to more accurately represent Rust native Range's

Used in: ConsensusConstants, OutputsVersion

message RangeProof

types.proto:107

/ Range proof

Used in: TransactionOutput, UnblindedOutput

enum RangeProofType

types.proto:96

/ Range proof types

Used in: PermittedRangeProofs

message SideChainFeature

sidechain_types.proto:28

Used in: OutputFeatures

message Signature

types.proto:42

Define the explicit Signature implementation for the Minotari base layer. A different signature scheme can be employed by redefining this type.

Used in: SearchKernelsRequest, TemplateRegistration, TransactionKernel, TransactionStateRequest, ValidatorNodeRegistration

enum Sorting

base_node.proto:336

Used in: ListHeadersRequest

message SubmitBlockResponse

base_node.proto:150

Used as response type in: BaseNode.SubmitBlock, BaseNode.SubmitBlockBlob

enum SubmitTransactionResult

base_node.proto:442

Used in: SubmitTransactionResponse

enum SyncState

base_node.proto:367

Used in: SyncProgressResponse

message TemplateRegistration

sidechain_types.proto:41

Used in: GetTemplateRegistrationResponse, SideChainFeature

message TemplateType

sidechain_types.proto:56

Used in: TemplateRegistration

message Transaction

transaction.proto:150

A transaction which consists of a kernel offset and an aggregate body made up of inputs, outputs and kernels.

Used in: GetMempoolTransactionsResponse, SubmitTransactionRequest

message TransactionInput

transaction.proto:60

A transaction input. Primarily a reference to an output being spent by the transaction.

Used in: AggregateBody

message TransactionKernel

transaction.proto:34

The transaction kernel tracks the excess for a given transaction. For an explanation of what the excess is, and why it is necessary, refer to the [Mimblewimble TLU post](https://tlu.tarilabs.com/protocols/mimblewimble-1/sources/PITCHME.link.html?highlight=mimblewimble#mimblewimble). The kernel also tracks other transaction metadata, such as the lock height for the transaction (i.e. the earliest this transaction can be mined) and the transaction fee, in cleartext.

Used in: AggregateBody

enum TransactionLocation

base_node.proto:467

Used in: TransactionStateResponse

message TransactionOutput

transaction.proto:94

Output for a transaction, defining the new ownership of coins that are being transferred. The commitment is a blinded value for the output while the range proof guarantees the commitment includes a positive value without overflow and the ownership of the private key.

Used in: AggregateBody, FetchMatchingUtxosResponse, GetSideChainUtxosResponse

message UnblindedOutput

transaction.proto:156

message ValidatorNodeRegistration

sidechain_types.proto:36

Used in: SideChainFeature

message WasmInfo

sidechain_types.proto:64

Used in: TemplateType

message WeightParams

types.proto:73

/ Weight params

Used in: ConsensusConstants