Skip to content

omni_gettradehistoryforaddress : Add blocktime for each match in matches array of JSON response  #1264

@msgilligan

Description

@msgilligan

When trying to build a list of all DEX matching transactions for an Omni Core wallet, the omni_gettradehistoryforaddress method is very useful. However, in order to get a timestamp for each matching transaction an additional call for each match must be made to get the transaction (block) time.

Adding a blocktime property to each object in the matches array would eliminate the need for these extra calls. (The blocktime property in the root object is the blocktime for the sell offer, but we also need the time for each matching transaction.)

It might also make sense to add a blocktime property to each match in the response to omni_gettradehistoryforpair.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions