Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual improvements #1

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

Manual improvements #1

wants to merge 16 commits into from

Conversation

raymens
Copy link
Member

@raymens raymens commented Apr 26, 2023

No description provided.

raymens added 2 commits April 26, 2023 22:01
Remove Account requirement from Transactions API.
Bump to dotnet 6.
Bump version.
@raymens raymens self-assigned this Apr 26, 2023
@@ -419,9 +419,6 @@ public System.Threading.Tasks.Task<Response4> TransactionsGetAsync(int? limit, s
/// <exception cref="ApiException">A server side error occurred.</exception>
public async System.Threading.Tasks.Task<Response4> TransactionsGetAsync(int? limit, string next, string note_prefix, TxType? tx_type, SigType? sig_type, string txid, ulong? round, ulong? min_round, ulong? max_round, int? asset_id, System.DateTimeOffset? before_time, System.DateTimeOffset? after_time, ulong? currency_greater_than, ulong? currency_less_than, string account_id, bool? rekey_to, System.Threading.CancellationToken cancellationToken)
{
if (account_id == null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this API is to fetch transactions not just for accounts

raymens and others added 12 commits May 8, 2023 10:20
Remove Creator from AssetHolding
Update AssetParams total to be BigInteger
- Removed unused namespaces (`System.Numerics`, `System.Threading`, `Algorand.V2.Algod.Model`) from `Transaction.cs` to clean up the codebase.
- Changed `assetTotal` type from `BigInteger?` to `ulong?` in `Transaction` constructor, `CreateAssetCreateTransaction` method, `AssetParams` constructor, and `Total` property in `Model.cs`. This standardizes asset total representation and optimizes memory usage.
- Ensured API consistency by applying the `assetTotal` type change across relevant methods and properties, facilitating easier use and understanding of the API.
- Improved JSON serialization compatibility for asset totals by using `ulong?`, simplifying data interchange with other systems and services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants