Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/utils/chronik.js
Show First 20 Lines • Show All 736 Lines • ▼ Show 20 Lines | if (isEtokenTx) { | ||||
xecAmount, | xecAmount, | ||||
originatingHash160, | originatingHash160, | ||||
isEtokenTx, | isEtokenTx, | ||||
etokenAmount, | etokenAmount, | ||||
isTokenBurn, | isTokenBurn, | ||||
slpMeta, | slpMeta, | ||||
genesisInfo, | genesisInfo, | ||||
legacy: { | legacy: { | ||||
amountSent: incoming ? 0 : xecAmount, | |||||
amountReceived: incoming ? xecAmount : 0, | |||||
outgoingTx: !incoming, | outgoingTx: !incoming, | ||||
tokenTx: true, | tokenTx: true, | ||||
airdropFlag, | airdropFlag, | ||||
airdropTokenId, | airdropTokenId, | ||||
opReturnMessage: '', | opReturnMessage: '', | ||||
isCashtabMessage, | isCashtabMessage, | ||||
isEncryptedMessage, | isEncryptedMessage, | ||||
decryptionSuccess, | decryptionSuccess, | ||||
replyAddress, | replyAddress, | ||||
}, | }, | ||||
}; | }; | ||||
} | } | ||||
// Otherwise do not include these fields | // Otherwise do not include these fields | ||||
return { | return { | ||||
incoming, | incoming, | ||||
xecAmount, | xecAmount, | ||||
originatingHash160, | originatingHash160, | ||||
isEtokenTx, | isEtokenTx, | ||||
legacy: { | legacy: { | ||||
amountSent: incoming ? 0 : xecAmount, | |||||
amountReceived: incoming ? xecAmount : 0, | |||||
outgoingTx: !incoming, | outgoingTx: !incoming, | ||||
tokenTx: false, | tokenTx: false, | ||||
airdropFlag, | airdropFlag, | ||||
airdropTokenId, | airdropTokenId, | ||||
opReturnMessage, | opReturnMessage, | ||||
isCashtabMessage, | isCashtabMessage, | ||||
isEncryptedMessage, | isEncryptedMessage, | ||||
decryptionSuccess, | decryptionSuccess, | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |