Get desktop application:
View/edit binary Protocol Buffers messages
BlockAddedNotificationMessage blockAddedNotification = 1009;
VirtualChainChangedNotificationMessage virtualChainChangedNotification = 1024;
FinalityConflictNotificationMessage finalityConflictNotification = 1041; FinalityConflictResolvedNotificationMessage finalityConflictResolvedNotification = 1042;
UtxosChangedNotificationMessage utxosChangedNotification = 1051;
SinkBlueScoreChangedNotificationMessage sinkBlueScoreChangedNotification = 1058;
PruningPointUtxoSetOverrideNotificationMessage pruningPointUtxoSetOverrideNotification = 1069;
VirtualDaaScoreChangedNotificationMessage virtualDaaScoreChangedNotification = 1076;
NewBlockTemplateNotificationMessage newBlockTemplateNotification = 1083;
AddPeerRequestMessage adds a peer to kaspad's outgoing connection list. This will, in most cases, result in kaspad connecting to said peer.
Used in:
Whether to keep attempting to connect to this peer after disconnection
Used in:
BanRequestMessage bans the given ip.
Used in:
Used in:
Used in:
BlockAddedNotificationMessage is sent whenever a blocks has been added (NOT accepted) into the DAG. See: NotifyBlockAddedRequestMessage
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
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:
Used in:
Used in:
Used in:
GetBlockCountRequestMessage requests the current number of blocks in this kaspad. Note that this number may decrease as pruning occurs.
Used in:
(message has no fields)
Used in:
GetBlockDagInfoRequestMessage requests general information about the current state of this kaspad's DAG.
Used in:
(message has no fields)
Used in:
GetBlockRequestMessage requests information about a specific block
Used in:
The hash of the requested block
Whether to include transaction data in the response
Used in:
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:
Which kaspa address should the coinbase block reward transaction pay into
Used in:
Whether kaspad thinks that it's synced. Callers are discouraged (but not forbidden) from solving blocks when kaspad is not synced. That is because when kaspad isn't in sync with the rest of the network there's a high chance the block will never be accepted, thus the solving effort would have been wasted.
GetBlocksRequestMessage requests blocks between a certain block lowHash up to this kaspad's current virtual.
Used in:
Used in:
Used in:
(message has no fields)
Used in:
note: this is a hard coded maxSupply, actual maxSupply is expected to deviate by upto -5%, but cannot be measured exactly.
Used in:
How long did the last ping/pong exchange take
Whether this kaspad initiated the connection
The protocol version that this peer claims to support
The timestamp of when this peer connected to this kaspad
Whether this peer is the IBD peer (if IBD is running)
GetConnectedPeerInfoRequestMessage requests information about all the p2p peers currently connected to this kaspad.
Used in:
(message has no fields)
Used in:
Used in:
Used in:
Used in:
Used in:
GetCurrentNetworkRequestMessage requests the network kaspad is currently running against. Possible networks are: Mainnet, Testnet, Simnet, Devnet
Used in:
(message has no fields)
Used in:
Used in:
Used in:
Used in:
Used in:
Used in:
(message has no fields)
Used in:
GetHeadersRequestMessage requests headers between the given startHash and the current virtual, up to the given limit.
Used in:
Used in:
GetInfoRequestMessage returns info about the node.
Used in:
(message has no fields)
Used in:
Used in:
Used in:
GetMempoolEntriesRequestMessage requests information about all the transactions currently in the mempool.
Used in:
Used in:
GetMempoolEntryRequestMessage requests information about a specific transaction in the mempool.
Used in:
The transaction's TransactionID.
Used in:
Used in:
Used in:
Used in:
GetPeerAddressesRequestMessage requests the list of known kaspad addresses in the current network. (mainnet, testnet, etc.)
Used in:
(message has no fields)
Used in:
Used in:
(message has no fields)
Used in:
GetSinkBlueScoreRequestMessage requests the blue score of the current selected parent of the virtual block.
Used in:
(message has no fields)
Used in:
GetSinkRequestMessage requests the hash of the current virtual's selected parent.
Used in:
(message has no fields)
Used in:
GetSubnetworkRequestMessage requests information about a specific subnetwork Currently unimplemented
Used in:
Used in:
Used in:
(message has no fields)
Used in:
Used in:
(message has no fields)
Used in:
GetUtxosByAddressesRequestMessage requests all current UTXOs for the given kaspad addresses This call is only available when this kaspad was started with `--utxoindex`
Used in:
Used in:
GetVirtualChainFromBlockRequestMessage requests the virtual selected parent chain from some startHash to this kaspad's current virtual
Used in:
Used in:
The chain blocks that were removed, in high-to-low order
The chain blocks that were added, in low-to-high order
The transactions accepted by each block in addedChainBlockHashes. Will be filled only if `includeAcceptedTransactionIds = true` in the request.
NewBlockTemplateNotificationMessage is sent whenever a new updated block template is available for miners. See NotifyNewBlockTemplateRequestMessage
Used in:
(message has no fields)
NotifyBlockAddedRequestMessage registers this connection for blockAdded notifications. See: BlockAddedNotificationMessage
Used in:
Used in:
Used in:
Used in:
NotifyNewBlockTemplateRequestMessage registers this connection for NewBlockTemplate notifications. See: NewBlockTemplateNotificationMessage
Used in:
Used in:
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:
Used in:
NotifySinkBlueScoreChangedRequestMessage registers this connection for sinkBlueScoreChanged notifications. See: SinkBlueScoreChangedNotificationMessage
Used in:
Used in:
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:
UTXOs addresses to start/stop getting notified about Leave empty to start/stop all updates
Used in:
NotifyVirtualChainChangedRequestMessage registers this connection for virtualChainChanged notifications. See: VirtualChainChangedNotificationMessage
Used in:
Used in:
NotifyVirtualDaaScoreChangedRequestMessage registers this connection for virtualDaaScoreChanged notifications. See: VirtualDaaScoreChangedNotificationMessage
Used in:
Used in:
Used in:
(message has no fields)
Used in:
Used in:
PruningPointUtxoSetOverrideNotificationMessage is sent whenever the UTXO index resets due to pruning point change via IBD. See NotifyPruningPointUtxoSetOverrideRequestMessage
Used in:
(message has no fields)
RPCError represents a generic non-internal error. Receivers of any ResponseMessage are expected to check whether its error field is not null.
Used in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Used in:
Used in:
Used in: ,
Used in:
Used in: , , , ,
Used in:
Used in:
Used in:
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: ,
Top-priority feerate bucket. Provides an estimation of the feerate required for sub-second DAG inclusion.
A vector of *normal* priority feerate values. The first value of this vector is guaranteed to exist and provide an estimation for sub-*minute* DAG inclusion. All other values will have shorter estimation times than all `low_bucket` values. Therefor by chaining `[priority] | normal | low` and interpolating between them, one can compose a complete feerate function on the client side. The API makes an effort to sample enough "interesting" points on the feerate-to-time curve, so that the interpolation is meaningful.
A vector of *low* priority feerate values. The first value of this vector is guaranteed to exist and provide an estimation for sub-*hour* DAG inclusion.
Used in:
Used in:
Fee/mass of a transaction in `sompi/gram` units
Used in: , ,
Used in:
Used in: , , , , , , ,
Used in: ,
Used in: ,
Used in: , , , ,
Used in:
Used in:
(message has no fields)
Used in:
Used in:
Used in:
Used in:
Used in: ,
ShutdownRequestMessage shuts down this kaspad.
Used in:
(message has no fields)
Used in:
SinkBlueScoreChangedNotificationMessage is sent whenever the blue score of the virtual's selected parent changes. See NotifySinkBlueScoreChangedRequestMessage
Used in:
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:
(message has no fields)
Used in:
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:
Used in:
Used in:
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:
Used in:
Used in:
SubmitTransactionReplacementRequestMessage submits a transaction to the mempool, applying a mandatory Replace by Fee policy
Used in:
Used in:
The transaction ID of the submitted transaction
The previous transaction replaced in the mempool by the newly submitted one
SubmitTransactionRequestMessage submits a transaction to the mempool
Used in:
Used in:
The transaction ID of the submitted transaction
UnbanRequestMessage unbans the given ip.
Used in:
Used in:
UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated. See: NotifyUtxosChangedRequestMessage
Used in:
VirtualChainChangedNotificationMessage is sent whenever the DAG's selected parent chain had changed. See: NotifyVirtualChainChangedRequestMessage
Used in:
The chain blocks that were removed, in high-to-low order
The chain blocks that were added, in low-to-high order
Will be filled only if `includeAcceptedTransactionIds = true` in the notify request.
VirtualDaaScoreChangedNotificationMessage is sent whenever the DAA score of the virtual changes. See NotifyVirtualDaaScoreChangedRequestMessage
Used in: