Documentation ¶
Index ¶
- type AddressesService
- type BlocksService
- type ControlService
- type ExplorerService
- type Service
- func (s *Service) GetAddresses(addresses []string, blockHash *string, blockHeight *int32) (types.Addresses, error)
- func (s *Service) GetBlock(ref string) (*types.Block, error)
- func (s *Service) GetFees(targets []int64, mode string) map[string]interface{}
- func (s *Service) GetHealth() error
- func (s *Service) GetNetwork() (network *bus.Network)
- func (s *Service) GetStatus() *bus.ExplorerStatus
- func (s *Service) GetTransaction(hash string, block *types.Block, bestBlockHeight int32) (*types.Transaction, error)
- func (s *Service) GetTransactionHex(hash string) (string, error)
- func (s *Service) HasDescriptor(descriptor string) (bool, error)
- func (s *Service) ImportAccounts(accounts []config.Account)
- func (s *Service) SendTransaction(tx string) (string, error)
- type ServiceInterface
- type TransactionsService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressesService ¶
type ControlService ¶
type ExplorerService ¶
type Service ¶
func (*Service) GetAddresses ¶
func (*Service) GetNetwork ¶ added in v0.13.0
func (*Service) GetStatus ¶
func (s *Service) GetStatus() *bus.ExplorerStatus
func (*Service) GetTransaction ¶
func (s *Service) GetTransaction(hash string, block *types.Block, bestBlockHeight int32) (*types.Transaction, error)
GetTransaction is a service function to query transaction details by transaction hash.
func (*Service) GetTransactionHex ¶
GetTransactionHex is a service function to get hex encoded raw transaction by hash.
func (*Service) ImportAccounts ¶
type ServiceInterface ¶
type ServiceInterface interface { AddressesService BlocksService ControlService ExplorerService TransactionsService }
Click to show internal directories.
Click to hide internal directories.