Update typescript API types
This commit is contained in:
parent
21780d439f
commit
c0dbeeea9a
@ -208,9 +208,9 @@ type TokenTransfer struct {
|
||||
From string `json:"from"`
|
||||
To string `json:"to"`
|
||||
Contract string `json:"contract"`
|
||||
Name string `json:"name"`
|
||||
Symbol string `json:"symbol"`
|
||||
Decimals int `json:"decimals"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Symbol string `json:"symbol,omitempty"`
|
||||
Decimals int `json:"decimals,omitempty"`
|
||||
Value *Amount `json:"value,omitempty"`
|
||||
MultiTokenValues []MultiTokenValue `json:"multiTokenValues,omitempty"`
|
||||
}
|
||||
|
||||
@ -46,9 +46,9 @@ export interface TokenTransfer {
|
||||
from: string;
|
||||
to: string;
|
||||
contract: string;
|
||||
name: string;
|
||||
symbol: string;
|
||||
decimals: number;
|
||||
name?: string;
|
||||
symbol?: string;
|
||||
decimals?: number;
|
||||
value?: string;
|
||||
multiTokenValues?: MultiTokenValue[];
|
||||
}
|
||||
@ -111,6 +111,7 @@ export interface FeeStats {
|
||||
}
|
||||
export interface StakingPool {
|
||||
contract: string;
|
||||
name: string;
|
||||
pendingBalance: string;
|
||||
pendingDepositedBalance: string;
|
||||
depositedBalance: string;
|
||||
@ -275,7 +276,7 @@ export interface BlockbookInfo {
|
||||
currentFiatRatesTime?: string;
|
||||
historicalFiatRatesTime?: string;
|
||||
historicalTokenFiatRatesTime?: string;
|
||||
stakingPoolContracts?: string[];
|
||||
supportedStakingPools?: string[];
|
||||
dbSizeFromColumns?: number;
|
||||
dbColumns?: InternalStateColumn[];
|
||||
about: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user