Update the transform logic for app call transaction to assign 0 to the application-id field when transaction.appIndex is falsy. This is because for an app create transaction, the value of transaction.appIndex is undefined, causing 'application-id' to be undefined too. Indexer requires application-id to be 0 for app create transactions.
Proposed Changes
application-id
field whentransaction.appIndex
is falsy. This is because for an app create transaction, the value oftransaction.appIndex
isundefined
, causing 'application-id' to beundefined
too. Indexer requiresapplication-id
to be 0 for app create transactions.