I want to get transactions at a specific time for an address. This is my code. I set the date but I don’t know why it gives me the wrong results. Any idea why is that happening?
The Query
{
cardano(network: cardano) {
transactions(
options: {desc: ["block.height", "index"]}
date: {since: "2021-12-04T08:32:36",till:"2021-12-04T08:35:36"}
outputAddress: {is: "addr1q90tmjhhx2h9xmtjh992arhkpf0nruq0v3e8876cqf48l8rsygs4lagv9upz3ptcj500s7m8rn6ex4a00fffe5c30jfq4cfdky"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
inputValue
outputCount
inputCount
index`Preformatted text`
hash
feeValue
}
}
}
Result
{
"cardano": {
"transactions": [
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:51"
},
"height": 6582376
},
"inputValue": 2118.726165,
"outputCount": 2,
"inputCount": 1,
"index": "0",
"hash": "c2239043f924eb02c02ae641fe32323fb338ab513b6a54d55aec0c72d1048fc1",
"feeValue": 0.168273
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 5.914397,
"outputCount": 2,
"inputCount": 2,
"index": "53",
"hash": "9ccc9f073174661a1c02604dbc5ac53a79d2e432652152f12930011509fc71bb",
"feeValue": 0.170781
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 145.002011,
"outputCount": 1,
"inputCount": 1,
"index": "52",
"hash": "bb5366169ac3e2f5c41a48a9136674c22d9ef424ae9f13eb43b75e17b89aa4d4",
"feeValue": 0.174257
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 87126.763004,
"outputCount": 2,
"inputCount": 1,
"index": "51",
"hash": "03efa24f87757334e4b4852c427c3ba10480eab1e4bf4e6f74350e5ab6ed8335",
"feeValue": 0.522869
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 7.315225,
"outputCount": 2,
"inputCount": 2,
"index": "50",
"hash": "0352f7b4c8e17226930c64a293872a89e3d8c602b4a31bf23ac5b7b76bfd2b1c",
"feeValue": 0.170605
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 194594.501623,
"outputCount": 2,
"inputCount": 1,
"index": "49",
"hash": "61dcdf4d5276e1ea5c36dc5e34f87c31b311b9477e3399c8f3476eae081f7e8c",
"feeValue": 0.306081
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 185.921734,
"outputCount": 2,
"inputCount": 1,
"index": "48",
"hash": "437c720c4056deddb22262f46ac9ae4103e4ef61121df99587eba58bc49b2730",
"feeValue": 0.167041
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 2764.817987,
"outputCount": 2,
"inputCount": 1,
"index": "47",
"hash": "f88019b91fefe9fd57054cf6c18b8fc8a8aa6ecd60095fc3056d92d5705d8e48",
"feeValue": 0.209941
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 11.330979,
"outputCount": 2,
"inputCount": 1,
"index": "46",
"hash": "fedf69d9956200d6f4e768bde8aa89801d4235683cda6c343c2fb1923dac01bf",
"feeValue": 0.169021
},
{
"block": {
"timestamp": {
"time": "2021-12-03 23:59:47"
},
"height": 6582375
},
"inputValue": 31.273524,
"outputCount": 2,
"inputCount": 1,
"index": "45",
"hash": "e94eb49f872a3669e8633303aa94152bc2863bc84f3dbb9089fab6d9f22dcc6f",
"feeValue": 0.168053
}
]
}
}