Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair struct {
ChainId string `json:"chainId"`
DexId string `json:"dexId"`
Url string `json:"url"`
PairAddress string `json:"pairAddress"`
BaseToken struct {
Address string `json:"address"`
Name string `json:"name"`
Symbol string `json:"symbol"`
} `json:"baseToken"`
QuoteuoteToken struct {
Symbol string `json:"symbol"`
} `json:"quoteToken"`
PriceNative string `json:"priceNative"`
PriceUsd string `json:"priceUsd"`
Txns struct {
M5 struct {
Buys int `json:"buys"`
Sells int `json:"sells"`
} `json:"m5"`
H1 struct {
Buys int `json:"buys"`
Sells int `json:"sells"`
} `json:"h1"`
H6 struct {
Buys int `json:"buys"`
Sells int `json:"sells"`
} `json:"h6"`
H24 struct {
Buys int `json:"buys"`
Sells int `json:"sells"`
} `json:"h24"`
} `json:"txns"`
Volume struct {
M5 float64 `json:"m5"`
H1 float64 `json:"h1"`
H6 float64 `json:"h6"`
H24 float64 `json:"h24"`
} `json:"volume"`
PriceChange struct {
M5 float64 `json:"m5"`
H1 float64 `json:"h1"`
H6 float64 `json:"h6"`
H24 float64 `json:"h24"`
} `json:"priceChange"`
Liquidity struct {
Usd float64 `json:"usd"`
Base float64 `json:"base"`
Quote float64 `json:"quote"`
} `json:"liquidity"`
FDY float64 `json:"fdy"`
PairCreatedAt int `json:"pairCreatedAt"`
}
type PairsResponse ¶
Click to show internal directories.
Click to hide internal directories.