Documentation ¶
Index ¶
- Constants
- type ResultBroadcastTx
- type Service
- func (s *Service) Address(_ context.Context, req *pb.AddressRequest) (*pb.AddressResponse, error)
- func (s *Service) Addresses(_ context.Context, req *pb.AddressesRequest) (*pb.AddressesResponse, error)
- func (s *Service) Block(_ context.Context, req *pb.BlockRequest) (*pb.BlockResponse, error)
- func (s *Service) Candidate(_ context.Context, req *pb.CandidateRequest) (*pb.CandidateResponse, error)
- func (s *Service) Candidates(_ context.Context, req *pb.CandidatesRequest) (*pb.CandidatesResponse, error)
- func (s *Service) CoinInfo(_ context.Context, req *pb.CoinInfoRequest) (*pb.CoinInfoResponse, error)
- func (s *Service) EstimateCoinBuy(_ context.Context, req *pb.EstimateCoinBuyRequest) (*pb.EstimateCoinBuyResponse, error)
- func (s *Service) EstimateCoinSell(_ context.Context, req *pb.EstimateCoinSellRequest) (*pb.EstimateCoinSellResponse, error)
- func (s *Service) EstimateCoinSellAll(_ context.Context, req *pb.EstimateCoinSellAllRequest) (*pb.EstimateCoinSellAllResponse, error)
- func (s *Service) EstimateTxCommission(_ context.Context, req *pb.EstimateTxCommissionRequest) (*pb.EstimateTxCommissionResponse, error)
- func (s *Service) Events(_ context.Context, req *pb.EventsRequest) (*pb.EventsResponse, error)
- func (s *Service) Genesis(context.Context, *empty.Empty) (*pb.GenesisResponse, error)
- func (s *Service) Halts(_ context.Context, _ *pb.HaltsRequest) (*pb.HaltsResponse, error)
- func (s *Service) MaxGas(_ context.Context, req *pb.MaxGasRequest) (*pb.MaxGasResponse, error)
- func (s *Service) MinGasPrice(context.Context, *empty.Empty) (*pb.MinGasPriceResponse, error)
- func (s *Service) MissedBlocks(_ context.Context, req *pb.MissedBlocksRequest) (*pb.MissedBlocksResponse, error)
- func (s *Service) NetInfo(context.Context, *empty.Empty) (*pb.NetInfoResponse, error)
- func (s *Service) SendGetTransaction(ctx context.Context, req *pb.SendTransactionRequest) (*pb.SendTransactionResponse, error)
- func (s *Service) SendPostTransaction(ctx context.Context, req *pb.SendTransactionRequest) (*pb.SendTransactionResponse, error)
- func (s *Service) SendTransaction(_ context.Context, req *pb.SendTransactionRequest) (*pb.SendTransactionResponse, error)
- func (s *Service) Status(context.Context, *empty.Empty) (*pb.StatusResponse, error)
- func (s *Service) Subscribe(request *pb.SubscribeRequest, stream pb.ApiService_SubscribeServer) error
- func (s *Service) Transaction(_ context.Context, req *pb.TransactionRequest) (*pb.TransactionResponse, error)
- func (s *Service) Transactions(_ context.Context, req *pb.TransactionsRequest) (*pb.TransactionsResponse, error)
- func (s *Service) UnconfirmedTxs(_ context.Context, req *pb.UnconfirmedTxsRequest) (*pb.UnconfirmedTxsResponse, error)
- func (s *Service) Validators(_ context.Context, req *pb.ValidatorsRequest) (*pb.ValidatorsResponse, error)
Constants ¶
View Source
const (
SubscribeTimeout = 5 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultBroadcastTx ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) Address ¶
func (s *Service) Address(_ context.Context, req *pb.AddressRequest) (*pb.AddressResponse, error)
func (*Service) Addresses ¶
func (s *Service) Addresses(_ context.Context, req *pb.AddressesRequest) (*pb.AddressesResponse, error)
func (*Service) Block ¶
func (s *Service) Block(_ context.Context, req *pb.BlockRequest) (*pb.BlockResponse, error)
func (*Service) Candidate ¶
func (s *Service) Candidate(_ context.Context, req *pb.CandidateRequest) (*pb.CandidateResponse, error)
func (*Service) Candidates ¶
func (s *Service) Candidates(_ context.Context, req *pb.CandidatesRequest) (*pb.CandidatesResponse, error)
func (*Service) CoinInfo ¶
func (s *Service) CoinInfo(_ context.Context, req *pb.CoinInfoRequest) (*pb.CoinInfoResponse, error)
func (*Service) EstimateCoinBuy ¶
func (s *Service) EstimateCoinBuy(_ context.Context, req *pb.EstimateCoinBuyRequest) (*pb.EstimateCoinBuyResponse, error)
func (*Service) EstimateCoinSell ¶
func (s *Service) EstimateCoinSell(_ context.Context, req *pb.EstimateCoinSellRequest) (*pb.EstimateCoinSellResponse, error)
func (*Service) EstimateCoinSellAll ¶
func (s *Service) EstimateCoinSellAll(_ context.Context, req *pb.EstimateCoinSellAllRequest) (*pb.EstimateCoinSellAllResponse, error)
func (*Service) EstimateTxCommission ¶
func (s *Service) EstimateTxCommission(_ context.Context, req *pb.EstimateTxCommissionRequest) (*pb.EstimateTxCommissionResponse, error)
func (*Service) Events ¶
func (s *Service) Events(_ context.Context, req *pb.EventsRequest) (*pb.EventsResponse, error)
func (*Service) Halts ¶ added in v1.2.0
func (s *Service) Halts(_ context.Context, _ *pb.HaltsRequest) (*pb.HaltsResponse, error)
func (*Service) MaxGas ¶
func (s *Service) MaxGas(_ context.Context, req *pb.MaxGasRequest) (*pb.MaxGasResponse, error)
func (*Service) MinGasPrice ¶
func (*Service) MissedBlocks ¶
func (s *Service) MissedBlocks(_ context.Context, req *pb.MissedBlocksRequest) (*pb.MissedBlocksResponse, error)
func (*Service) SendGetTransaction ¶
func (s *Service) SendGetTransaction(ctx context.Context, req *pb.SendTransactionRequest) (*pb.SendTransactionResponse, error)
func (*Service) SendPostTransaction ¶
func (s *Service) SendPostTransaction(ctx context.Context, req *pb.SendTransactionRequest) (*pb.SendTransactionResponse, error)
func (*Service) SendTransaction ¶ added in v1.2.0
func (s *Service) SendTransaction(_ context.Context, req *pb.SendTransactionRequest) (*pb.SendTransactionResponse, error)
func (*Service) Subscribe ¶
func (s *Service) Subscribe(request *pb.SubscribeRequest, stream pb.ApiService_SubscribeServer) error
func (*Service) Transaction ¶
func (s *Service) Transaction(_ context.Context, req *pb.TransactionRequest) (*pb.TransactionResponse, error)
func (*Service) Transactions ¶
func (s *Service) Transactions(_ context.Context, req *pb.TransactionsRequest) (*pb.TransactionsResponse, error)
func (*Service) UnconfirmedTxs ¶
func (s *Service) UnconfirmedTxs(_ context.Context, req *pb.UnconfirmedTxsRequest) (*pb.UnconfirmedTxsResponse, error)
func (*Service) Validators ¶
func (s *Service) Validators(_ context.Context, req *pb.ValidatorsRequest) (*pb.ValidatorsResponse, error)
Source Files ¶
- address.go
- addresses.go
- block.go
- candidate.go
- candidates.go
- coin_info.go
- estimate_coin_buy.go
- estimate_coin_sell.go
- estimate_coin_sell_all.go
- estimate_tx_commission.go
- events.go
- gas.go
- genesis.go
- halts.go
- missed_blocks.go
- net_info.go
- send_transaction.go
- service.go
- status.go
- transaction.go
- transactions.go
- unconfirmed_txs.go
- validators.go
- ws.go
Click to show internal directories.
Click to hide internal directories.