getSnapshotsByAssetId method

Future<MixinResponse<List<SafeSnapshot>>> getSnapshotsByAssetId(
  1. String id, {
  2. String? offset,
  3. int limit = 30,
})

Implementation

Future<MixinResponse<List<SafeSnapshot>>> getSnapshotsByAssetId(
  String id, {
  String? offset,
  int limit = 30,
}) =>
    MixinResponse.requestList<SafeSnapshot>(
      dio.get('/safe/snapshots', queryParameters: <String, dynamic>{
        'asset': id,
        'offset': offset,
        'limit': limit,
      }),
      SafeSnapshot.fromJson,
    );