We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
received the error: "detailedTx.GetParsedTransaction data is not in JSONParsed encoding" Code:
var maxUint uint64 = 0 blockInfo, err := e.RpcClient.GetBlockWithOpts(context.Background(), fromBlock, &rpc.GetBlockOpts{ MaxSupportedTransactionVersion: &maxUint, }) for _, tx := range blockInfo.Transactions { txParsed, err := tx.GetParsedTransaction() if err != nil { fmt.Println("detailedTx.GetParsedTransaction", err) continue } }
The text was updated successfully, but these errors were encountered:
@elvis-hp This functionality is not fully implemented. BTW, you can log an error instead of ignoring it, maybe it'll help you
blockInfo, err := e.RpcClient.GetBlockWithOpts(context.Background(), fromBlock, &rpc.GetBlockOpts{ MaxSupportedTransactionVersion: &maxUint, }) +if err != nil { + log.Fatal(err) +}
I'll have a couple of free hours this weekend, so I'll try to extend this functionality and add more options for parsing transactions with meta
Sorry, something went wrong.
yep, the jsonParsed format is not implemented.
jsonParsed
No branches or pull requests
received the error: "detailedTx.GetParsedTransaction data is not in JSONParsed encoding"
Code:
The text was updated successfully, but these errors were encountered: