kltn_address_stat_without_any
Returns transfers and transactions on Ethereum and klaytn, where sender is 0x87f7…5db3, receiver is 0x87f7…5db3 and tx sender is 0x87f7…5db3: minimum of block, maximum of block, amount, count, gas value, currency name, currency symbol and annotation.
What it returns
- minimum of block
- maximum of block
- amount
- count
- gas value
- currency name
- currency symbol
- annotation
Filters
- sender is 0x87f7…5db3
- receiver is 0x87f7…5db3
- tx sender is 0x87f7…5db3
- tx to is 0x87f7…5db3
- caller is 0x87f7…5db3
- address is 0x87f7…5db3
- amount is above 0
The query
query ($network: EthereumNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
transfers_as_sender: transfers(
date: {since: $from, till: $till}
amount: {gt: 0}
sender: {is: $address}
) {
first_transfer_at: minimum(of: block, get: date)
last_transfer_at: maximum(of: block, get: date)
send_amount: amount(
calculate: sum
currency: {is: "KLAY"}
)
send_to_count: count(uniq: receivers)
send_to_currencies: count(uniq: currencies)
days_with_sent: count(uniq: dates)
days_with_transfers: count(uniq: dates)
send_tx_count: count(uniq: txs)
}
transfers_as_receiver: transfers(
date: {since: $from, till: $till}
amount: {gt: 0}
receiver: {is: $address}
) {
first_transfer_at: minimum(of: block, get: date)
last_transfer_at: maximum(of: block, get: date)
receive_amount: amount(
calculate: sum
currency: {is: "KLAY"}
)
receive_from_count: count(uniq: senders)
receive_from_currencies: count(uniq: currencies)
days_with_recieved: count(uniq: dates)
days_with_transfers: count(uniq: dates)
receive_tx_count: count(uniq: txs)
}
transactions_as_sender: transactions(txSender: {is: $address}) {
fee_amount: gasValue
first_tx_at: minimum(of: block, get: date)
last_tx_at: maximum(of: block, get: date)
send_tx_count: count(uniq: receivers)
days_with_transactions: count(uniq: dates)
}
transactions_as_receiver: transactions(txTo: {is: $address}) {
fee_amount: gasValue
first_tx_at: minimum(of: block, get: date)
last_tx_at: maximum(of: block, get: date)
send_tx_count: count(uniq: receivers, txSender: {is: $address})
receive_tx_count: count(uniq: senders, txTo: {is: $address})
days_with_transactions: count(uniq: dates)
}
smartContractCalls(caller: {is: $address}) {
call_tx_count: count
minimum(of: block, get: date)
}
balancedata: address(address: {is: $address}) {
balances {
currency {
name
symbol
}
}
annotation
}
}
}
Variables
{
"limit": 1000,
"offset": 0,
"network": "klaytn",
"address": "0x87f7071dc67e1c5f6b02256c449669cc93375db3",
"from": null,
"till": null,
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Klaytn — Balance of an address at a past date · Klaytn · Transfers
- Klaytn — Latest token transfers · Klaytn · Transfers
- internal_transactions_ · Klaytn · Transfers
- KlayBalance___ · Klaytn · Transfers
- SSG transaction extraction · Klaytn · Transfers