LP Value Information
Get pairs of LP
Returns one address detail on Ethereum and BNB Chain, where address is 0x1afb…20fb, base currency is 0xbb4c…095c and smart contract address is 0x0eD7…4fD0, sorted by block height transaction index, highest first: currency symbol, currency address, balances value, block height, timestamp time, transaction index, count and 11 more fields.
What it returns
- currency symbol
- currency address
- balances value
- block height
- timestamp time
- transaction index
- count
- trade amount
- full name
- address address
- quote currency address
- quote currency symbol
- quote currency name
- base currency address
- base currency name
- base currency symbol
- quote amount
- quote price
Filters
- address is 0x1afb…20fb
- base currency is 0xbb4c…095c
- smart contract address is 0x0eD7…4fD0
The query
query($address: String!, $base: [String!]){
ethereum(network: bsc) {
address(address: {is: "0x1afb32b76696cdf05593ca3f3957aefb23a220fb"}) {
balances(currency: {is: $address}) {
currency {
symbol
address
}
value
}
}
dexTrades(
baseCurrency: {in: $base}
options: {desc: ["block.height", "transaction.index"], limit: 1}
smartContractAddress: {is: $address}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
index
}
count
tradeAmount(in: USD)
exchange {
fullName
address {
address
}
}
smartContract {
address {
address
}
}
quoteCurrency {
address
symbol
name
}
baseCurrency {
address
name
symbol
}
quoteAmount
quotePrice
}
}
}
Variables
{
"address":"0x0eD7e52944161450477ee417DE9Cd3a859b14fD0",
"base":[
"0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"
]
}
Similar queries
- BITSCOIN-BTS · BNB Chain · Address
- bsc balance error · BNB Chain · Address
- bnb_balance_at_date · BNB Chain · Address
- yoo · BNB Chain · Address
- v1 bnb token balance example · BNB Chain · Address