bitcoin fee aount and tx for an address
Returns the latest 10 transactions on Bitcoin, where date since 2022-04-22 and date till 2022-04-29: block height, timestamp time, index, fee value, input value, output value, hash and 3 more fields.
What it returns
- block height
- timestamp time
- index
- fee value
- input value
- output value
- hash
- fee value decimal
- input value decimal
- output value decimal
Filters
- date since 2022-04-22
- date till 2022-04-29
The query
query ($network: BitcoinNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
transactions(
date: {since: $from, till: $till}
any: [{inputAddress: {is: $address}}, {outputAddress: {is: $address}}]
options: {desc: ["block.height","index"], limit: $limit, offset: $offset}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
index
feeValue
inputValue
outputValue
hash
feeValueDecimal
inputValueDecimal
outputValueDecimal
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"address": "bc1qgu0ljshvz2uv3muh2cm4dw5qxqkye0har0e2he",
"network": "bitcoin",
"from": "2022-04-22",
"till": "2022-04-29T23:59:59",
"dateFormat": "%Y-%m-%d"
}
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