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

add xls-33d-mpts #71

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open

add xls-33d-mpts #71

wants to merge 59 commits into from

Conversation

DennisDawson
Copy link
Contributor

Multi-purpose Tokens documentation.

Updates based on final updates to standard XLS-0033d
Updates based on revisions to the XLS-0033d standard.
Fix table typos
minor fixes to sidebar
nope, escape char didn't work
Update clawback transaction with new MPTokenHolder field.
Add clawback reference page.
Add Clawback reference.
Add MPT fields.
fix copy/paste error and internal links
Add Ledger Entry page.
Add ledger-entry.md
Move ledger_entry under Requests
Remove stray dash.
Copy link

@shawnxie999 shawnxie999 left a comment

Choose a reason for hiding this comment

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

First set of comments after a scan....more incoming

Choose a reason for hiding this comment

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

actually there is no more account_mpts api

If one wishes to find the mptissuance or mptoken that an account owns, they can just use account_objects. Though one small addition is that if the object type is MPTokenIssuance, then there is a synthetic mpt_issuance_id field.

see here https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0033d-multi-purpose-tokens#632-object

Changes per review by shawnxie999
Change the OutstandingAmount in the sample JSON to "3e8" to make it clear this is a hexadecimal string rather than a decimal value.
Add a section to cover the caveat regarding decimal versus hexadecimal values in MPT fields.
Fixing a mistake from a prior edit.
Copy link

Choose a reason for hiding this comment

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

There no such API called mpts_by_issuer or account_mpts. The only API introduced in this feature is mpt_holders, which is clio-only API. The spec has been updated, and there has been some additions to the details.

Edit: ledger_entry has been updated and some synthetic fields in some APIs as well

mpts_by_issuer is no longer part of the spec.
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.

None yet

2 participants