You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason we introduced type to TokenTransfer object which override token standard, so standard is now located in standard attribute in case of TokenTransfer.
However, in case of TokenInfo in account, token standard is in type attribute.
Please unify.
Find out what is better, if using type from blockbook API or standard.
Do not forget about migration.
Then we will be able to get rid of this:
exportconstisNftTokenTransfer=(transfer: TokenTransfer)=>['ERC1155','ERC721','BEP1155','BEP721'].includes(transfer.standard||'');// TODO: TokenInfo should use TokenStandard typeexportconstisNftToken=(token: TokenInfo)=>['ERC1155','ERC721','BEP1155','BEP721'].includes(token.type||'');
The text was updated successfully, but these errors were encountered:
For some reason we introduced
type
toTokenTransfer
object which override token standard, so standard is now located instandard
attribute in case ofTokenTransfer
.However, in case of
TokenInfo
in account, token standard is intype
attribute.Please unify.
Find out what is better, if using
type
from blockbook API orstandard
.Do not forget about migration.
Then we will be able to get rid of this:
The text was updated successfully, but these errors were encountered: