Skip to content

Class BSV::Overlay::OverlayBroadcastResult

Inherits: Object

Result of broadcasting a transaction to an Overlay Services host.

Attributes

code [R]

  • @return [String, nil] machine-readable error code

description [R]

  • @return [String, nil] human-readable error description

message [R]

  • @return [String, nil] human-readable result message

status [R]

  • @return [String] result status ('success' or 'error')

txid [R]

  • @return [String, nil] transaction identifier (present on success)

Public Instance Methods

initialize(status:, txid: = nil, message: = nil, code: = nil, description: = nil)

  • @param status [String]
  • @param txid [String, nil]
  • @param message [String, nil]
  • @param code [String, nil]
  • @param description [String, nil]
  • @return [OverlayBroadcastResult] a new instance of OverlayBroadcastResult