OR new
Returns the latest 10 transactions on Bitcoin: timestamp time, block height, input value, output value, index, hash, fee value and 4 more fields.
What it returns
- timestamp time
- block height
- input value
- output value
- index
- hash
- fee value
- tx coinbase
- mined value
- output count
- input count
The query
query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $address: String!) {
bitcoin(network: $network) {
transactions(
options: {desc: ["block.height", "index"], limit: $limit, offset: $offset}
any: [{inputAddress: {is: $address}}, {outputAddress: {is: $address}}]
) {
block(time: {since: $from, till: $till}) {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
inputValue
outputValue
index
hash
feeValue
txCoinbase
fee_value_usd: feeValue(in: USD)
minedValue
outputCount
inputCount
}
}
}
Variables
{
"inboundDepth": 1,
"outboundDepth": 1,
"limit": 10,
"offset": 0,
"address": "1FNggrG8YmaxM18TCLpoyMHQmExoxA4evn",
"network": "bitcoin",
"from": "2015-12-16T12:00:00",
"till": "2015-12-16T12:23:00",
"dateFormat": "%Y-%m-%d %H:%M:%S"
}
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