-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new RPC methods (getPeers, getAccountHistory, getAccountAssets)
- Loading branch information
1 parent
03773fb
commit 0c7f5e3
Showing
35 changed files
with
2,523 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
lib/src/data_transfer_objects/get_account_assets/get_account_assets_params.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ignore_for_file: public_member_api_docs, invalid_annotation_target | ||
|
||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
part 'get_account_assets_params.freezed.dart'; | ||
|
||
part 'get_account_assets_params.g.dart'; | ||
|
||
@freezed | ||
class GetAccountAssetsParams with _$GetAccountAssetsParams { | ||
const factory GetAccountAssetsParams({ | ||
@JsonKey(name: 'address') required String address, | ||
}) = _GetAccountAssetsParams; | ||
|
||
factory GetAccountAssetsParams.fromJson(Map<String, dynamic> json) => | ||
_$GetAccountAssetsParamsFromJson(json); | ||
} |
Oops, something went wrong.