-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Content migration] - Asset Transfer API #57
Conversation
|
||
const assetsApi = new AssetTransferApi(api, specName, safeXcmVersion); | ||
|
||
// Your code using assetsApi goes here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some snippets use assetsApi
and other assetApi
, stick to one way
Also, I find kind of weird this comment:
// Your code using assetsApi goes here
But is nitpicking at the end of the day, if you find a better way to express it cool, if not no worries :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It meant the variable called assetsApi
that has already been initialized in line 11. Do you think it looks better if we put assetTransferApi
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I get that. My point here was that in some snippets, you initialized the variable in a plural form, and in others, you used assetApi in a singular
develop/application-devs/tooling/asset-transfer-api/overview.md
Outdated
Show resolved
Hide resolved
develop/application-devs/tooling/asset-transfer-api/reference.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
This PR incorporates content from the polkadot-ecosystem-docs-draft repository.
Migrated content: