details_about_an_address_klaytn
Returns transfers and transactions on Ethereum and klaytn, where caller is 0x87f7…5db3, address is 0x87f7…5db3 and amount is above 0: minimum of block, maximum of block, amount, count, gas value, currency name, currency symbol and 2 more fields.
What it returns
- minimum of block
- maximum of block
- amount
- count
- gas value
- currency name
- currency symbol
- annotation
- balance
Filters
- 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(
date: {since: $from, till: $till}
amount: {gt: 0}
any: [{receiver: {is: $address}}, {sender: {is: $address}}]
) {
first_transfer_at: minimum(of: block, get: date)
last_transfer_at: maximum(of: block, get: date)
receive_amount: amount(
calculate: sum
receiver: {is: $address}
currency: {is: "KLAY"}
)
send_amount: amount(
calculate: sum
sender: {is: $address}
currency: {is: "KLAY"}
)
receive_from_count: count(uniq: senders, receiver: {is: $address})
send_to_count: count(uniq: receivers, sender: {is: $address})
receive_from_currencies: count(uniq: currencies, receiver: {is: $address})
send_to_currencies: count(uniq: currencies, sender: {is: $address})
days_with_recieved: count(uniq: dates, receiver: {is: $address})
days_with_sent: count(uniq: dates, sender: {is: $address})
days_with_transfers: count(uniq: dates)
send_tx_count: count(uniq: txs, sender: {is: $address})
receive_tx_count: count(uniq: txs, receiver: {is: $address})
}
transactions(any: [{txTo: {is: $address}}, {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, txSender: {is: $address})
receive_tx_count: count(uniq: senders, txTo: {is: $address})
days_with_transactions: count(uniq: dates)
sum_in: amount(calculate: sum, txTo: {is: $address}, in: ETH)
}
smartContractCalls(caller: {is: $address}) {
call_tx_count: count
minimum(of: block, get: date)
}
balancedata: address(address: {is: $address}) {
balances {
currency {
name
symbol
}
}
annotation
balance
}
}
}
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