Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockAPIService ¶
func NewBlockAPIService(network *types.NetworkIdentifier) server.BlockAPIServicer
NewBlockAPIService creates a new instance of a BlockAPIService.
func NewNetworkAPIService ¶
func NewNetworkAPIService(network *types.NetworkIdentifier) server.NetworkAPIServicer
NewNetworkAPIService creates a new instance of a NetworkAPIService.
Types ¶
type BlockAPIService ¶
type BlockAPIService struct {
// contains filtered or unexported fields
}
BlockAPIService implements the server.BlockAPIServicer interface.
func (*BlockAPIService) Block ¶
func (s *BlockAPIService) Block( request *types.BlockRequest, ) (*types.BlockResponse, *types.Error)
Block implements the /block endpoint.
func (*BlockAPIService) BlockTransaction ¶
func (s *BlockAPIService) BlockTransaction( request *types.BlockTransactionRequest, ) (*types.BlockTransactionResponse, *types.Error)
BlockTransaction implements the /block/transaction endpoint.
type NetworkAPIService ¶
type NetworkAPIService struct {
// contains filtered or unexported fields
}
NetworkAPIService implements the server.NetworkAPIServicer interface.
func (*NetworkAPIService) NetworkStatus ¶
func (s *NetworkAPIService) NetworkStatus( *types.NetworkStatusRequest, ) (*types.NetworkStatusResponse, *types.Error)
NetworkStatus implements the /network/status endpoint.
Click to show internal directories.
Click to hide internal directories.