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
query {
transaction(id:"0xb3db00fb8261984407c7b308e926d4a928fa401eaf1c89c848a1733333128181") {
status {
__typename
... on SuccessStatus {
receipts {
__typename
assetId
amount
}
}
}
}
this contract call had no assets sent to it, therefore the assetId is returned as 0x0000....
Suggestion
Return assetId: null in this situation. I think it represents better that call didn't have an asset
Also as the baseAssetId of a network can be 0x0000... too, leads to confusion like "it represents the asset or null?"
The text was updated successfully, but these errors were encountered:
Context
if you execute this query
this contract call had no assets sent to it, therefore the
assetId
is returned as0x0000....
Suggestion
Return
assetId: null
in this situation. I think it represents better that call didn't have an assetAlso as the
baseAssetId
of a network can be0x0000...
too, leads to confusion like "it represents the asset or null?"The text was updated successfully, but these errors were encountered: