Miner tx detail
Returns inputs and outputs on Bitcoin, where tx hash is fff6c7…3307, sorted by output index, highest first: input index, input address address, value, block height, iso8601, transaction hash, value decimal and 3 more fields.
What it returns
- input index
- input address address
- value
- block height
- iso8601
- transaction hash
- value decimal
- output index
- output address address
- output direction
Filters
- tx hash is fff6c7…3307
The query
query ($network: BitcoinNetwork!, $hash: [String!], $offset: Int!) {
bitcoin(network: $network) {
inputs(
txHash: {in: $hash}
options: {asc: "transaction.hash", offset: $offset, desc: "inputIndex"}
) {
inputIndex
address: inputAddress {
address
}
value(in: USD)
block {
height
timestamp {
iso8601
}
}
transaction {
hash
}
valueDecimal
}
outputs(
txHash: {in: $hash}
options: {asc: "transaction.hash", offset: $offset, desc: "outputIndex"}
) {
outputIndex
address: outputAddress {
address
}
block {
height
timestamp {
iso8601
}
}
outputDirection
transaction {
hash
}
value
}
}
}
Variables
{
"offset": 0,
"network": "bitcoin",
"hash": ["fff6c78c870192b0bbbfb24ff82bdb83e579301c94b878500fc5d94c15363307"]
}
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