package protowire

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

service RPC

messages.proto:136

message AddPeerRequestMessage

rpc.proto:286

AddPeerRequestMessage adds a peer to kaspad's outgoing connection list. This will, in most cases, result in kaspad connecting to said peer.

Used in: KaspadRequest

message AddPeerResponseMessage

rpc.proto:293

Used in: KaspadResponse

message BanRequestMessage

rpc.proto:674

BanRequestMessage bans the given ip.

Used in: KaspadRequest

message BanResponseMessage

rpc.proto:678

Used in: KaspadResponse

message BandwidthMetrics

rpc.proto:794

Used in: GetMetricsResponseMessage

message BlockAddedNotificationMessage

rpc.proto:189

BlockAddedNotificationMessage is sent whenever a blocks has been added (NOT accepted) into the DAG. See: NotifyBlockAddedRequestMessage

Used in: KaspadResponse

message ConnectionMetrics

rpc.proto:782

Used in: GetMetricsResponseMessage

message ConnectionsProfileData

rpc.proto:832

Used in: GetConnectionsResponseMessage

message ConsensusMetrics

rpc.proto:805

Used in: GetMetricsResponseMessage

message EstimateNetworkHashesPerSecondRequestMessage

rpc.proto:706

Used in: KaspadRequest

message EstimateNetworkHashesPerSecondResponseMessage

rpc.proto:711

Used in: KaspadResponse

message FinalityConflictNotificationMessage

rpc.proto:464

Used in: KaspadResponse

message FinalityConflictResolvedNotificationMessage

rpc.proto:468

Used in: KaspadResponse

message GetBalanceByAddressRequestMessage

rpc.proto:557

GetBalanceByAddressRequest returns the total balance in unspent transactions towards a given address This call is only available when this kaspad was started with `--utxoindex`

Used in: KaspadRequest

message GetBalanceByAddressResponseMessage

rpc.proto:561

Used in: KaspadResponse

message GetBalancesByAddressesRequestMessage

rpc.proto:567

Used in: KaspadRequest

message GetBalancesByAddressesResponseMessage

rpc.proto:578

Used in: KaspadResponse

message GetBlockCountRequestMessage

rpc.proto:420

GetBlockCountRequestMessage requests the current number of blocks in this kaspad. Note that this number may decrease as pruning occurs.

Used in: KaspadRequest

(message has no fields)

message GetBlockCountResponseMessage

rpc.proto:423

Used in: KaspadResponse

message GetBlockDagInfoRequestMessage

rpc.proto:431

GetBlockDagInfoRequestMessage requests general information about the current state of this kaspad's DAG.

Used in: KaspadRequest

(message has no fields)

message GetBlockDagInfoResponseMessage

rpc.proto:434

Used in: KaspadResponse

message GetBlockRequestMessage

rpc.proto:353

GetBlockRequestMessage requests information about a specific block

Used in: KaspadRequest

message GetBlockResponseMessage

rpc.proto:361

Used in: KaspadResponse

message GetBlockTemplateRequestMessage

rpc.proto:156

GetBlockTemplateRequestMessage requests a current block template. Callers are expected to solve the block template and submit it using the submitBlock call See: SubmitBlockRequestMessage

Used in: KaspadRequest

message GetBlockTemplateResponseMessage

rpc.proto:162

Used in: KaspadResponse

message GetBlocksRequestMessage

rpc.proto:406

GetBlocksRequestMessage requests blocks between a certain block lowHash up to this kaspad's current virtual.

Used in: KaspadRequest

message GetBlocksResponseMessage

rpc.proto:412

Used in: KaspadResponse

message GetCoinSupplyRequestMessage

rpc.proto:753

Used in: KaspadRequest

(message has no fields)

message GetCoinSupplyResponseMessage

rpc.proto:756

Used in: KaspadResponse

message GetConnectedPeerInfoMessage

rpc.proto:262

Used in: GetConnectedPeerInfoResponseMessage

message GetConnectedPeerInfoRequestMessage

rpc.proto:254

GetConnectedPeerInfoRequestMessage requests information about all the p2p peers currently connected to this kaspad.

Used in: KaspadRequest

(message has no fields)

message GetConnectedPeerInfoResponseMessage

rpc.proto:257

Used in: KaspadResponse

message GetConnectionsRequestMessage

rpc.proto:828

Used in: KaspadRequest

message GetConnectionsResponseMessage

rpc.proto:837

Used in: KaspadResponse

message GetCurrentBlockColorRequestMessage

rpc.proto:963

Used in: KaspadRequest

message GetCurrentBlockColorResponseMessage

rpc.proto:967

Used in: KaspadResponse

message GetCurrentNetworkRequestMessage

rpc.proto:125

GetCurrentNetworkRequestMessage requests the network kaspad is currently running against. Possible networks are: Mainnet, Testnet, Simnet, Devnet

Used in: KaspadRequest

(message has no fields)

message GetCurrentNetworkResponseMessage

rpc.proto:128

Used in: KaspadResponse

message GetDaaScoreTimestampEstimateRequestMessage

rpc.proto:898

Used in: KaspadRequest

message GetDaaScoreTimestampEstimateResponseMessage

rpc.proto:902

Used in: KaspadResponse

message GetFeeEstimateExperimentalRequestMessage

rpc.proto:952

Used in: KaspadRequest

message GetFeeEstimateExperimentalResponseMessage

rpc.proto:956

Used in: KaspadResponse

message GetFeeEstimateRequestMessage

rpc.proto:944

Used in: KaspadRequest

(message has no fields)

message GetFeeEstimateResponseMessage

rpc.proto:947

Used in: KaspadResponse

message GetHeadersRequestMessage

rpc.proto:482

GetHeadersRequestMessage requests headers between the given startHash and the current virtual, up to the given limit.

Used in: KaspadRequest

message GetHeadersResponseMessage

rpc.proto:488

Used in: KaspadResponse

message GetInfoRequestMessage

rpc.proto:692

GetInfoRequestMessage returns info about the node.

Used in: KaspadRequest

(message has no fields)

message GetInfoResponseMessage

rpc.proto:695

Used in: KaspadResponse

message GetMempoolEntriesByAddressesRequestMessage

rpc.proto:741

Used in: KaspadRequest

message GetMempoolEntriesByAddressesResponseMessage

rpc.proto:747

Used in: KaspadResponse

message GetMempoolEntriesRequestMessage

rpc.proto:235

GetMempoolEntriesRequestMessage requests information about all the transactions currently in the mempool.

Used in: KaspadRequest

message GetMempoolEntriesResponseMessage

rpc.proto:240

Used in: KaspadResponse

message GetMempoolEntryRequestMessage

rpc.proto:220

GetMempoolEntryRequestMessage requests information about a specific transaction in the mempool.

Used in: KaspadRequest

message GetMempoolEntryResponseMessage

rpc.proto:227

Used in: KaspadResponse

message GetMetricsRequestMessage

rpc.proto:857

Used in: KaspadRequest

message GetMetricsResponseMessage

rpc.proto:866

Used in: KaspadResponse

message GetPeerAddressesKnownAddressMessage

rpc.proto:204

Used in: GetPeerAddressesResponseMessage

message GetPeerAddressesRequestMessage

rpc.proto:195

GetPeerAddressesRequestMessage requests the list of known kaspad addresses in the current network. (mainnet, testnet, etc.)

Used in: KaspadRequest

(message has no fields)

message GetPeerAddressesResponseMessage

rpc.proto:198

Used in: KaspadResponse

message GetServerInfoRequestMessage

rpc.proto:876

Used in: KaspadRequest

(message has no fields)

message GetServerInfoResponseMessage

rpc.proto:879

Used in: KaspadResponse

message GetSinkBlueScoreRequestMessage

rpc.proto:586

GetSinkBlueScoreRequestMessage requests the blue score of the current selected parent of the virtual block.

Used in: KaspadRequest

(message has no fields)

message GetSinkBlueScoreResponseMessage

rpc.proto:589

Used in: KaspadResponse

message GetSinkRequestMessage

rpc.proto:210

GetSinkRequestMessage requests the hash of the current virtual's selected parent.

Used in: KaspadRequest

(message has no fields)

message GetSinkResponseMessage

rpc.proto:213

Used in: KaspadResponse

message GetSubnetworkRequestMessage

rpc.proto:369

GetSubnetworkRequestMessage requests information about a specific subnetwork Currently unimplemented

Used in: KaspadRequest

message GetSubnetworkResponseMessage

rpc.proto:373

Used in: KaspadResponse

message GetSyncStatusRequestMessage

rpc.proto:890

Used in: KaspadRequest

(message has no fields)

message GetSyncStatusResponseMessage

rpc.proto:893

Used in: KaspadResponse

message GetSystemInfoRequestMessage

rpc.proto:844

Used in: KaspadRequest

(message has no fields)

message GetSystemInfoResponseMessage

rpc.proto:847

Used in: KaspadResponse

message GetUtxosByAddressesRequestMessage

rpc.proto:544

GetUtxosByAddressesRequestMessage requests all current UTXOs for the given kaspad addresses This call is only available when this kaspad was started with `--utxoindex`

Used in: KaspadRequest

message GetUtxosByAddressesResponseMessage

rpc.proto:548

Used in: KaspadResponse

message GetVirtualChainFromBlockRequestMessage

rpc.proto:380

GetVirtualChainFromBlockRequestMessage requests the virtual selected parent chain from some startHash to this kaspad's current virtual

Used in: KaspadRequest

message GetVirtualChainFromBlockResponseMessage

rpc.proto:390

Used in: KaspadResponse

message NewBlockTemplateNotificationMessage

rpc.proto:732

NewBlockTemplateNotificationMessage is sent whenever a new updated block template is available for miners. See NotifyNewBlockTemplateRequestMessage

Used in: KaspadResponse

(message has no fields)

message NotifyBlockAddedRequestMessage

rpc.proto:177

NotifyBlockAddedRequestMessage registers this connection for blockAdded notifications. See: BlockAddedNotificationMessage

Used in: KaspadRequest

message NotifyBlockAddedResponseMessage

rpc.proto:181

Used in: KaspadResponse

message NotifyFinalityConflictRequestMessage

rpc.proto:456

Used in: KaspadRequest

message NotifyFinalityConflictResponseMessage

rpc.proto:460

Used in: KaspadResponse

message NotifyNewBlockTemplateRequestMessage

rpc.proto:720

NotifyNewBlockTemplateRequestMessage registers this connection for NewBlockTemplate notifications. See: NewBlockTemplateNotificationMessage

Used in: KaspadRequest

message NotifyNewBlockTemplateResponseMessage

rpc.proto:724

Used in: KaspadResponse

message NotifyPruningPointUtxoSetOverrideRequestMessage

rpc.proto:641

NotifyPruningPointUtxoSetOverrideRequestMessage registers this connection for pruning point UTXO set override notifications. This call is only available when this kaspad was started with `--utxoindex` See: NotifyPruningPointUtxoSetOverrideResponseMessage

Used in: KaspadRequest

message NotifyPruningPointUtxoSetOverrideResponseMessage

rpc.proto:646

Used in: KaspadResponse

message NotifySinkBlueScoreChangedRequestMessage

rpc.proto:599

NotifySinkBlueScoreChangedRequestMessage registers this connection for sinkBlueScoreChanged notifications. See: SinkBlueScoreChangedNotificationMessage

Used in: KaspadRequest

message NotifySinkBlueScoreChangedResponseMessage

rpc.proto:603

Used in: KaspadResponse

message NotifyUtxosChangedRequestMessage

rpc.proto:499

NotifyUtxosChangedRequestMessage registers this connection for utxoChanged notifications for the given addresses. This call is only available when this kaspad was started with `--utxoindex` See: UtxosChangedNotificationMessage

Used in: KaspadRequest

message NotifyUtxosChangedResponseMessage

rpc.proto:506

Used in: KaspadResponse

message NotifyVirtualChainChangedRequestMessage

rpc.proto:328

NotifyVirtualChainChangedRequestMessage registers this connection for virtualChainChanged notifications. See: VirtualChainChangedNotificationMessage

Used in: KaspadRequest

message NotifyVirtualChainChangedResponseMessage

rpc.proto:333

Used in: KaspadResponse

message NotifyVirtualDaaScoreChangedRequestMessage

rpc.proto:619

NotifyVirtualDaaScoreChangedRequestMessage registers this connection for virtualDaaScoreChanged notifications. See: VirtualDaaScoreChangedNotificationMessage

Used in: KaspadRequest

message NotifyVirtualDaaScoreChangedResponseMessage

rpc.proto:623

Used in: KaspadResponse

message PingRequestMessage

rpc.proto:763

Used in: KaspadRequest

(message has no fields)

message PingResponseMessage

rpc.proto:766

Used in: KaspadResponse

message ProcessMetrics

rpc.proto:770

Used in: GetMetricsResponseMessage

message PruningPointUtxoSetOverrideNotificationMessage

rpc.proto:654

PruningPointUtxoSetOverrideNotificationMessage is sent whenever the UTXO index resets due to pruning point change via IBD. See NotifyPruningPointUtxoSetOverrideRequestMessage

Used in: KaspadResponse

(message has no fields)

message RPCError

rpc.proto:16

RPCError represents a generic non-internal error. Receivers of any ResponseMessage are expected to check whether its error field is not null.

Used in: AddPeerResponseMessage, BanResponseMessage, EstimateNetworkHashesPerSecondResponseMessage, GetBalanceByAddressResponseMessage, GetBalancesByAddressesResponseMessage, GetBlockCountResponseMessage, GetBlockDagInfoResponseMessage, GetBlockResponseMessage, GetBlockTemplateResponseMessage, GetBlocksResponseMessage, GetCoinSupplyResponseMessage, GetConnectedPeerInfoResponseMessage, GetConnectionsResponseMessage, GetCurrentBlockColorResponseMessage, GetCurrentNetworkResponseMessage, GetDaaScoreTimestampEstimateResponseMessage, GetFeeEstimateExperimentalResponseMessage, GetFeeEstimateResponseMessage, GetHeadersResponseMessage, GetInfoResponseMessage, GetMempoolEntriesByAddressesResponseMessage, GetMempoolEntriesResponseMessage, GetMempoolEntryResponseMessage, GetMetricsResponseMessage, GetPeerAddressesResponseMessage, GetServerInfoResponseMessage, GetSinkBlueScoreResponseMessage, GetSinkResponseMessage, GetSubnetworkResponseMessage, GetSyncStatusResponseMessage, GetSystemInfoResponseMessage, GetUtxosByAddressesResponseMessage, GetVirtualChainFromBlockResponseMessage, NotifyBlockAddedResponseMessage, NotifyFinalityConflictResponseMessage, NotifyNewBlockTemplateResponseMessage, NotifyPruningPointUtxoSetOverrideResponseMessage, NotifySinkBlueScoreChangedResponseMessage, NotifyUtxosChangedResponseMessage, NotifyVirtualChainChangedResponseMessage, NotifyVirtualDaaScoreChangedResponseMessage, PingResponseMessage, ResolveFinalityConflictResponseMessage, RpcBalancesByAddressesEntry, ShutdownResponseMessage, StopNotifyingPruningPointUtxoSetOverrideResponseMessage, StopNotifyingUtxosChangedResponseMessage, SubmitBlockResponseMessage, SubmitTransactionReplacementResponseMessage, SubmitTransactionResponseMessage, UnbanResponseMessage

message ResolveFinalityConflictRequestMessage

rpc.proto:448

Used in: KaspadRequest

message ResolveFinalityConflictResponseMessage

rpc.proto:452

Used in: KaspadResponse

message RpcAcceptedTransactionIds

rpc.proto:385

Used in: GetVirtualChainFromBlockResponseMessage, VirtualChainChangedNotificationMessage

message RpcBalancesByAddressesEntry

rpc.proto:571

Used in: GetBalancesByAddressesResponseMessage

message RpcBlock

rpc.proto:20

Used in: BlockAddedNotificationMessage, GetBlockResponseMessage, GetBlockTemplateResponseMessage, GetBlocksResponseMessage, SubmitBlockRequestMessage

message RpcBlockHeader

rpc.proto:26

Used in: RpcBlock

message RpcBlockLevelParents

rpc.proto:41

Used in: RpcBlockHeader

message RpcBlockVerboseData

rpc.proto:45

Used in: RpcBlock

message RpcFeeEstimate

rpc.proto:918

Data required for making fee estimates. Feerate values represent fee/mass of a transaction in `sompi/gram` units. Given a feerate value recommendation, calculate the required fee by taking the transaction mass and multiplying it by feerate: `fee = feerate * mass(tx)`

Used in: GetFeeEstimateExperimentalResponseMessage, GetFeeEstimateResponseMessage

message RpcFeeEstimateVerboseExperimentalData

rpc.proto:934

Used in: GetFeeEstimateExperimentalResponseMessage

message RpcFeerateBucket

rpc.proto:907

Used in: RpcFeeEstimate

message RpcMempoolEntry

rpc.proto:246

Used in: GetMempoolEntriesResponseMessage, GetMempoolEntryResponseMessage, RpcMempoolEntryByAddress

message RpcMempoolEntryByAddress

rpc.proto:735

Used in: GetMempoolEntriesByAddressesResponseMessage

enum RpcNotifyCommand

rpc.proto:117

Used in: NotifyBlockAddedRequestMessage, NotifyFinalityConflictRequestMessage, NotifyNewBlockTemplateRequestMessage, NotifyPruningPointUtxoSetOverrideRequestMessage, NotifySinkBlueScoreChangedRequestMessage, NotifyUtxosChangedRequestMessage, NotifyVirtualChainChangedRequestMessage, NotifyVirtualDaaScoreChangedRequestMessage

message RpcOutpoint

rpc.proto:89

Used in: RpcTransactionInput, RpcUtxosByAddressesEntry

message RpcScriptPublicKey

rpc.proto:78

Used in: RpcTransactionOutput, RpcUtxoEntry

message RpcTransaction

rpc.proto:58

Used in: RpcBlock, RpcMempoolEntry, SubmitTransactionReplacementRequestMessage, SubmitTransactionReplacementResponseMessage, SubmitTransactionRequestMessage

message RpcTransactionInput

rpc.proto:70

Used in: RpcTransaction

message RpcTransactionInputVerboseData

rpc.proto:109

Used in: RpcTransactionInput

(message has no fields)

message RpcTransactionOutput

rpc.proto:83

Used in: RpcTransaction

message RpcTransactionOutputVerboseData

rpc.proto:112

Used in: RpcTransactionOutput

message RpcTransactionVerboseData

rpc.proto:101

Used in: RpcTransaction

message RpcUtxoEntry

rpc.proto:94

Used in: RpcUtxosByAddressesEntry

message RpcUtxosByAddressesEntry

rpc.proto:518

Used in: GetUtxosByAddressesResponseMessage, UtxosChangedNotificationMessage

message ShutdownRequestMessage

rpc.proto:473

ShutdownRequestMessage shuts down this kaspad.

Used in: KaspadRequest

(message has no fields)

message ShutdownResponseMessage

rpc.proto:476

Used in: KaspadResponse

message SinkBlueScoreChangedNotificationMessage

rpc.proto:611

SinkBlueScoreChangedNotificationMessage is sent whenever the blue score of the virtual's selected parent changes. See NotifySinkBlueScoreChangedRequestMessage

Used in: KaspadResponse

message StopNotifyingPruningPointUtxoSetOverrideRequestMessage

rpc.proto:666

StopNotifyingPruningPointUtxoSetOverrideRequestMessage unregisters this connection for pruning point UTXO set override notifications. This call is only available when this kaspad was started with `--utxoindex` See: PruningPointUtxoSetOverrideNotificationMessage This message only exists for backward compatibility reason with kaspad and is deprecated. Use instead NotifyPruningPointUtxoSetOverrideRequestMessage with command = NOTIFY_STOP.

Used in: KaspadRequest

(message has no fields)

message StopNotifyingPruningPointUtxoSetOverrideResponseMessage

rpc.proto:669

Used in: KaspadResponse

message StopNotifyingUtxosChangedRequestMessage

rpc.proto:533

StopNotifyingUtxosChangedRequestMessage unregisters this connection for utxoChanged notifications for the given addresses. This call is only available when this kaspad was started with `--utxoindex` See: UtxosChangedNotificationMessage This message only exists for backward compatibility reason with kaspad and is deprecated. Use instead UtxosChangedNotificationMessage with command = NOTIFY_STOP.

Used in: KaspadRequest

message StopNotifyingUtxosChangedResponseMessage

rpc.proto:537

Used in: KaspadResponse

message StorageMetrics

rpc.proto:824

Used in: GetMetricsResponseMessage

message SubmitBlockRequestMessage

rpc.proto:137

SubmitBlockRequestMessage requests to submit a block into the DAG. Blocks are generally expected to have been generated using the getBlockTemplate call. See: GetBlockTemplateRequestMessage

Used in: KaspadRequest

message SubmitBlockResponseMessage

rpc.proto:142

Used in: KaspadResponse

enum SubmitBlockResponseMessage.RejectReason

rpc.proto:143

Used in: SubmitBlockResponseMessage

message SubmitTransactionReplacementRequestMessage

rpc.proto:311

SubmitTransactionReplacementRequestMessage submits a transaction to the mempool, applying a mandatory Replace by Fee policy

Used in: KaspadRequest

message SubmitTransactionReplacementResponseMessage

rpc.proto:315

Used in: KaspadResponse

message SubmitTransactionRequestMessage

rpc.proto:298

SubmitTransactionRequestMessage submits a transaction to the mempool

Used in: KaspadRequest

message SubmitTransactionResponseMessage

rpc.proto:303

Used in: KaspadResponse

message UnbanRequestMessage

rpc.proto:683

UnbanRequestMessage unbans the given ip.

Used in: KaspadRequest

message UnbanResponseMessage

rpc.proto:687

Used in: KaspadResponse

message UtxosChangedNotificationMessage

rpc.proto:513

UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated. See: NotifyUtxosChangedRequestMessage

Used in: KaspadResponse

message VirtualChainChangedNotificationMessage

rpc.proto:341

VirtualChainChangedNotificationMessage is sent whenever the DAG's selected parent chain had changed. See: NotifyVirtualChainChangedRequestMessage

Used in: KaspadResponse

message VirtualDaaScoreChangedNotificationMessage

rpc.proto:631

VirtualDaaScoreChangedNotificationMessage is sent whenever the DAA score of the virtual changes. See NotifyVirtualDaaScoreChangedRequestMessage

Used in: KaspadResponse