From fddf1aee28f29de26633c708ebc0fff506b5252f Mon Sep 17 00:00:00 2001 From: Yana Date: Tue, 17 Dec 2024 21:02:34 +0700 Subject: [PATCH] Add USD price to tokenomics card --- explorer-nextjs/src/app/api/types.ts | 33 ---------------------------- explorer-nextjs/src/app/api/urls.ts | 1 - 2 files changed, 34 deletions(-) diff --git a/explorer-nextjs/src/app/api/types.ts b/explorer-nextjs/src/app/api/types.ts index e6d3de56e6..f6ac573c5e 100644 --- a/explorer-nextjs/src/app/api/types.ts +++ b/explorer-nextjs/src/app/api/types.ts @@ -114,36 +114,3 @@ export interface CurrencyRates { timestamp: number; usd: number; } - -// ACCOUNT BALANCES - -export interface IRewardDetails { - amount_staked: IAmountDetails; - node_id: number; - node_still_fully_bonded: boolean; - rewards: IAmountDetails; -} - -export interface IAmountDetails { - denom: string; - amount: string; -} - -export interface IDelegationDetails { - node_id: number; - delegated: IAmountDetails; - height: number; - proxy: null | string; -} - -export interface IAccountBalancesInfo { - accumulated_rewards: IRewardDetails[]; - address: string; - balances: IAmountDetails[]; - claimable_rewards: IAmountDetails; - delegations: IDelegationDetails[]; - operator_rewards?: null | IAmountDetails; - total_delegations: IAmountDetails; - total_value: IAmountDetails; - vesting_account?: null | string; -} diff --git a/explorer-nextjs/src/app/api/urls.ts b/explorer-nextjs/src/app/api/urls.ts index a10204aee2..d2ec69f27a 100644 --- a/explorer-nextjs/src/app/api/urls.ts +++ b/explorer-nextjs/src/app/api/urls.ts @@ -29,6 +29,5 @@ export const NYM_NODE_BONDED = export const NYM_ACCOUNT_ADDRESS = "https://explorer.nymtech.net/api/v1/tmp/unstable/account/"; - export const NYM_PRICES_API = "https://canary-nym-vpn-chain-payment-watcher.nymte.ch/v1/price/average";