package io.gimbalabs.hilltop.api.v0.models; import io.reactivex.Single; import java.lang.Integer; import java.lang.Long; import java.lang.String; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-SNAPSHOT * User agent: apibuilder app.apibuilder.io/gimbalabs/hilltop-api/0.0.1-SNAPSHOT/android_rx2_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson, retrofit2 and RxJava2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * */ public interface StakepoolsClient { /** * find pool details by vrf_vkey */ @GET("stakepools/vrf_vkey/{vrf_vkey_hash}") Single getStakepoolsVrfVkeyVrfVkeyHash(@Path("vrf_vkey_hash") String vrfVkeyHash); /** * Epoch at which stake pool was originally registered */ @GET("stakepools/{pool_id}/established_epoch") Single getStakepoolsPoolIdEstablishedEpoch(@Path("pool_id") String poolId); /** * live stake in lovelaces */ @GET("stakepools/{pool_id}/live_stake") Single getStakepoolsPoolIdLiveStake(@Path("pool_id") String poolId); /** * number minted blocks in epoch */ @GET("stakepools/{pool_id}/blocks") Single getStakepoolsPoolIdBlocks(@Path("pool_id") String poolId, @Query("epoch") Integer epoch); @GET("stakepools") Single getStakepools(); }