curl --request POST \
--url https://prv.gateway.indexer.biya.io/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory \
--header 'Content-Type: application/json' \
--data '
{
"subaccount_id": "<string>",
"market_id": "<string>",
"skip": 123,
"limit": 123,
"order_types": [
{}
],
"direction": "<string>",
"start_time": 123,
"end_time": 123,
"state": "<string>",
"execution_types": [
{}
],
"market_ids": [
{}
],
"trade_id": "<string>",
"active_markets_only": true,
"cid": "<string>"
}
'