@@ -38,6 +38,8 @@ type ServiceClient interface {
3838 SuggestGasPrice (ctx context.Context , in * iotexapi.SuggestGasPriceRequest , opts ... grpc.CallOption ) (* iotexapi.SuggestGasPriceResponse , error )
3939 // estimate gas for action
4040 EstimateGasForAction (ctx context.Context , in * iotexapi.EstimateGasForActionRequest , opts ... grpc.CallOption ) (* iotexapi.EstimateGasForActionResponse , error )
41+ // estimate gas for action and transfer not sealed
42+ EstimateActionGasConsumption (ctx context.Context , in * iotexapi.EstimateActionGasConsumptionRequest , opts ... grpc.CallOption ) (* iotexapi.EstimateActionGasConsumptionResponse , error )
4143 // read state from blockchain
4244 ReadState (ctx context.Context , in * iotexapi.ReadStateRequest , opts ... grpc.CallOption ) (* iotexapi.ReadStateResponse , error )
4345 // get epoch metadata
@@ -46,8 +48,12 @@ type ServiceClient interface {
4648 GetRawBlocks (ctx context.Context , in * iotexapi.GetRawBlocksRequest , opts ... grpc.CallOption ) (* iotexapi.GetRawBlocksResponse , error )
4749 // get logs filtered by contract address and topics
4850 GetLogs (ctx context.Context , in * iotexapi.GetLogsRequest , opts ... grpc.CallOption ) (* iotexapi.GetLogsResponse , error )
51+ // get a single address' votes
52+ GetVotes (ctx context.Context , in * iotexapi.GetVotesRequest , opts ... grpc.CallOption ) (* iotexapi.GetVotesResponse , error )
4953 // get block info in stream
5054 StreamBlocks (ctx context.Context , in * iotexapi.StreamBlocksRequest , opts ... grpc.CallOption ) (iotexapi.APIService_StreamBlocksClient , error )
5155 // get filtered logs in stream
5256 StreamLogs (ctx context.Context , in * iotexapi.StreamLogsRequest , opts ... grpc.CallOption ) (iotexapi.APIService_StreamLogsClient , error )
57+ // get native elction buckets
58+ GetElectionBuckets (ctx context.Context , in * iotexapi.GetElectionBucketsRequest , opts ... grpc.CallOption ) (* iotexapi.GetElectionBucketsResponse , error )
5359}
0 commit comments