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

Update Signer.ts #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Signer.ts #52

wants to merge 1 commit into from

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