pub struct TopTrader {
pub buy_amount: String,
pub buy_amount_in_native: String,
pub buy_amount_in_usd: String,
pub buy_count: i64,
pub sell_amount: String,
pub sell_amount_in_native: String,
pub sell_amount_in_usd: String,
pub sell_count: i64,
pub token_address: String,
pub trade_amount: String,
pub trade_count: i64,
pub wallet_address: String,
}Expand description
Top trader statistics
JSON schema
{
"description": "Top trader statistics",
"type": "object",
"required": [
"buyAmount",
"buyAmountInNative",
"buyAmountInUsd",
"buyCount",
"sellAmount",
"sellAmountInNative",
"sellAmountInUsd",
"sellCount",
"tokenAddress",
"tradeAmount",
"tradeCount",
"walletAddress"
],
"properties": {
"buyAmount": {
"description": "ENTITY.TOP_TRADER.BUY_AMOUNT",
"examples": [
"600000"
],
"type": "string"
},
"buyAmountInNative": {
"description": "ENTITY.TOP_TRADER.BUY_AMOUNT_IN_NATIVE",
"examples": [
"100.5"
],
"type": "string"
},
"buyAmountInUsd": {
"description": "ENTITY.TOP_TRADER.BUY_AMOUNT_IN_USD",
"examples": [
"12000.50"
],
"type": "string"
},
"buyCount": {
"description": "ENTITY.TOP_TRADER.BUY_COUNT",
"examples": [
60
],
"type": "integer",
"format": "int64"
},
"sellAmount": {
"description": "ENTITY.TOP_TRADER.SELL_AMOUNT",
"examples": [
"400000"
],
"type": "string"
},
"sellAmountInNative": {
"description": "ENTITY.TOP_TRADER.SELL_AMOUNT_IN_NATIVE",
"examples": [
"66.8"
],
"type": "string"
},
"sellAmountInUsd": {
"description": "ENTITY.TOP_TRADER.SELL_AMOUNT_IN_USD",
"examples": [
"8000.30"
],
"type": "string"
},
"sellCount": {
"description": "ENTITY.TOP_TRADER.SELL_COUNT",
"examples": [
40
],
"type": "integer",
"format": "int64"
},
"tokenAddress": {
"description": "ENTITY.TOP_TRADER.TOKEN_ADDRESS",
"examples": [
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
],
"type": "string"
},
"tradeAmount": {
"description": "ENTITY.TOP_TRADER.TRADE_AMOUNT",
"examples": [
"1000000"
],
"type": "string"
},
"tradeCount": {
"description": "ENTITY.TOP_TRADER.TRADE_COUNT",
"examples": [
100
],
"type": "integer",
"format": "int64"
},
"walletAddress": {
"description": "ENTITY.TOP_TRADER.WALLET_ADDRESS",
"examples": [
"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"
],
"type": "string"
}
}
}Fields§
§buy_amount: StringENTITY.TOP_TRADER.BUY_AMOUNT
buy_amount_in_native: StringENTITY.TOP_TRADER.BUY_AMOUNT_IN_NATIVE
buy_amount_in_usd: StringENTITY.TOP_TRADER.BUY_AMOUNT_IN_USD
buy_count: i64ENTITY.TOP_TRADER.BUY_COUNT
sell_amount: StringENTITY.TOP_TRADER.SELL_AMOUNT
sell_amount_in_native: StringENTITY.TOP_TRADER.SELL_AMOUNT_IN_NATIVE
sell_amount_in_usd: StringENTITY.TOP_TRADER.SELL_AMOUNT_IN_USD
sell_count: i64ENTITY.TOP_TRADER.SELL_COUNT
token_address: StringENTITY.TOP_TRADER.TOKEN_ADDRESS
trade_amount: StringENTITY.TOP_TRADER.TRADE_AMOUNT
trade_count: i64ENTITY.TOP_TRADER.TRADE_COUNT
wallet_address: StringENTITY.TOP_TRADER.WALLET_ADDRESS
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TopTrader
impl<'de> Deserialize<'de> for TopTrader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TopTrader
impl RefUnwindSafe for TopTrader
impl Send for TopTrader
impl Sync for TopTrader
impl Unpin for TopTrader
impl UnsafeUnpin for TopTrader
impl UnwindSafe for TopTrader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more