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

Claimable Balance and Asset Summary Changes #167

Open
3 tasks
paulbellamy opened this issue Jun 2, 2021 · 0 comments · May be fixed by #233
Open
3 tasks

Claimable Balance and Asset Summary Changes #167

paulbellamy opened this issue Jun 2, 2021 · 0 comments · May be fixed by #233

Comments

@paulbellamy
Copy link

The following changes to claimable balances, and assets endpoints were recently released in Horizon 2.2.0:

  • The Asset object now includes the following new fields, with examples:
      ...
       "accounts": {
          "authorized": 23,
          "authorized_to_maintain_liabilities": 11,
          "unauthorized": 6
        },
        "num_claimable_balances": 3,
        "balances": {
          "authorized": "997268.0000000",
          "authorized_to_maintain_liabilities": "498634.0000000",
          "unauthorized": "249317.0000000"
        },
        "claimable_balances_amount": "124658.5000000",
        ...
  • There is a new endpoint at /claimable_balances/{id}/operations{?cursor,limit,order}, to fetch operations for a given claimable balance.
  • There is a new endpoint at /claimable_balances/{id}/transactions{?cursor,limit,order}, to fetch transactions for a given claimable balance.

Each SDK must update to support the first item in the list, so that the amount, and num_accounts fields can be deprecated in Horizon v3.
Each SDK should update to support querying operations and transactions for a given Claimable Balance ID.

The SDF's JavaScript SDK released v8.2.0 recently including these changes.

If your SDK has implemented and released these changes, reference the release in a closing comment.

@charlie-wasp charlie-wasp self-assigned this Oct 31, 2021
@charlie-wasp charlie-wasp added this to To do in Default via automation Oct 31, 2021
@charlie-wasp charlie-wasp moved this from To do to In progress in Default Oct 31, 2021
@charlie-wasp charlie-wasp linked a pull request Nov 29, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Default
In progress
Development

Successfully merging a pull request may close this issue.

3 participants
@paulbellamy @charlie-wasp and others