BTC trans new
Returns inputs and outputs on Bitcoin, where input address is bc1q0u…2nsh and output address is bc1q0u…2nsh: transaction hash, input address address, value, date date and output address address.
What it returns
- transaction hash
- input address address
- value
- date date
- output address address
Filters
- input address is bc1q0u…2nsh
- output address is bc1q0u…2nsh
The query
query ($network: BitcoinNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
inputs(inputAddress: {is: $address}, date: {since: $from, till: $till}) {
transaction {
hash
}
inputAddress {
address
}
value
date {
date
}
}
outputs(outputAddress: {is: $address}, date: {since: $from, till: $till}) {
outputAddress {
address
}
transaction {
hash
}
value
date {
date(format: "")
}
}
}
}
Variables
{
"inboundDepth": 1,
"outboundDepth": 1,
"limit": 10,
"offset": 0,
"address": "bc1q0uvn8pg7n3zh7kgxn274757f0h0pfpac8j2nsh",
"network": "bitcoin",
"from": null,
"till": null,
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Bitcoin balance using input outputs · Bitcoin · inputs
- bitcoin balance api · Bitcoin · inputs
- Details of Bitcoin Transaction · Bitcoin · Transactions
- Bitcoin — Balance of an address at a past date · Bitcoin · outputs
- 13_TxDetails_a6793e35 · Bitcoin · inputs