walletv1

package
v0.0.0-...-8da70b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wallet_v1_wallet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Confirmation

type Confirmation struct {
	Height    uint32                 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Confirmation) Descriptor deprecated

func (*Confirmation) Descriptor() ([]byte, []int)

Deprecated: Use Confirmation.ProtoReflect.Descriptor instead.

func (*Confirmation) GetHeight

func (x *Confirmation) GetHeight() uint32

func (*Confirmation) GetTimestamp

func (x *Confirmation) GetTimestamp() *timestamppb.Timestamp

func (*Confirmation) ProtoMessage

func (*Confirmation) ProtoMessage()

func (*Confirmation) ProtoReflect

func (x *Confirmation) ProtoReflect() protoreflect.Message

func (*Confirmation) Reset

func (x *Confirmation) Reset()

func (*Confirmation) String

func (x *Confirmation) String() string

type CreateSidechainDepositRequest

type CreateSidechainDepositRequest struct {

	// The sidechain deposit address to send to.
	Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	// The amount in BTC to send. eg 0.1
	Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// The fee in BTC
	Fee float64 `protobuf:"fixed64,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSidechainDepositRequest) Descriptor deprecated

func (*CreateSidechainDepositRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSidechainDepositRequest.ProtoReflect.Descriptor instead.

func (*CreateSidechainDepositRequest) GetAmount

func (x *CreateSidechainDepositRequest) GetAmount() float64

func (*CreateSidechainDepositRequest) GetDestination

func (x *CreateSidechainDepositRequest) GetDestination() string

func (*CreateSidechainDepositRequest) GetFee

func (*CreateSidechainDepositRequest) ProtoMessage

func (*CreateSidechainDepositRequest) ProtoMessage()

func (*CreateSidechainDepositRequest) ProtoReflect

func (*CreateSidechainDepositRequest) Reset

func (x *CreateSidechainDepositRequest) Reset()

func (*CreateSidechainDepositRequest) String

type CreateSidechainDepositResponse

type CreateSidechainDepositResponse struct {
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSidechainDepositResponse) Descriptor deprecated

func (*CreateSidechainDepositResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSidechainDepositResponse.ProtoReflect.Descriptor instead.

func (*CreateSidechainDepositResponse) GetTxid

func (*CreateSidechainDepositResponse) ProtoMessage

func (*CreateSidechainDepositResponse) ProtoMessage()

func (*CreateSidechainDepositResponse) ProtoReflect

func (*CreateSidechainDepositResponse) Reset

func (x *CreateSidechainDepositResponse) Reset()

func (*CreateSidechainDepositResponse) String

type GetBalanceResponse

type GetBalanceResponse struct {
	ConfirmedSatoshi uint64 `protobuf:"varint,1,opt,name=confirmed_satoshi,json=confirmedSatoshi,proto3" json:"confirmed_satoshi,omitempty"`
	PendingSatoshi   uint64 `protobuf:"varint,2,opt,name=pending_satoshi,json=pendingSatoshi,proto3" json:"pending_satoshi,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalanceResponse) Descriptor deprecated

func (*GetBalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetBalanceResponse) GetConfirmedSatoshi

func (x *GetBalanceResponse) GetConfirmedSatoshi() uint64

func (*GetBalanceResponse) GetPendingSatoshi

func (x *GetBalanceResponse) GetPendingSatoshi() uint64

func (*GetBalanceResponse) ProtoMessage

func (*GetBalanceResponse) ProtoMessage()

func (*GetBalanceResponse) ProtoReflect

func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message

func (*GetBalanceResponse) Reset

func (x *GetBalanceResponse) Reset()

func (*GetBalanceResponse) String

func (x *GetBalanceResponse) String() string

type GetNewAddressResponse

type GetNewAddressResponse struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Index   uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNewAddressResponse) Descriptor deprecated

func (*GetNewAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetNewAddressResponse.ProtoReflect.Descriptor instead.

func (*GetNewAddressResponse) GetAddress

func (x *GetNewAddressResponse) GetAddress() string

func (*GetNewAddressResponse) GetIndex

func (x *GetNewAddressResponse) GetIndex() uint32

func (*GetNewAddressResponse) ProtoMessage

func (*GetNewAddressResponse) ProtoMessage()

func (*GetNewAddressResponse) ProtoReflect

func (x *GetNewAddressResponse) ProtoReflect() protoreflect.Message

func (*GetNewAddressResponse) Reset

func (x *GetNewAddressResponse) Reset()

func (*GetNewAddressResponse) String

func (x *GetNewAddressResponse) String() string

type ListSidechainDepositsRequest

type ListSidechainDepositsRequest struct {
	Slot int32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSidechainDepositsRequest) Descriptor deprecated

func (*ListSidechainDepositsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSidechainDepositsRequest.ProtoReflect.Descriptor instead.

func (*ListSidechainDepositsRequest) GetSlot

func (x *ListSidechainDepositsRequest) GetSlot() int32

func (*ListSidechainDepositsRequest) ProtoMessage

func (*ListSidechainDepositsRequest) ProtoMessage()

func (*ListSidechainDepositsRequest) ProtoReflect

func (*ListSidechainDepositsRequest) Reset

func (x *ListSidechainDepositsRequest) Reset()

func (*ListSidechainDepositsRequest) String

type ListSidechainDepositsResponse

type ListSidechainDepositsResponse struct {
	Deposits []*ListSidechainDepositsResponse_SidechainDeposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSidechainDepositsResponse) Descriptor deprecated

func (*ListSidechainDepositsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSidechainDepositsResponse.ProtoReflect.Descriptor instead.

func (*ListSidechainDepositsResponse) GetDeposits

func (*ListSidechainDepositsResponse) ProtoMessage

func (*ListSidechainDepositsResponse) ProtoMessage()

func (*ListSidechainDepositsResponse) ProtoReflect

func (*ListSidechainDepositsResponse) Reset

func (x *ListSidechainDepositsResponse) Reset()

func (*ListSidechainDepositsResponse) String

type ListSidechainDepositsResponse_SidechainDeposit

type ListSidechainDepositsResponse_SidechainDeposit struct {
	Txid          string  `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Address       string  `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Amount        float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Fee           float64 `protobuf:"fixed64,4,opt,name=fee,proto3" json:"fee,omitempty"`
	Confirmations int32   `protobuf:"varint,5,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSidechainDepositsResponse_SidechainDeposit) Descriptor deprecated

Deprecated: Use ListSidechainDepositsResponse_SidechainDeposit.ProtoReflect.Descriptor instead.

func (*ListSidechainDepositsResponse_SidechainDeposit) GetAddress

func (*ListSidechainDepositsResponse_SidechainDeposit) GetAmount

func (*ListSidechainDepositsResponse_SidechainDeposit) GetConfirmations

func (*ListSidechainDepositsResponse_SidechainDeposit) GetFee

func (*ListSidechainDepositsResponse_SidechainDeposit) GetTxid

func (*ListSidechainDepositsResponse_SidechainDeposit) ProtoMessage

func (*ListSidechainDepositsResponse_SidechainDeposit) ProtoReflect

func (*ListSidechainDepositsResponse_SidechainDeposit) Reset

func (*ListSidechainDepositsResponse_SidechainDeposit) String

type ListTransactionsResponse

type ListTransactionsResponse struct {
	Transactions []*WalletTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTransactionsResponse) Descriptor deprecated

func (*ListTransactionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTransactionsResponse.ProtoReflect.Descriptor instead.

func (*ListTransactionsResponse) GetTransactions

func (x *ListTransactionsResponse) GetTransactions() []*WalletTransaction

func (*ListTransactionsResponse) ProtoMessage

func (*ListTransactionsResponse) ProtoMessage()

func (*ListTransactionsResponse) ProtoReflect

func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message

func (*ListTransactionsResponse) Reset

func (x *ListTransactionsResponse) Reset()

func (*ListTransactionsResponse) String

func (x *ListTransactionsResponse) String() string

type SendTransactionRequest

type SendTransactionRequest struct {

	// Address -> satoshi amount
	Destinations map[string]uint64 `` /* 166-byte string literal not displayed */
	// Fee rate, measured in BTC/kvB. If set to zero, a reasonable
	// rate is used by asking Core for an estimate.
	FeeRate float64 `protobuf:"fixed64,2,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	// Message to include as an OP_RETURN output
	OpReturnMessage *string `protobuf:"bytes,3,opt,name=op_return_message,json=opReturnMessage,proto3,oneof" json:"op_return_message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendTransactionRequest) Descriptor deprecated

func (*SendTransactionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead.

func (*SendTransactionRequest) GetDestinations

func (x *SendTransactionRequest) GetDestinations() map[string]uint64

func (*SendTransactionRequest) GetFeeRate

func (x *SendTransactionRequest) GetFeeRate() float64

func (*SendTransactionRequest) GetOpReturnMessage

func (x *SendTransactionRequest) GetOpReturnMessage() string

func (*SendTransactionRequest) ProtoMessage

func (*SendTransactionRequest) ProtoMessage()

func (*SendTransactionRequest) ProtoReflect

func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message

func (*SendTransactionRequest) Reset

func (x *SendTransactionRequest) Reset()

func (*SendTransactionRequest) String

func (x *SendTransactionRequest) String() string

type SendTransactionResponse

type SendTransactionResponse struct {
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

func (*SendTransactionResponse) Descriptor deprecated

func (*SendTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead.

func (*SendTransactionResponse) GetTxid

func (x *SendTransactionResponse) GetTxid() string

func (*SendTransactionResponse) ProtoMessage

func (*SendTransactionResponse) ProtoMessage()

func (*SendTransactionResponse) ProtoReflect

func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message

func (*SendTransactionResponse) Reset

func (x *SendTransactionResponse) Reset()

func (*SendTransactionResponse) String

func (x *SendTransactionResponse) String() string

type WalletTransaction

type WalletTransaction struct {
	Txid             string        `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	FeeSats          uint64        `protobuf:"varint,2,opt,name=fee_sats,json=feeSatoshi,proto3" json:"fee_sats,omitempty"`
	ReceivedSatoshi  uint64        `protobuf:"varint,3,opt,name=received_satoshi,json=receivedSatoshi,proto3" json:"received_satoshi,omitempty"`
	SentSatoshi      uint64        `protobuf:"varint,4,opt,name=sent_satoshi,json=sentSatoshi,proto3" json:"sent_satoshi,omitempty"`
	ConfirmationTime *Confirmation `protobuf:"bytes,5,opt,name=confirmation_time,json=confirmationTime,proto3" json:"confirmation_time,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletTransaction) Descriptor deprecated

func (*WalletTransaction) Descriptor() ([]byte, []int)

Deprecated: Use WalletTransaction.ProtoReflect.Descriptor instead.

func (*WalletTransaction) GetConfirmationTime

func (x *WalletTransaction) GetConfirmationTime() *Confirmation

func (*WalletTransaction) GetFeeSats

func (x *WalletTransaction) GetFeeSats() uint64

func (*WalletTransaction) GetReceivedSatoshi

func (x *WalletTransaction) GetReceivedSatoshi() uint64

func (*WalletTransaction) GetSentSatoshi

func (x *WalletTransaction) GetSentSatoshi() uint64

func (*WalletTransaction) GetTxid

func (x *WalletTransaction) GetTxid() string

func (*WalletTransaction) ProtoMessage

func (*WalletTransaction) ProtoMessage()

func (*WalletTransaction) ProtoReflect

func (x *WalletTransaction) ProtoReflect() protoreflect.Message

func (*WalletTransaction) Reset

func (x *WalletTransaction) Reset()

func (*WalletTransaction) String

func (x *WalletTransaction) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL