Ability to read the transaction logs
Hello @jmrossy, Thanks for this wrapper. While using the wrapper I came across an issue: I'm unable to access the transaction logs. In my case, an NFT is minted using this wrapper in our infra and there is no way to get the tokenID since that can be obtained from transaction logs. Typically while using WAGMI and after the mint function in the transaction log I can find the tokenID something like this
txData.logs[0].topics[3]
tokenContract: txData.to,
tokenID: parseInt(txData.logs[0].topics[3] as string, 16).toString(),
tokenMintingTx: txData.transactionHash,
nftOwner: txData.from,
Is it possible to get the same outcome from the wrapper? if so how? Thank you.
@Ekaanth This wrapper doesn't change logs in any way. If logs are not being included, it's likely because the RPC provider you're using has chosen not to include them. See CeloProvider for details about what this wrapper does exactly.