ripple / rippled-historical-database

SQL database as a canonical source of historical data
99 stars 68 forks source link

The 'account/orders' response should include the creation datetime of each returned object #119

Closed gmosx closed 6 years ago

gmosx commented 7 years ago

Currently the returned orders don't include the creation time.

I am wondering, is there a way to get the order creation time with the current API? E.g. is it possible to figure out the corresponding transaction? (maybe from the sequence number?)

shekenahglory commented 7 years ago

yes, you'll have to do a second query to get the initial transaction that created the order: https://data.ripple.com/v2/accounts/{:account}/transactions/{:sequence}