Closed spoo-bar closed 9 months ago
Implement Query Server based on AIP
service Query { // Params returns module parameters rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { option (google.api.http).get = "/archway/callback/v1/params"; } // EstimateCallbackFees returns the total amount of callback fees a contract needs to pay to register the callback rpc EstimateCallbackFees(QueryEstimateCallbackFeesRequest) returns (QueryEstimateCallbackFeesResponse) { option (google.api.http).get = "/archway/callback/v1/estimate_callback_fees"; } // Callbacks returns all the callbacks registered at a given height rpc Callbacks(QueryCallbacksRequest) returns (QueryCallbacksResponse) { option (google.api.http).get = "/archway/callback/v1/callbacks"; } }
Implemented with https://github.com/archway-network/archway/pull/509
Implement Query Server based on AIP