Skip to content

Conversation

sinand
Copy link

@sinand sinand commented Apr 8, 2021

NFT balance check function added

NFT balance check function added
sponsorship: null,
isSmart: false,
})),
fetchAssetsAddressLimit(
Copy link
Contributor

Choose a reason for hiding this comment

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

Limit - required parameter

).then((data) =>
data.balances.map((item) => ({
assetId: item.assetId,
assetName: item.issueTransaction.name,
Copy link
Contributor

Choose a reason for hiding this comment

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

IssueTransaction field can be null

item.balance *
Math.pow(10, item.issueTransaction.decimals),
isSmart: !!item.issueTransaction.script,
sponsorship:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be error with big number. We use @waves/bignumber for that

@tsigel
Copy link
Contributor

tsigel commented Jan 13, 2022

Thank you for your interest. Does your project need NFTs, how do you assess the need for this functionality?

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.

2 participants