When I run the following coinpath query to find a transaction between two bitcoin addresses I get the amount back from the API 20.015336124375
, which is from a single txHash of 4b56824b351880033d27d7575a4d1ef8afb6086489b58772445a663f62ccbf18
. If I look up this transaction on blockchain.info, and find the destination address, I see the USD value is 25.86
.
How is bitquery calculating this value? I’m wondering why its different because I need this value to be as accurate as possible.
Here’s the query:
{
bitcoin(network: bitcoin) {
outboundTransactions: coinpath(
initialAddress: {is: "bc1qlp98thyws2t7am7r292d8yy0j7v7lymf2m93ry"}
receiver: {is: "1DfUUm4zUv7yWt7rWzZuweNvSPogTsGcjx"}
depth: {lteq: 1}
options: {direction: outbound}
initialDate: {between: ["2010-01-01T00:00:00Z", "2023-12-31T23:59:59Z"]}
) {
sender {
address
}
receiver {
address
}
amount(in: USD)
currency {
name
symbol
}
transactions {
amount
height
timestamp
txHash
txValue
}
}
}
}