about simple-earn/flexible/history/rewardsRecord

I have a question regarding the method GET /sapi/v1/simple-earn/flexible/history/rewardsRecord,
calling it I get the following data:

{“total”:493,“rows”:[{“asset”:“BTC”,“rewards”:“0.00000011”,“productId”:“BTC”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“USDT”,“rewards”:“0.0453943”,“productId”:“USDT”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“ZIL”,“rewards”:“0.00408167”,“productId”:“ZIL”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“VTHO”,“rewards”:“0.0102545”,“productId”:“VTHO”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“SXP”,“rewards”:“0.01034392”,“productId”:“SXP”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“ICP”,“rewards”:“0.00000355”,“productId”:“ICP”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“CHZ”,“rewards”:“0.00640047”,“productId”:“CHZ”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“XLM”,“rewards”:“0.00092307”,“productId”:“XLM”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“LUNA”,“rewards”:“0.00008092”,“productId”:“LUNA”,“type”:“REALTIME”,“time”:1698278400000},{“asset”:“LEVER”,“rewards”:“0.03993179”,“productId”:“LEVER”,“type”:“REALTIME”,“time”:1698278400000}]}

total:493

the records returned are only 10

Do you know what this problem could depend on?

thanks to everyone who can help me

I would suggest to contact with Customer support for this, it seems related to your account. They could help to review it.

Thanks

I have the same issue, always returning not more than 10 records (it could be less, but not more).
Did you find the solution?

Yes, I have resolved it, as initially the documentation was not updated.

To solve the issue of the 10 records, first you need to use the input parameter “size”, which by default returns 10 records if not set, as per the specification:

size LONG NO default 10,max 100

The issue I had, however, was regarding pagination. That is, if you have more than 100 records, you will also need to use the “current” parameter to navigate to the subsequent records, and you obtain it as per the specification:

current LONG NO current page 1,default 1

Regards

1 Like

Thank you! So Binance just didn’t document the parameters :slightly_smiling_face: