Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

/accounts/<acc>/trades output missing details #434

Open
chatch opened this issue Feb 28, 2018 · 0 comments
Open

/accounts/<acc>/trades output missing details #434

chatch opened this issue Feb 28, 2018 · 0 comments

Comments

@chatch
Copy link
Contributor

chatch commented Feb 28, 2018

For example records returned for https://horizon.stellar.org/accounts/GBU6GMZZ2KTQ33CHNVPAWWEJ22ZHLYGBGO3LIBKNANXUMNEOFROZKO62/trades?order=desc contain only the buyer and seller:

{
        "id": "71006795929231365-1",
        "paging_token": "71006795929231365-1",
        "offer_id": "",
        "seller": "GB5EKR4N4AXVNJXQTZ7BIDW2WPQTSC23AN4Y3CWOHYKEJTQAX5BCFRFZ",
        "sold_amount": "",
        "sold_asset_type": "",
        "buyer": "GBU6GMZZ2KTQ33CHNVPAWWEJ22ZHLYGBGO3LIBKNANXUMNEOFROZKO62",
        "bought_amount": "",
        "bought_asset_type": "",
        "created_at": "2018-02-28T04:58:07Z"
}

but for top level https://horizon.stellar.org/trades the records look like this:

{
        "id": "71009974205026305-2",
        "paging_token": "71009974205026305-2",
        "ledger_close_time": "2018-02-28T05:48:59Z",
        "offer_id": "832054",
        "base_account": "GCYDMCEQ2YHXYMFQG7M3TCYPMVRWYKUXG2P53NRVQK7CVATCNGVNNOY5",
        "base_amount": "5070.6072648",
        "base_asset_type": "native",
        "counter_account": "GANH7BESAXURVQLCXD4SGPZ7H6DIGBYQ744KG323AQ5CM4HQQGYSDDAR",
        "counter_amount": "11268.0161440",
        "counter_asset_type": "credit_alphanum4",
        "counter_asset_code": "MOBI",
        "counter_asset_issuer": "GA6HCMBLTZS5VYYBCATRBRZ3BZJMAFUDKYYF6AH6MVCMGWMRDNSWJPIH",
        "base_is_seller": true
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant