getAssetExchangeRecords method
Get asset exchange records. https://bybit-exchange.github.io/docs/inverse/#t-assetexchangerecords
Implementation
Future<Map<String, dynamic>?> getAssetExchangeRecords(
{String? direction, int? from, int? limit}) async {
log.d('ByBitRest.getAssetExchangeRecords');
var parameters = <String, dynamic>{};
if (from != null) parameters['from'] = from;
if (direction != null) parameters['direction'] = direction;
if (limit != null) parameters['limit'] = limit;
return await request(
path: '/v2/private/exchange-order/list',
type: 'GET',
parameters: parameters,
withAuthentication: true);
}