conflux_cfx_balance_at_height_
Returns transfers and transactions on conflux_hydra, where sender is cfx:aar1np2mesv9b6k1x1uc0p5wpz915v8z4ju3p4b54c, currency is CFX and receiver is cfx:aar1np2mesv9b6k1x1uc0p5wpz915v8z4ju3p4b54c: currency address, currency symbol, amount and gas value.
What it returns
- currency address
- currency symbol
- amount
- gas value
Filters
- sender is cfx:aar1np2mesv9b6k1x1uc0p5wpz915v8z4ju3p4b54c
- currency is CFX
- receiver is cfx:aar1np2mesv9b6k1x1uc0p5wpz915v8z4ju3p4b54c
- tx sender is cfx:aar1np2mesv9b6k1x1uc0p5wpz915v8z4ju3p4b54c
The query
query MyQuery($address: String!, $block: Int) {
conflux(network: conflux_hydra) {
spend: transfers(
sender: {is: $address}
currency: {is: "CFX"}
height: {lteq: $block}
) {
currency {
address
symbol
}
amount
}
recieve: transfers(
receiver: {is: $address}
currency: {is: "CFX"}
height: {lteq: $block}
) {
currency {
address
symbol
}
amount
}
fees_paid: transactions(txSender: {is: $address}, height: {lteq: $block}) {
gasValue
}
}
}
Variables
{
"address": "cfx:aar1np2mesv9b6k1x1uc0p5wpz915v8z4ju3p4b54c",
"height": 127511837
}
Similar queries
- Conflux Balance at Audit Date · Conflux hydra · Transfers
- daily CFX transfer vol on Conflux chain · Conflux hydra · Transfers
- daily CFX transfer vol on Conflux chain and transaction vol · Conflux hydra · Transfers
- CFX · Conflux hydra · Transfers
- Conflux Transactions of An Address · Conflux hydra · Transactions