Skip to content

Commit

Permalink
Use latest API endpoints for retrieving inflation and total supply
Browse files Browse the repository at this point in the history
  • Loading branch information
conache committed Feb 3, 2025
1 parent 942fc5d commit 9df9aa4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/libs/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export const DEFAULT: RequestRegistry = {
adapter,
},
bank_supply: { url: '/cosmos/bank/v1beta1/supply', adapter },
bank_supply_by_denom: { url: '/cosmos/bank/v1beta1/supply/{denom}', adapter },
bank_supply_by_denom: {
url: '/cosmos/bank/v1beta1/supply/by_denom?denom={denom}',
adapter,
},
distribution_params: { url: '/cosmos/distribution/v1beta1/params', adapter },
distribution_community_pool: {
url: '/cosmos/distribution/v1beta1/community_pool',
Expand Down Expand Up @@ -138,7 +141,7 @@ export const DEFAULT: RequestRegistry = {
tx_txs_block: { url: '/cosmos/tx/v1beta1/txs/block/{height}', adapter },
tx_hash: { url: '/cosmos/tx/v1beta1/txs/{hash}', adapter },

mint_inflation: { url: '/mint/v1beta1/inflation', adapter },
mint_inflation: { url: '/mint/v5/inflation', adapter },
mint_params: { url: '/mint/v1beta1/params', adapter },
mint_annual_provisions: {
url: '/cosmos/mint/v1beta1/annual_provisions',
Expand Down

0 comments on commit 9df9aa4

Please sign in to comment.