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

TransferTransaction: Expose tokenTransfers Property #2615

Closed
ivaylogarnev-limechain opened this issue Oct 29, 2024 · 0 comments · Fixed by #2616
Closed

TransferTransaction: Expose tokenTransfers Property #2615

ivaylogarnev-limechain opened this issue Oct 29, 2024 · 0 comments · Fixed by #2616
Assignees
Labels
enhancement New feature or request

Comments

@ivaylogarnev-limechain
Copy link
Contributor

Problem

The absence of the _tokenTransfers property, which was available in version v2.50.0 but is missing in v2.51.0, is preventing certain integrations from implementing token claim transactions effectively. This gap is particularly problematic as TokenAirdropTransaction was introduced in v2.51.0, but without _tokenTransfers, it's challenging to complete the token claim functionality in applications that rely on it.

Solution

Expose the tokenTransfers property in the TransferTransaction class. This could be achieved by:

  • Adding a getter method for tokenTransfers in TransferTransaction.
  • Updating the schema to include tokenTransfers as a directly accessible property.
  • Documenting this enhancement to help developers understand how to use the new property.

Alternatives

To use a lower version v2.50.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant