Documentation ¶
Index ¶
- type ProtobufAny
- func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtobufAny) MarshalBinary() ([]byte, error)
- func (m ProtobufAny) MarshalJSON() ([]byte, error)
- func (m *ProtobufAny) UnmarshalBinary(b []byte) error
- func (m *ProtobufAny) UnmarshalJSON(data []byte) error
- func (m *ProtobufAny) Validate(formats strfmt.Registry) error
- type RPCStatus
- type V1DeleteNostrRecipientRequest
- func (m *V1DeleteNostrRecipientRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1DeleteNostrRecipientRequest) MarshalBinary() ([]byte, error)
- func (m *V1DeleteNostrRecipientRequest) UnmarshalBinary(b []byte) error
- func (m *V1DeleteNostrRecipientRequest) Validate(formats strfmt.Registry) error
- type V1DeleteNostrRecipientResponse
- type V1GetBoardingAddressRequest
- func (m *V1GetBoardingAddressRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetBoardingAddressRequest) MarshalBinary() ([]byte, error)
- func (m *V1GetBoardingAddressRequest) UnmarshalBinary(b []byte) error
- func (m *V1GetBoardingAddressRequest) Validate(formats strfmt.Registry) error
- type V1GetBoardingAddressResponse
- func (m *V1GetBoardingAddressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetBoardingAddressResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetBoardingAddressResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetBoardingAddressResponse) Validate(formats strfmt.Registry) error
- type V1GetEventStreamResponse
- func (m *V1GetEventStreamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetEventStreamResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetEventStreamResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetEventStreamResponse) Validate(formats strfmt.Registry) error
- type V1GetInfoResponse
- type V1GetRoundByIDResponse
- func (m *V1GetRoundByIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetRoundByIDResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetRoundByIDResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetRoundByIDResponse) Validate(formats strfmt.Registry) error
- type V1GetRoundResponse
- type V1GetTransactionsStreamResponse
- func (m *V1GetTransactionsStreamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetTransactionsStreamResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetTransactionsStreamResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetTransactionsStreamResponse) Validate(formats strfmt.Registry) error
- type V1Input
- type V1ListVtxosResponse
- type V1MarketHour
- type V1Node
- type V1Outpoint
- type V1Output
- type V1OwnershipProof
- type V1PingResponse
- type V1RedeemTransaction
- type V1RegisterInputsForNextRoundRequest
- func (m *V1RegisterInputsForNextRoundRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RegisterInputsForNextRoundRequest) MarshalBinary() ([]byte, error)
- func (m *V1RegisterInputsForNextRoundRequest) UnmarshalBinary(b []byte) error
- func (m *V1RegisterInputsForNextRoundRequest) Validate(formats strfmt.Registry) error
- type V1RegisterInputsForNextRoundResponse
- func (m *V1RegisterInputsForNextRoundResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RegisterInputsForNextRoundResponse) MarshalBinary() ([]byte, error)
- func (m *V1RegisterInputsForNextRoundResponse) UnmarshalBinary(b []byte) error
- func (m *V1RegisterInputsForNextRoundResponse) Validate(formats strfmt.Registry) error
- type V1RegisterOutputsForNextRoundRequest
- func (m *V1RegisterOutputsForNextRoundRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RegisterOutputsForNextRoundRequest) MarshalBinary() ([]byte, error)
- func (m *V1RegisterOutputsForNextRoundRequest) UnmarshalBinary(b []byte) error
- func (m *V1RegisterOutputsForNextRoundRequest) Validate(formats strfmt.Registry) error
- type V1RegisterOutputsForNextRoundResponse
- type V1Round
- type V1RoundFailed
- type V1RoundFinalizationEvent
- func (m *V1RoundFinalizationEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RoundFinalizationEvent) MarshalBinary() ([]byte, error)
- func (m *V1RoundFinalizationEvent) UnmarshalBinary(b []byte) error
- func (m *V1RoundFinalizationEvent) Validate(formats strfmt.Registry) error
- type V1RoundFinalizedEvent
- type V1RoundSigningEvent
- type V1RoundSigningNoncesGeneratedEvent
- func (m *V1RoundSigningNoncesGeneratedEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RoundSigningNoncesGeneratedEvent) MarshalBinary() ([]byte, error)
- func (m *V1RoundSigningNoncesGeneratedEvent) UnmarshalBinary(b []byte) error
- func (m *V1RoundSigningNoncesGeneratedEvent) Validate(formats strfmt.Registry) error
- type V1RoundStage
- type V1RoundTransaction
- type V1SetNostrRecipientRequest
- func (m *V1SetNostrRecipientRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SetNostrRecipientRequest) MarshalBinary() ([]byte, error)
- func (m *V1SetNostrRecipientRequest) UnmarshalBinary(b []byte) error
- func (m *V1SetNostrRecipientRequest) Validate(formats strfmt.Registry) error
- type V1SetNostrRecipientResponse
- type V1SignedVtxoOutpoint
- type V1SubmitRedeemTxRequest
- func (m *V1SubmitRedeemTxRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SubmitRedeemTxRequest) MarshalBinary() ([]byte, error)
- func (m *V1SubmitRedeemTxRequest) UnmarshalBinary(b []byte) error
- func (m *V1SubmitRedeemTxRequest) Validate(formats strfmt.Registry) error
- type V1SubmitRedeemTxResponse
- func (m *V1SubmitRedeemTxResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SubmitRedeemTxResponse) MarshalBinary() ([]byte, error)
- func (m *V1SubmitRedeemTxResponse) UnmarshalBinary(b []byte) error
- func (m *V1SubmitRedeemTxResponse) Validate(formats strfmt.Registry) error
- type V1SubmitSignedForfeitTxsRequest
- func (m *V1SubmitSignedForfeitTxsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SubmitSignedForfeitTxsRequest) MarshalBinary() ([]byte, error)
- func (m *V1SubmitSignedForfeitTxsRequest) UnmarshalBinary(b []byte) error
- func (m *V1SubmitSignedForfeitTxsRequest) Validate(formats strfmt.Registry) error
- type V1SubmitSignedForfeitTxsResponse
- type V1SubmitTreeNoncesRequest
- func (m *V1SubmitTreeNoncesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SubmitTreeNoncesRequest) MarshalBinary() ([]byte, error)
- func (m *V1SubmitTreeNoncesRequest) UnmarshalBinary(b []byte) error
- func (m *V1SubmitTreeNoncesRequest) Validate(formats strfmt.Registry) error
- type V1SubmitTreeNoncesResponse
- type V1SubmitTreeSignaturesRequest
- func (m *V1SubmitTreeSignaturesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SubmitTreeSignaturesRequest) MarshalBinary() ([]byte, error)
- func (m *V1SubmitTreeSignaturesRequest) UnmarshalBinary(b []byte) error
- func (m *V1SubmitTreeSignaturesRequest) Validate(formats strfmt.Registry) error
- type V1SubmitTreeSignaturesResponse
- type V1Tapscripts
- type V1Tree
- type V1TreeLevel
- type V1Vtxo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` // protobuf any ProtobufAny map[string]interface{} `json:"-"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProtobufAny) MarshalJSON ¶
func (m ProtobufAny) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProtobufAny) UnmarshalJSON ¶
func (m *ProtobufAny) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type RPCStatus ¶
type RPCStatus struct { // code Code int32 `json:"code,omitempty"` // details Details []*ProtobufAny `json:"details"` // message Message string `json:"message,omitempty"` }
RPCStatus rpc status
swagger:model rpcStatus
func (*RPCStatus) ContextValidate ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1DeleteNostrRecipientRequest ¶
type V1DeleteNostrRecipientRequest struct { // vtxos Vtxos []*V1SignedVtxoOutpoint `json:"vtxos"` }
V1DeleteNostrRecipientRequest v1 delete nostr recipient request
swagger:model v1DeleteNostrRecipientRequest
func (*V1DeleteNostrRecipientRequest) ContextValidate ¶
func (m *V1DeleteNostrRecipientRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 delete nostr recipient request based on the context it is used
func (*V1DeleteNostrRecipientRequest) MarshalBinary ¶
func (m *V1DeleteNostrRecipientRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DeleteNostrRecipientRequest) UnmarshalBinary ¶
func (m *V1DeleteNostrRecipientRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DeleteNostrRecipientResponse ¶
type V1DeleteNostrRecipientResponse interface{}
V1DeleteNostrRecipientResponse v1 delete nostr recipient response
swagger:model v1DeleteNostrRecipientResponse
type V1GetBoardingAddressRequest ¶
type V1GetBoardingAddressRequest struct { // pubkey Pubkey string `json:"pubkey,omitempty"` }
V1GetBoardingAddressRequest v1 get boarding address request
swagger:model v1GetBoardingAddressRequest
func (*V1GetBoardingAddressRequest) ContextValidate ¶
func (m *V1GetBoardingAddressRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 get boarding address request based on context it is used
func (*V1GetBoardingAddressRequest) MarshalBinary ¶
func (m *V1GetBoardingAddressRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetBoardingAddressRequest) UnmarshalBinary ¶
func (m *V1GetBoardingAddressRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetBoardingAddressResponse ¶
type V1GetBoardingAddressResponse struct { // address Address string `json:"address,omitempty"` // descriptor Descriptor string `json:"descriptor,omitempty"` // tapscripts Tapscripts *V1Tapscripts `json:"tapscripts,omitempty"` }
V1GetBoardingAddressResponse v1 get boarding address response
swagger:model v1GetBoardingAddressResponse
func (*V1GetBoardingAddressResponse) ContextValidate ¶
func (m *V1GetBoardingAddressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get boarding address response based on the context it is used
func (*V1GetBoardingAddressResponse) MarshalBinary ¶
func (m *V1GetBoardingAddressResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetBoardingAddressResponse) UnmarshalBinary ¶
func (m *V1GetBoardingAddressResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetEventStreamResponse ¶
type V1GetEventStreamResponse struct { // round failed RoundFailed *V1RoundFailed `json:"roundFailed,omitempty"` // round finalization RoundFinalization *V1RoundFinalizationEvent `json:"roundFinalization,omitempty"` // round finalized RoundFinalized *V1RoundFinalizedEvent `json:"roundFinalized,omitempty"` // round signing RoundSigning *V1RoundSigningEvent `json:"roundSigning,omitempty"` // round signing nonces generated RoundSigningNoncesGenerated *V1RoundSigningNoncesGeneratedEvent `json:"roundSigningNoncesGenerated,omitempty"` }
V1GetEventStreamResponse v1 get event stream response
swagger:model v1GetEventStreamResponse
func (*V1GetEventStreamResponse) ContextValidate ¶
func (m *V1GetEventStreamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get event stream response based on the context it is used
func (*V1GetEventStreamResponse) MarshalBinary ¶
func (m *V1GetEventStreamResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetEventStreamResponse) UnmarshalBinary ¶
func (m *V1GetEventStreamResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetInfoResponse ¶
type V1GetInfoResponse struct { // boarding descriptor template BoardingDescriptorTemplate string `json:"boardingDescriptorTemplate,omitempty"` // dust Dust string `json:"dust,omitempty"` // forfeit address ForfeitAddress string `json:"forfeitAddress,omitempty"` // market hour MarketHour *V1MarketHour `json:"marketHour,omitempty"` // network Network string `json:"network,omitempty"` // pubkey Pubkey string `json:"pubkey,omitempty"` // round interval RoundInterval string `json:"roundInterval,omitempty"` // round lifetime RoundLifetime string `json:"roundLifetime,omitempty"` // unilateral exit delay UnilateralExitDelay string `json:"unilateralExitDelay,omitempty"` // vtxo descriptor templates VtxoDescriptorTemplates []string `json:"vtxoDescriptorTemplates"` }
V1GetInfoResponse v1 get info response
swagger:model v1GetInfoResponse
func (*V1GetInfoResponse) ContextValidate ¶
ContextValidate validate this v1 get info response based on the context it is used
func (*V1GetInfoResponse) MarshalBinary ¶
func (m *V1GetInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetInfoResponse) UnmarshalBinary ¶
func (m *V1GetInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetRoundByIDResponse ¶
type V1GetRoundByIDResponse struct { // round Round *V1Round `json:"round,omitempty"` }
V1GetRoundByIDResponse v1 get round by Id response
swagger:model v1GetRoundByIdResponse
func (*V1GetRoundByIDResponse) ContextValidate ¶
func (m *V1GetRoundByIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get round by Id response based on the context it is used
func (*V1GetRoundByIDResponse) MarshalBinary ¶
func (m *V1GetRoundByIDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetRoundByIDResponse) UnmarshalBinary ¶
func (m *V1GetRoundByIDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetRoundResponse ¶
type V1GetRoundResponse struct { // round Round *V1Round `json:"round,omitempty"` }
V1GetRoundResponse v1 get round response
swagger:model v1GetRoundResponse
func (*V1GetRoundResponse) ContextValidate ¶
ContextValidate validate this v1 get round response based on the context it is used
func (*V1GetRoundResponse) MarshalBinary ¶
func (m *V1GetRoundResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetRoundResponse) UnmarshalBinary ¶
func (m *V1GetRoundResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetTransactionsStreamResponse ¶
type V1GetTransactionsStreamResponse struct { // redeem Redeem *V1RedeemTransaction `json:"redeem,omitempty"` // round Round *V1RoundTransaction `json:"round,omitempty"` }
V1GetTransactionsStreamResponse v1 get transactions stream response
swagger:model v1GetTransactionsStreamResponse
func (*V1GetTransactionsStreamResponse) ContextValidate ¶
func (m *V1GetTransactionsStreamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get transactions stream response based on the context it is used
func (*V1GetTransactionsStreamResponse) MarshalBinary ¶
func (m *V1GetTransactionsStreamResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetTransactionsStreamResponse) UnmarshalBinary ¶
func (m *V1GetTransactionsStreamResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Input ¶
type V1Input struct { // descriptor Descriptor string `json:"descriptor,omitempty"` // outpoint Outpoint *V1Outpoint `json:"outpoint,omitempty"` // tapscripts Tapscripts *V1Tapscripts `json:"tapscripts,omitempty"` }
V1Input v1 input
swagger:model v1Input
func (*V1Input) ContextValidate ¶
ContextValidate validate this v1 input based on the context it is used
func (*V1Input) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Input) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1ListVtxosResponse ¶
type V1ListVtxosResponse struct { // spendable vtxos SpendableVtxos []*V1Vtxo `json:"spendableVtxos"` // spent vtxos SpentVtxos []*V1Vtxo `json:"spentVtxos"` }
V1ListVtxosResponse v1 list vtxos response
swagger:model v1ListVtxosResponse
func (*V1ListVtxosResponse) ContextValidate ¶
ContextValidate validate this v1 list vtxos response based on the context it is used
func (*V1ListVtxosResponse) MarshalBinary ¶
func (m *V1ListVtxosResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListVtxosResponse) UnmarshalBinary ¶
func (m *V1ListVtxosResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MarketHour ¶
type V1MarketHour struct { // next end time // Format: date-time NextEndTime strfmt.DateTime `json:"nextEndTime,omitempty"` // next start time // Format: date-time NextStartTime strfmt.DateTime `json:"nextStartTime,omitempty"` // period Period string `json:"period,omitempty"` // round interval RoundInterval string `json:"roundInterval,omitempty"` }
V1MarketHour v1 market hour
swagger:model v1MarketHour
func (*V1MarketHour) ContextValidate ¶
ContextValidate validates this v1 market hour based on context it is used
func (*V1MarketHour) MarshalBinary ¶
func (m *V1MarketHour) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MarketHour) UnmarshalBinary ¶
func (m *V1MarketHour) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Node ¶
type V1Node struct { // parent txid ParentTxid string `json:"parentTxid,omitempty"` // tx Tx string `json:"tx,omitempty"` // txid Txid string `json:"txid,omitempty"` }
V1Node v1 node
swagger:model v1Node
func (*V1Node) ContextValidate ¶
ContextValidate validates this v1 node based on context it is used
func (*V1Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1Outpoint ¶
type V1Outpoint struct { // txid Txid string `json:"txid,omitempty"` // vout Vout int64 `json:"vout,omitempty"` }
V1Outpoint v1 outpoint
swagger:model v1Outpoint
func (*V1Outpoint) ContextValidate ¶
ContextValidate validates this v1 outpoint based on context it is used
func (*V1Outpoint) MarshalBinary ¶
func (m *V1Outpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Outpoint) UnmarshalBinary ¶
func (m *V1Outpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Output ¶
type V1Output struct { // onchain or off-chain Address string `json:"address,omitempty"` // Amount to send in satoshis. Amount string `json:"amount,omitempty"` }
V1Output v1 output
swagger:model v1Output
func (*V1Output) ContextValidate ¶
ContextValidate validates this v1 output based on context it is used
func (*V1Output) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Output) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1OwnershipProof ¶
type V1OwnershipProof struct { // control block ControlBlock string `json:"controlBlock,omitempty"` // script Script string `json:"script,omitempty"` // VTXO outpoint signed with script's secret key Signature string `json:"signature,omitempty"` }
V1OwnershipProof This message is used to prove to the server that the user controls the vtxo without revealing the whole VTXO taproot tree.
swagger:model v1OwnershipProof
func (*V1OwnershipProof) ContextValidate ¶
ContextValidate validates this v1 ownership proof based on context it is used
func (*V1OwnershipProof) MarshalBinary ¶
func (m *V1OwnershipProof) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1OwnershipProof) UnmarshalBinary ¶
func (m *V1OwnershipProof) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PingResponse ¶
type V1PingResponse interface{}
V1PingResponse v1 ping response
swagger:model v1PingResponse
type V1RedeemTransaction ¶
type V1RedeemTransaction struct { // spendable vtxos SpendableVtxos []*V1Vtxo `json:"spendableVtxos"` // spent vtxos SpentVtxos []*V1Outpoint `json:"spentVtxos"` // txid Txid string `json:"txid,omitempty"` }
V1RedeemTransaction v1 redeem transaction
swagger:model v1RedeemTransaction
func (*V1RedeemTransaction) ContextValidate ¶
ContextValidate validate this v1 redeem transaction based on the context it is used
func (*V1RedeemTransaction) MarshalBinary ¶
func (m *V1RedeemTransaction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RedeemTransaction) UnmarshalBinary ¶
func (m *V1RedeemTransaction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegisterInputsForNextRoundRequest ¶
type V1RegisterInputsForNextRoundRequest struct { // ephemeral pubkey EphemeralPubkey string `json:"ephemeralPubkey,omitempty"` // inputs Inputs []*V1Input `json:"inputs"` // notes Notes []string `json:"notes"` }
V1RegisterInputsForNextRoundRequest v1 register inputs for next round request
swagger:model v1RegisterInputsForNextRoundRequest
func (*V1RegisterInputsForNextRoundRequest) ContextValidate ¶
func (m *V1RegisterInputsForNextRoundRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 register inputs for next round request based on the context it is used
func (*V1RegisterInputsForNextRoundRequest) MarshalBinary ¶
func (m *V1RegisterInputsForNextRoundRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RegisterInputsForNextRoundRequest) UnmarshalBinary ¶
func (m *V1RegisterInputsForNextRoundRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegisterInputsForNextRoundResponse ¶
type V1RegisterInputsForNextRoundResponse struct { // request Id RequestID string `json:"requestId,omitempty"` }
V1RegisterInputsForNextRoundResponse v1 register inputs for next round response
swagger:model v1RegisterInputsForNextRoundResponse
func (*V1RegisterInputsForNextRoundResponse) ContextValidate ¶
func (m *V1RegisterInputsForNextRoundResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 register inputs for next round response based on context it is used
func (*V1RegisterInputsForNextRoundResponse) MarshalBinary ¶
func (m *V1RegisterInputsForNextRoundResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RegisterInputsForNextRoundResponse) UnmarshalBinary ¶
func (m *V1RegisterInputsForNextRoundResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegisterOutputsForNextRoundRequest ¶
type V1RegisterOutputsForNextRoundRequest struct { // List of receivers for to convert to leaves in the next VTXO tree. Outputs []*V1Output `json:"outputs"` // request Id RequestID string `json:"requestId,omitempty"` }
V1RegisterOutputsForNextRoundRequest v1 register outputs for next round request
swagger:model v1RegisterOutputsForNextRoundRequest
func (*V1RegisterOutputsForNextRoundRequest) ContextValidate ¶
func (m *V1RegisterOutputsForNextRoundRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 register outputs for next round request based on the context it is used
func (*V1RegisterOutputsForNextRoundRequest) MarshalBinary ¶
func (m *V1RegisterOutputsForNextRoundRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RegisterOutputsForNextRoundRequest) UnmarshalBinary ¶
func (m *V1RegisterOutputsForNextRoundRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegisterOutputsForNextRoundResponse ¶
type V1RegisterOutputsForNextRoundResponse interface{}
V1RegisterOutputsForNextRoundResponse v1 register outputs for next round response
swagger:model v1RegisterOutputsForNextRoundResponse
type V1Round ¶
type V1Round struct { // connectors Connectors []string `json:"connectors"` // end End string `json:"end,omitempty"` // forfeit txs ForfeitTxs []string `json:"forfeitTxs"` // id ID string `json:"id,omitempty"` // round tx RoundTx string `json:"roundTx,omitempty"` // stage Stage *V1RoundStage `json:"stage,omitempty"` // start Start string `json:"start,omitempty"` // vtxo tree VtxoTree *V1Tree `json:"vtxoTree,omitempty"` }
V1Round v1 round
swagger:model v1Round
func (*V1Round) ContextValidate ¶
ContextValidate validate this v1 round based on the context it is used
func (*V1Round) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Round) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1RoundFailed ¶
type V1RoundFailed struct { // id ID string `json:"id,omitempty"` // reason Reason string `json:"reason,omitempty"` }
V1RoundFailed v1 round failed
swagger:model v1RoundFailed
func (*V1RoundFailed) ContextValidate ¶
ContextValidate validates this v1 round failed based on context it is used
func (*V1RoundFailed) MarshalBinary ¶
func (m *V1RoundFailed) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RoundFailed) UnmarshalBinary ¶
func (m *V1RoundFailed) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RoundFinalizationEvent ¶
type V1RoundFinalizationEvent struct { // connectors Connectors []string `json:"connectors"` // id ID string `json:"id,omitempty"` // min relay fee rate MinRelayFeeRate string `json:"minRelayFeeRate,omitempty"` // round tx RoundTx string `json:"roundTx,omitempty"` // vtxo tree VtxoTree *V1Tree `json:"vtxoTree,omitempty"` }
V1RoundFinalizationEvent v1 round finalization event
swagger:model v1RoundFinalizationEvent
func (*V1RoundFinalizationEvent) ContextValidate ¶
func (m *V1RoundFinalizationEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 round finalization event based on the context it is used
func (*V1RoundFinalizationEvent) MarshalBinary ¶
func (m *V1RoundFinalizationEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RoundFinalizationEvent) UnmarshalBinary ¶
func (m *V1RoundFinalizationEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RoundFinalizedEvent ¶
type V1RoundFinalizedEvent struct { // id ID string `json:"id,omitempty"` // round txid RoundTxid string `json:"roundTxid,omitempty"` }
V1RoundFinalizedEvent v1 round finalized event
swagger:model v1RoundFinalizedEvent
func (*V1RoundFinalizedEvent) ContextValidate ¶
ContextValidate validates this v1 round finalized event based on context it is used
func (*V1RoundFinalizedEvent) MarshalBinary ¶
func (m *V1RoundFinalizedEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RoundFinalizedEvent) UnmarshalBinary ¶
func (m *V1RoundFinalizedEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RoundSigningEvent ¶
type V1RoundSigningEvent struct { // cosigners pubkeys CosignersPubkeys []string `json:"cosignersPubkeys"` // id ID string `json:"id,omitempty"` // unsigned round tx UnsignedRoundTx string `json:"unsignedRoundTx,omitempty"` // unsigned vtxo tree UnsignedVtxoTree *V1Tree `json:"unsignedVtxoTree,omitempty"` }
V1RoundSigningEvent v1 round signing event
swagger:model v1RoundSigningEvent
func (*V1RoundSigningEvent) ContextValidate ¶
ContextValidate validate this v1 round signing event based on the context it is used
func (*V1RoundSigningEvent) MarshalBinary ¶
func (m *V1RoundSigningEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RoundSigningEvent) UnmarshalBinary ¶
func (m *V1RoundSigningEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RoundSigningNoncesGeneratedEvent ¶
type V1RoundSigningNoncesGeneratedEvent struct { // id ID string `json:"id,omitempty"` // tree nonces TreeNonces string `json:"treeNonces,omitempty"` }
V1RoundSigningNoncesGeneratedEvent v1 round signing nonces generated event
swagger:model v1RoundSigningNoncesGeneratedEvent
func (*V1RoundSigningNoncesGeneratedEvent) ContextValidate ¶
func (m *V1RoundSigningNoncesGeneratedEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 round signing nonces generated event based on context it is used
func (*V1RoundSigningNoncesGeneratedEvent) MarshalBinary ¶
func (m *V1RoundSigningNoncesGeneratedEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RoundSigningNoncesGeneratedEvent) UnmarshalBinary ¶
func (m *V1RoundSigningNoncesGeneratedEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RoundStage ¶
type V1RoundStage string
V1RoundStage v1 round stage
swagger:model v1RoundStage
const ( // V1RoundStageROUNDSTAGEUNSPECIFIED captures enum value "ROUND_STAGE_UNSPECIFIED" V1RoundStageROUNDSTAGEUNSPECIFIED V1RoundStage = "ROUND_STAGE_UNSPECIFIED" // V1RoundStageROUNDSTAGEREGISTRATION captures enum value "ROUND_STAGE_REGISTRATION" V1RoundStageROUNDSTAGEREGISTRATION V1RoundStage = "ROUND_STAGE_REGISTRATION" // V1RoundStageROUNDSTAGEFINALIZATION captures enum value "ROUND_STAGE_FINALIZATION" V1RoundStageROUNDSTAGEFINALIZATION V1RoundStage = "ROUND_STAGE_FINALIZATION" // V1RoundStageROUNDSTAGEFINALIZED captures enum value "ROUND_STAGE_FINALIZED" V1RoundStageROUNDSTAGEFINALIZED V1RoundStage = "ROUND_STAGE_FINALIZED" // V1RoundStageROUNDSTAGEFAILED captures enum value "ROUND_STAGE_FAILED" V1RoundStageROUNDSTAGEFAILED V1RoundStage = "ROUND_STAGE_FAILED" )
func NewV1RoundStage ¶
func NewV1RoundStage(value V1RoundStage) *V1RoundStage
func (V1RoundStage) ContextValidate ¶
ContextValidate validates this v1 round stage based on context it is used
func (V1RoundStage) Pointer ¶
func (m V1RoundStage) Pointer() *V1RoundStage
Pointer returns a pointer to a freshly-allocated V1RoundStage.
type V1RoundTransaction ¶
type V1RoundTransaction struct { // claimed boarding utxos ClaimedBoardingUtxos []*V1Outpoint `json:"claimedBoardingUtxos"` // spendable vtxos SpendableVtxos []*V1Vtxo `json:"spendableVtxos"` // spent vtxos SpentVtxos []*V1Outpoint `json:"spentVtxos"` // txid Txid string `json:"txid,omitempty"` }
V1RoundTransaction v1 round transaction
swagger:model v1RoundTransaction
func (*V1RoundTransaction) ContextValidate ¶
ContextValidate validate this v1 round transaction based on the context it is used
func (*V1RoundTransaction) MarshalBinary ¶
func (m *V1RoundTransaction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RoundTransaction) UnmarshalBinary ¶
func (m *V1RoundTransaction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SetNostrRecipientRequest ¶
type V1SetNostrRecipientRequest struct { // nostr recipient NostrRecipient string `json:"nostrRecipient,omitempty"` // vtxos Vtxos []*V1SignedVtxoOutpoint `json:"vtxos"` }
V1SetNostrRecipientRequest v1 set nostr recipient request
swagger:model v1SetNostrRecipientRequest
func (*V1SetNostrRecipientRequest) ContextValidate ¶
func (m *V1SetNostrRecipientRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 set nostr recipient request based on the context it is used
func (*V1SetNostrRecipientRequest) MarshalBinary ¶
func (m *V1SetNostrRecipientRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SetNostrRecipientRequest) UnmarshalBinary ¶
func (m *V1SetNostrRecipientRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SetNostrRecipientResponse ¶
type V1SetNostrRecipientResponse interface{}
V1SetNostrRecipientResponse v1 set nostr recipient response
swagger:model v1SetNostrRecipientResponse
type V1SignedVtxoOutpoint ¶
type V1SignedVtxoOutpoint struct { // outpoint Outpoint *V1Outpoint `json:"outpoint,omitempty"` // proof Proof *V1OwnershipProof `json:"proof,omitempty"` }
V1SignedVtxoOutpoint v1 signed vtxo outpoint
swagger:model v1SignedVtxoOutpoint
func (*V1SignedVtxoOutpoint) ContextValidate ¶
ContextValidate validate this v1 signed vtxo outpoint based on the context it is used
func (*V1SignedVtxoOutpoint) MarshalBinary ¶
func (m *V1SignedVtxoOutpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SignedVtxoOutpoint) UnmarshalBinary ¶
func (m *V1SignedVtxoOutpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SubmitRedeemTxRequest ¶
type V1SubmitRedeemTxRequest struct { // redeem tx RedeemTx string `json:"redeemTx,omitempty"` }
V1SubmitRedeemTxRequest v1 submit redeem tx request
swagger:model v1SubmitRedeemTxRequest
func (*V1SubmitRedeemTxRequest) ContextValidate ¶
func (m *V1SubmitRedeemTxRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 submit redeem tx request based on context it is used
func (*V1SubmitRedeemTxRequest) MarshalBinary ¶
func (m *V1SubmitRedeemTxRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SubmitRedeemTxRequest) UnmarshalBinary ¶
func (m *V1SubmitRedeemTxRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SubmitRedeemTxResponse ¶
type V1SubmitRedeemTxResponse struct { // signed redeem tx SignedRedeemTx string `json:"signedRedeemTx,omitempty"` }
V1SubmitRedeemTxResponse v1 submit redeem tx response
swagger:model v1SubmitRedeemTxResponse
func (*V1SubmitRedeemTxResponse) ContextValidate ¶
func (m *V1SubmitRedeemTxResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 submit redeem tx response based on context it is used
func (*V1SubmitRedeemTxResponse) MarshalBinary ¶
func (m *V1SubmitRedeemTxResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SubmitRedeemTxResponse) UnmarshalBinary ¶
func (m *V1SubmitRedeemTxResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SubmitSignedForfeitTxsRequest ¶
type V1SubmitSignedForfeitTxsRequest struct { // Forfeit txs signed by the user. SignedForfeitTxs []string `json:"signedForfeitTxs"` // The user has to sign also the round tx if he registerd a boarding UTXO. SignedRoundTx string `json:"signedRoundTx,omitempty"` }
V1SubmitSignedForfeitTxsRequest v1 submit signed forfeit txs request
swagger:model v1SubmitSignedForfeitTxsRequest
func (*V1SubmitSignedForfeitTxsRequest) ContextValidate ¶
func (m *V1SubmitSignedForfeitTxsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 submit signed forfeit txs request based on context it is used
func (*V1SubmitSignedForfeitTxsRequest) MarshalBinary ¶
func (m *V1SubmitSignedForfeitTxsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SubmitSignedForfeitTxsRequest) UnmarshalBinary ¶
func (m *V1SubmitSignedForfeitTxsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SubmitSignedForfeitTxsResponse ¶
type V1SubmitSignedForfeitTxsResponse interface{}
V1SubmitSignedForfeitTxsResponse v1 submit signed forfeit txs response
swagger:model v1SubmitSignedForfeitTxsResponse
type V1SubmitTreeNoncesRequest ¶
type V1SubmitTreeNoncesRequest struct { // pubkey Pubkey string `json:"pubkey,omitempty"` // round Id RoundID string `json:"roundId,omitempty"` // tree nonces TreeNonces string `json:"treeNonces,omitempty"` }
V1SubmitTreeNoncesRequest v1 submit tree nonces request
swagger:model v1SubmitTreeNoncesRequest
func (*V1SubmitTreeNoncesRequest) ContextValidate ¶
func (m *V1SubmitTreeNoncesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 submit tree nonces request based on context it is used
func (*V1SubmitTreeNoncesRequest) MarshalBinary ¶
func (m *V1SubmitTreeNoncesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SubmitTreeNoncesRequest) UnmarshalBinary ¶
func (m *V1SubmitTreeNoncesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SubmitTreeNoncesResponse ¶
type V1SubmitTreeNoncesResponse interface{}
V1SubmitTreeNoncesResponse v1 submit tree nonces response
swagger:model v1SubmitTreeNoncesResponse
type V1SubmitTreeSignaturesRequest ¶
type V1SubmitTreeSignaturesRequest struct { // pubkey Pubkey string `json:"pubkey,omitempty"` // round Id RoundID string `json:"roundId,omitempty"` // tree signatures TreeSignatures string `json:"treeSignatures,omitempty"` }
V1SubmitTreeSignaturesRequest v1 submit tree signatures request
swagger:model v1SubmitTreeSignaturesRequest
func (*V1SubmitTreeSignaturesRequest) ContextValidate ¶
func (m *V1SubmitTreeSignaturesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 submit tree signatures request based on context it is used
func (*V1SubmitTreeSignaturesRequest) MarshalBinary ¶
func (m *V1SubmitTreeSignaturesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SubmitTreeSignaturesRequest) UnmarshalBinary ¶
func (m *V1SubmitTreeSignaturesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SubmitTreeSignaturesResponse ¶
type V1SubmitTreeSignaturesResponse interface{}
V1SubmitTreeSignaturesResponse v1 submit tree signatures response
swagger:model v1SubmitTreeSignaturesResponse
type V1Tapscripts ¶
type V1Tapscripts struct { // scripts Scripts []string `json:"scripts"` }
V1Tapscripts v1 tapscripts
swagger:model v1Tapscripts
func (*V1Tapscripts) ContextValidate ¶
ContextValidate validates this v1 tapscripts based on context it is used
func (*V1Tapscripts) MarshalBinary ¶
func (m *V1Tapscripts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Tapscripts) UnmarshalBinary ¶
func (m *V1Tapscripts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Tree ¶
type V1Tree struct { // levels Levels []*V1TreeLevel `json:"levels"` }
V1Tree v1 tree
swagger:model v1Tree
func (*V1Tree) ContextValidate ¶
ContextValidate validate this v1 tree based on the context it is used
func (*V1Tree) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Tree) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1TreeLevel ¶
type V1TreeLevel struct { // nodes Nodes []*V1Node `json:"nodes"` }
V1TreeLevel v1 tree level
swagger:model v1TreeLevel
func (*V1TreeLevel) ContextValidate ¶
ContextValidate validate this v1 tree level based on the context it is used
func (*V1TreeLevel) MarshalBinary ¶
func (m *V1TreeLevel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TreeLevel) UnmarshalBinary ¶
func (m *V1TreeLevel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Vtxo ¶
type V1Vtxo struct { // amount Amount string `json:"amount,omitempty"` // created at CreatedAt string `json:"createdAt,omitempty"` // expire at ExpireAt string `json:"expireAt,omitempty"` // is pending IsPending bool `json:"isPending,omitempty"` // outpoint Outpoint *V1Outpoint `json:"outpoint,omitempty"` // pubkey Pubkey string `json:"pubkey,omitempty"` // redeem tx RedeemTx string `json:"redeemTx,omitempty"` // round txid RoundTxid string `json:"roundTxid,omitempty"` // spent Spent bool `json:"spent,omitempty"` // spent by SpentBy string `json:"spentBy,omitempty"` // swept Swept bool `json:"swept,omitempty"` }
V1Vtxo v1 vtxo
swagger:model v1Vtxo
func (*V1Vtxo) ContextValidate ¶
ContextValidate validate this v1 vtxo based on the context it is used
func (*V1Vtxo) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Vtxo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files ¶
- protobuf_any.go
- rpc_status.go
- v1_delete_nostr_recipient_request.go
- v1_delete_nostr_recipient_response.go
- v1_get_boarding_address_request.go
- v1_get_boarding_address_response.go
- v1_get_event_stream_response.go
- v1_get_info_response.go
- v1_get_round_by_id_response.go
- v1_get_round_response.go
- v1_get_transactions_stream_response.go
- v1_input.go
- v1_list_vtxos_response.go
- v1_market_hour.go
- v1_node.go
- v1_outpoint.go
- v1_output.go
- v1_ownership_proof.go
- v1_ping_response.go
- v1_redeem_transaction.go
- v1_register_inputs_for_next_round_request.go
- v1_register_inputs_for_next_round_response.go
- v1_register_outputs_for_next_round_request.go
- v1_register_outputs_for_next_round_response.go
- v1_round.go
- v1_round_failed.go
- v1_round_finalization_event.go
- v1_round_finalized_event.go
- v1_round_signing_event.go
- v1_round_signing_nonces_generated_event.go
- v1_round_stage.go
- v1_round_transaction.go
- v1_set_nostr_recipient_request.go
- v1_set_nostr_recipient_response.go
- v1_signed_vtxo_outpoint.go
- v1_submit_redeem_tx_request.go
- v1_submit_redeem_tx_response.go
- v1_submit_signed_forfeit_txs_request.go
- v1_submit_signed_forfeit_txs_response.go
- v1_submit_tree_nonces_request.go
- v1_submit_tree_nonces_response.go
- v1_submit_tree_signatures_request.go
- v1_submit_tree_signatures_response.go
- v1_tapscripts.go
- v1_tree.go
- v1_tree_level.go
- v1_vtxo.go