p

chainrpc

package chainrpc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class BlockEpoch(hash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, height: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[BlockEpoch] with Product with Serializable

    hash

    The hash of the block.

    height

    The height of the block.

    Annotations
    @SerialVersionUID()
  2. trait ChainKit extends AnyRef

    ChainKit is a service that can be used to get information from the chain backend.

    ChainKit is a service that can be used to get information from the chain backend.

    Annotations
    @PekkoGrpcGenerated()
  3. trait ChainKitClient extends ChainKit with ChainKitClientPowerApi with PekkoGrpcClient
    Annotations
    @PekkoGrpcGenerated()
  4. trait ChainKitClientPowerApi extends AnyRef
    Annotations
    @PekkoGrpcGenerated()
  5. trait ChainNotifier extends AnyRef

    ChainNotifier is a service that can be used to get information about the chain backend by registering notifiers for chain events.

    ChainNotifier is a service that can be used to get information about the chain backend by registering notifiers for chain events.

    Annotations
    @PekkoGrpcGenerated()
  6. trait ChainNotifierClient extends ChainNotifier with ChainNotifierClientPowerApi with PekkoGrpcClient
    Annotations
    @PekkoGrpcGenerated()
  7. trait ChainNotifierClientPowerApi extends AnyRef
    Annotations
    @PekkoGrpcGenerated()
  8. final case class ConfDetails(rawTx: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, blockHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, blockHeight: Int = 0, txIndex: Int = 0, rawBlock: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ConfDetails] with Product with Serializable

    rawTx

    The raw bytes of the confirmed transaction.

    blockHash

    The hash of the block in which the confirmed transaction was included in.

    blockHeight

    The height of the block in which the confirmed transaction was included in.

    txIndex

    The index of the confirmed transaction within the block.

    rawBlock

    The raw bytes of the block that mined the transaction. Only included if include_block was set in the request.

    Annotations
    @SerialVersionUID()
  9. final case class ConfEvent(event: Event = chainrpc.ConfEvent.Event.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ConfEvent] with Product with Serializable
    Annotations
    @SerialVersionUID()
  10. final case class ConfRequest(txid: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, script: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, numConfs: Int = 0, heightHint: Int = 0, includeBlock: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ConfRequest] with Product with Serializable

    txid

    The transaction hash for which we should request a confirmation notification for. If set to a hash of all zeros, then the confirmation notification will be requested for the script instead.

    script

    An output script within a transaction with the hash above which will be used by light clients to match block filters. If the transaction hash is set to a hash of all zeros, then a confirmation notification will be requested for this script instead.

    numConfs

    The number of desired confirmations the transaction/output script should reach before dispatching a confirmation notification.

    heightHint

    The earliest height in the chain for which the transaction/output script could have been included in a block. This should in most cases be set to the broadcast height of the transaction/output script.

    includeBlock

    If true, then the block that mines the specified txid/script will be included in eventual the notification event.

    Annotations
    @SerialVersionUID()
  11. final case class GetBestBlockRequest(unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBestBlockRequest] with Product with Serializable
    Annotations
    @SerialVersionUID()
  12. final case class GetBestBlockResponse(blockHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, blockHeight: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBestBlockResponse] with Product with Serializable

    blockHash

    The hash of the best block.

    blockHeight

    The height of the best block.

    Annotations
    @SerialVersionUID()
  13. final case class GetBlockHashRequest(blockHeight: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockHashRequest] with Product with Serializable

    blockHeight

    Block height of the target best chain block.

    Annotations
    @SerialVersionUID()
  14. final case class GetBlockHashResponse(blockHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockHashResponse] with Product with Serializable

    blockHash

    The hash of the best block at the specified height.

    Annotations
    @SerialVersionUID()
  15. final case class GetBlockHeaderRequest(blockHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockHeaderRequest] with Product with Serializable

    blockHash

    The hash of the block with the requested header.

    Annotations
    @SerialVersionUID()
  16. final case class GetBlockHeaderResponse(rawBlockHeader: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockHeaderResponse] with Product with Serializable

    rawBlockHeader

    The header of the block with the requested hash.

    Annotations
    @SerialVersionUID()
  17. final case class GetBlockRequest(blockHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockRequest] with Product with Serializable

    blockHash

    The hash of the requested block.

    Annotations
    @SerialVersionUID()
  18. final case class GetBlockResponse(rawBlock: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GetBlockResponse] with Product with Serializable

    TODO(ffranr): The neutrino GetBlock response includes many additional helpful fields.

    TODO(ffranr): The neutrino GetBlock response includes many additional helpful fields. Consider adding them here also.

    rawBlock

    The raw bytes of the requested block.

    Annotations
    @SerialVersionUID()
  19. final case class Outpoint(hash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, index: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Outpoint] with Product with Serializable

    hash

    The hash of the transaction.

    index

    The index of the output within the transaction.

    Annotations
    @SerialVersionUID()
  20. final case class Reorg(unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Reorg] with Product with Serializable

    TODO(wilmer): need to know how the client will use this first.

    TODO(wilmer): need to know how the client will use this first.

    Annotations
    @SerialVersionUID()
  21. final case class SpendDetails(spendingOutpoint: Option[Outpoint] = _root_.scala.None, rawSpendingTx: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, spendingTxHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, spendingInputIndex: Int = 0, spendingHeight: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[SpendDetails] with Product with Serializable

    spendingOutpoint

    The outpoint was that spent.

    rawSpendingTx

    The raw bytes of the spending transaction.

    spendingTxHash

    The hash of the spending transaction.

    spendingInputIndex

    The input of the spending transaction that fulfilled the spend request.

    spendingHeight

    The height at which the spending transaction was included in a block.

    Annotations
    @SerialVersionUID()
  22. final case class SpendEvent(event: Event = chainrpc.SpendEvent.Event.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[SpendEvent] with Product with Serializable
    Annotations
    @SerialVersionUID()
  23. final case class SpendRequest(outpoint: Option[Outpoint] = _root_.scala.None, script: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, heightHint: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[SpendRequest] with Product with Serializable

    outpoint

    The outpoint for which we should request a spend notification for. If set to a zero outpoint, then the spend notification will be requested for the script instead. A zero or nil outpoint is not supported for Taproot spends because the output script cannot reliably be computed from the witness alone and the spent output script is not always available in the rescan context. So an outpoint must _always_ be specified when registering a spend notification for a Taproot output.

    script

    The output script for the outpoint above. This will be used by light clients to match block filters. If the outpoint is set to a zero outpoint, then a spend notification will be requested for this script instead.

    heightHint

    The earliest height in the chain for which the outpoint/output script could have been spent. This should in most cases be set to the broadcast height of the outpoint/output script.

    Annotations
    @SerialVersionUID()

Value Members

  1. object BlockEpoch extends GeneratedMessageCompanion[BlockEpoch]
  2. object ChainKit extends ServiceDescription
    Annotations
    @PekkoGrpcGenerated()
  3. object ChainKitClient
    Annotations
    @PekkoGrpcGenerated()
  4. object ChainKitHandler
    Annotations
    @ApiMayChange() @PekkoGrpcGenerated()
  5. object ChainNotifier extends ServiceDescription
    Annotations
    @PekkoGrpcGenerated()
  6. object ChainNotifierClient
    Annotations
    @PekkoGrpcGenerated()
  7. object ChainNotifierHandler
    Annotations
    @ApiMayChange() @PekkoGrpcGenerated()
  8. object ChainkitProto extends GeneratedFileObject
  9. object ChainnotifierProto extends GeneratedFileObject
  10. object ConfDetails extends GeneratedMessageCompanion[ConfDetails]
  11. object ConfEvent extends GeneratedMessageCompanion[ConfEvent]
  12. object ConfRequest extends GeneratedMessageCompanion[ConfRequest]
  13. object GetBestBlockRequest extends GeneratedMessageCompanion[GetBestBlockRequest]
  14. object GetBestBlockResponse extends GeneratedMessageCompanion[GetBestBlockResponse]
  15. object GetBlockHashRequest extends GeneratedMessageCompanion[GetBlockHashRequest]
  16. object GetBlockHashResponse extends GeneratedMessageCompanion[GetBlockHashResponse]
  17. object GetBlockHeaderRequest extends GeneratedMessageCompanion[GetBlockHeaderRequest]
  18. object GetBlockHeaderResponse extends GeneratedMessageCompanion[GetBlockHeaderResponse]
  19. object GetBlockRequest extends GeneratedMessageCompanion[GetBlockRequest]
  20. object GetBlockResponse extends GeneratedMessageCompanion[GetBlockResponse]
  21. object Outpoint extends GeneratedMessageCompanion[Outpoint]
  22. object Reorg extends GeneratedMessageCompanion[Reorg]
  23. object SpendDetails extends GeneratedMessageCompanion[SpendDetails]
  24. object SpendEvent extends GeneratedMessageCompanion[SpendEvent]
  25. object SpendRequest extends GeneratedMessageCompanion[SpendRequest]

Ungrouped