Documentation
¶
Index ¶
- type AddressesService
- type BlocksService
- type ControlService
- type ExplorerService
- type Service
- func (s *Service) GetAddresses(addresses []string, blockHash *string) (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) GetStatus() (*bus.ExplorerStatus, error)
- func (s *Service) GetTransaction(hash string, block *types.Block) (*types.Transaction, error)
- func (s *Service) GetTransactionHex(hash string) (string, 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) GetTransaction ¶
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 { BlocksService TransactionsService AddressesService ExplorerService ControlService }
Click to show internal directories.
Click to hide internal directories.