Trades of a Spot Market
MarketId of the market's orderbook we want to fetch
0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb
Pattern: ^0x[0-9a-fA-F]{64}$
MarketIds of the markets of which we want to get trades
["0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce","0x1f73e21972972c69c03fb105a5864592ac2b47996ffea3c500d1ea2d20138717"]
Filter by execution side of the trade
maker
Available options: Filter by direction the trade
buy
Available options: Skip will skip the first n item from the item result
0
Limit is used to specify the maximum number of items to be returned.
100
The starting timestamp in UNIX milliseconds that the trades must be equal or older than
1645579770
The ending timestamp in UNIX milliseconds that the trades must be equal or younger than
1645579787
SubaccountId of the trader we want to get the trades from
0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002
Pattern: ^0x[0-9a-fA-F]{64}$
Subaccount ids of traders we want to get trades
["0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000001","0x80f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000000"]
Filter by execution type of trades
["market","market","market"]
Filter by the tradeId of the trade
502733_0_0
Account address
inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r
Pattern: ^inj1[0-9a-zA-Z]{38}$
Client order ID
my_custom_cid
{"paging":{"countBySubaccount":3144167030999342600,"from":1916499695,"next":["Ea rerum.","Aut dolorem cum voluptas quae.","Voluptas repellendus qui ipsam est."],"to":391437627,"total":7364854934794692000},"trades":[{"cid":"custom_cid","executedAt":1544614248000,"executionSide":"Enim voluptatem temporibus eveniet fuga voluptatibus.","fee":"1960000000000000","feeRecipient":"inj15gnk95hvqrsr343ecqjuv7yf2af9rkdqeax52d","marketId":"0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb","orderHash":"0x482ce078117d4835fe005b643056d2d3f439e3010db40f68449d9e5b77e911bc","price":{"price":"1960000000000000000","quantity":"40","timestamp":1544614248000},"subaccountId":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","tradeDirection":"buy","tradeExecutionType":"market","tradeId":"Quidem aut officia ad soluta eveniet saepe."},{"cid":"custom_cid","executedAt":1544614248000,"executionSide":"Enim voluptatem temporibus eveniet fuga voluptatibus.","fee":"1960000000000000","feeRecipient":"inj15gnk95hvqrsr343ecqjuv7yf2af9rkdqeax52d","marketId":"0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb","orderHash":"0x482ce078117d4835fe005b643056d2d3f439e3010db40f68449d9e5b77e911bc","price":{"price":"1960000000000000000","quantity":"40","timestamp":1544614248000},"subaccountId":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","tradeDirection":"buy","tradeExecutionType":"market","tradeId":"Quidem aut officia ad soluta eveniet saepe."},{"cid":"custom_cid","executedAt":1544614248000,"executionSide":"Enim voluptatem temporibus eveniet fuga voluptatibus.","fee":"1960000000000000","feeRecipient":"inj15gnk95hvqrsr343ecqjuv7yf2af9rkdqeax52d","marketId":"0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb","orderHash":"0x482ce078117d4835fe005b643056d2d3f439e3010db40f68449d9e5b77e911bc","price":{"price":"1960000000000000000","quantity":"40","timestamp":1544614248000},"subaccountId":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","tradeDirection":"buy","tradeExecutionType":"market","tradeId":"Quidem aut officia ad soluta eveniet saepe."}]}