Skip to content

Commit

Permalink
Merge pull request #21 from allora-network/fix/use-correct-api-endpoints
Browse files Browse the repository at this point in the history
Fix: use latest API endpoints for retrieving inflation and total supply
  • Loading branch information
conache authored Feb 4, 2025
2 parents 942fc5d + 9df9aa4 commit 649a675
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 649a675

Please sign in to comment.