Documentation ¶
Index ¶
- type Service
- func (s *Service) Account() ports.Account
- func (s *Service) Close()
- func (s *Service) CompleteSwap(account string, swapRequest ports.SwapRequest) (string, []ports.Utxo, int64, error)
- func (s *Service) NativeAsset() string
- func (s *Service) Network() network.Network
- func (s *Service) Notification() ports.Notification
- func (s *Service) RegisterHandlerForTxEvent(handler func(ports.WalletTxNotification) bool)
- func (s *Service) RegisterHandlerForUtxoEvent(handler func(ports.WalletUtxoNotification) bool)
- func (s *Service) SendToMany(account string, outs []ports.TxOutput, millisatPerByte uint64) (string, error)
- func (s *Service) Transaction() ports.Transaction
- func (s *Service) Wallet() ports.Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(wallet ports.WalletService) (*Service, error)
func (*Service) CompleteSwap ¶
func (*Service) NativeAsset ¶
func (*Service) Notification ¶
func (s *Service) Notification() ports.Notification
func (*Service) RegisterHandlerForTxEvent ¶
func (s *Service) RegisterHandlerForTxEvent( handler func(ports.WalletTxNotification) bool, )
func (*Service) RegisterHandlerForUtxoEvent ¶
func (s *Service) RegisterHandlerForUtxoEvent( handler func(ports.WalletUtxoNotification) bool, )
func (*Service) SendToMany ¶
func (*Service) Transaction ¶
func (s *Service) Transaction() ports.Transaction
Click to show internal directories.
Click to hide internal directories.