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
The /transaction-info endpoint doesn't seem to return all available transaction data on certain transaction kinds (notably CREATOR_COIN, perhaps others).
For example, consider one UTXO as given by /balance for Nader's pubkey (BC1YLhyuDGeWVgHmh3UQEoKstda525T1LnonYWURBdpgWbFBfRuntP5) :
This is a CREATOR_COIN transaction, which (as far as my understanding goes) means someone has bought Nader's CC. Due to the FR%, Nader receives a DeSo credit which produces an UTXO bound to this transaction at Index=1, but such output is not even listed as a TXO in the transaction info dump.
In this particular case I have verified that manually calculating a pubkey's balance (UTXOs - STXOs) differs exactly by the amount of nanos from UtxoType=Unknowns missing in the transaction-info output. Adding all such UTXOs allow us to calculate the correct balance.
This seems to be a core bug or missing feature in the /transaction-info backend or perhaps in the core lib.
The text was updated successfully, but these errors were encountered:
we no longer include the UtxoOps in the BasicTransferTxindexMetadata. I'd be open to a PR to optionally include these in a response. Would require modifying APITransactionToResponse in exchange.go. Would need to make sure the UtxoOps are JSON encodable - I believe there is an issue with the PrevCoinRoyaltyCoinEntries attribute of the UtxoOperation struct. Would need someway to encode that properly or exclude it.
Hello there,
The
/transaction-info
endpoint doesn't seem to return all available transaction data on certain transaction kinds (notablyCREATOR_COIN
, perhaps others).For example, consider one UTXO as given by
/balance
for Nader's pubkey (BC1YLhyuDGeWVgHmh3UQEoKstda525T1LnonYWURBdpgWbFBfRuntP5
) :(Note
UtxoType=Unknown
.)Now consider the above transaction's data as given by
/transaction-info
:This is a
CREATOR_COIN
transaction, which (as far as my understanding goes) means someone has bought Nader's CC. Due to the FR%, Nader receives a DeSo credit which produces an UTXO bound to this transaction at Index=1, but such output is not even listed as a TXO in the transaction info dump.In this particular case I have verified that manually calculating a pubkey's balance (UTXOs - STXOs) differs exactly by the amount of nanos from
UtxoType=Unknowns
missing in thetransaction-info
output. Adding all such UTXOs allow us to calculate the correct balance.This seems to be a core bug or missing feature in the
/transaction-info
backend or perhaps in the core lib.The text was updated successfully, but these errors were encountered: