Add USD price to tokenomics card

This commit is contained in:
Yana
2024-12-17 21:02:34 +07:00
parent 22c0d8a104
commit fddf1aee28
2 changed files with 0 additions and 34 deletions
-33
View File
@@ -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;
}
-1
View File
@@ -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";