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