transaction & transfers with gas data
Returns 10 transactions and transfers on Ethereum, sorted by block height: block height, iso8601, index, hash, gas value and transaction hash.
What it returns
- block height
- iso8601
- index
- hash
- gas value
- transaction hash
The query
query get_newer_tx_hashes_by_addr($address: String!, $after_block_height: Int, $limit: Int = 10, $offset: Int = 0) {
ethereum(network: ethereum) {
transactions(
options: {asc: ["block.height", "index"], limit: $limit, offset: $offset}
any: [{txSender: {is: $address}, height: {gt: $after_block_height}}, {txTo: {is: $address}, height: {gt: $after_block_height}}, {txCreates: {is: $address}, height: {gt: $after_block_height}}]
) {
block {
height
timestamp {
iso8601
}
}
index
hash
gasValue
gasValue_usd: gasValue(in: USD)
}
transfers(
options: {asc: ["block.height"], limit: $limit, offset: $offset}
any: [{sender: {is: $address}, height: {gt: $after_block_height}}, {receiver: {is: $address}, height: {gt: $after_block_height}}, {txFrom: {is: $address}, height: {gt: $after_block_height}}]
) {
block {
timestamp {
iso8601
}
height
}
transaction {
hash
}
gasValue
gasValue_usd: gasValue(in: USD)
}
}
}
Variables
{
"address": "0x0764c7675bd658f7aac748abd7ea3a2491d3d125"
}
Similar queries
- Wwa to nie london · Ethereum · Transactions
- transactions · Ethereum · Transactions
- Solos · Ethereum · Transactions
- Get transactions by wallet · Ethereum · Transactions
- eth latest activity · Ethereum · Transfers