Skip to content

Retrieving address txs by date range seems a little inaccurate #112

@myrho

Description

@myrho

Example request:

curl 'https://api.ikna.io/btc/addresses/123411Z4oo5q5SjVhjBoR9dCtqad9qfcAJ/txs?min_date=2017-06-08T22:00:00.000Z&max_date=2017-06-09T21:59:59.000Z&pagesize=10' \
  -H 'Authorization: XXX' | jq '.address_txs.[].timestamp |= todateiso8601 | .address_txs.[] | .timestamp'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2389  100  2389    0     0   4514      0 --:--:-- --:--:-- --:--:--  4516
"2017-06-08T23:33:36Z"
"2017-06-08T23:21:32Z"
"2017-06-08T22:16:01Z"
"2017-06-08T22:16:01Z"
"2017-06-08T22:04:48Z"
"2017-06-08T22:04:48Z"
"2017-06-08T22:04:48Z"
"2017-06-08T21:52:40Z"

The last tx in the result set is before the given minDate "2017-06-08T22:00:00.000Z"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions