All bitcoin transctions for a bitcoin address
Returns the latest 10 transactions on Bitcoin: timestamp time, block height, fee value, hash, output value and input value.
What it returns
- timestamp time
- block height
- fee value
- hash
- output value
- input value
The query
query MyQuery {
bitcoin(network: bitcoin) {
transactions(
options: {desc: "block.timestamp.time", limit: 10}
any: [{inputAddress: {is: "bc1qmr6939yretxh8m02a9mjq24wtvhz4kzph4wkv4"}}, {outputAddress: {is: "bc1qmr6939yretxh8m02a9mjq24wtvhz4kzph4wkv4"}}]
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
feeValue
fee_value_usd: feeValue(in: USD)
hash
outputValue_in_USD:outputValue (calculate: sum, in: USD)
inputValue_in_USD: inputValue(calculate: sum, in: USD)
outputValue (calculate: sum)
inputValue(calculate: sum)
}
}
}
Variables
{
"limit": 10,
"network": "bitcoin",
"address": "bc1qmr6939yretxh8m02a9mjq24wtvhz4kzph4wkv4"
}
Similar queries
- Details of Bitcoin Transaction · Bitcoin · Transactions
- Inflows and Outflow of a bitcoin wallet · Bitcoin · Transactions
- bitcoin tx schema · Bitcoin · Transactions
- bitcoin tx · Bitcoin · Transactions
- bitcoin query for input output tx · Bitcoin · Transactions