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

Allow assetId to select the asset on addAssetTreasuryAccount #648

Open
ohager opened this issue Aug 15, 2022 · 0 comments
Open

Allow assetId to select the asset on addAssetTreasuryAccount #648

ohager opened this issue Aug 15, 2022 · 0 comments
Labels
API Issues related to the Node's API enhancement New feature or request priority-medium

Comments

@ohager
Copy link
Member

ohager commented Aug 15, 2022

At this moment the transaction full hash is required to identify the token for addAssetTreasuryAccount. It turns out that another call is needed to discover the related transaction reference, although having the assetId already.

it even may happen that there's no transaction hash available when the issuer is a contract - which is ok, as contract tokens do not allow treasury accounts.

So, using assetId is more comfortable (and this operation could be chained then also)

@ohager ohager added enhancement New feature or request API Issues related to the Node's API labels Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issues related to the Node's API enhancement New feature or request priority-medium
Projects
None yet
Development

No branches or pull requests

2 participants