We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide a way to subscribe to new and changed token balances.
Depends on dojo#2819
Add a function to the SDK package that subscribes to Torii token balances.
Fetching all tokens periodically to apply changes, which is expensive.
This is how we fetch tokens. The subscription should return the same data:
https://github.com/dojoengine/dojo.js/blob/main/packages/sdk/src/index.ts#L192-L200
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Request
Provide a way to subscribe to new and changed token balances.
Depends on dojo#2819
Proposed Solution
Add a function to the SDK package that subscribes to Torii token balances.
Alternatives
Fetching all tokens periodically to apply changes, which is expensive.
Related Code
This is how we fetch tokens. The subscription should return the same data:
https://github.com/dojoengine/dojo.js/blob/main/packages/sdk/src/index.ts#L192-L200
Additional context
No response
If the feature is accepted, would you be willing to contribute it?
The text was updated successfully, but these errors were encountered: