I am currently retrieving transaction information using the getTransactions method with the commitment levels 'finalized' or 'confirmed'. However, I need to access transaction information with a 'processed' commitment level. I understand that this is not possible with the getTransactions method. Is there an alternative way to achieve this?
The reason for this requirement is that when I subscribe to logsSubscribe via WebSocket with a 'processed' commitment, I receive the transaction ID. But when I query this transaction ID using getTransactions, I often get the following response:
{
"jsonrpc": "2.0",
"error": {
"code": -32602,
"message": "Method does not support commitment below 'confirmed'"
},
"id": 1
}
This is presumably because the transaction status is not yet confirmed or finalized.
Any guidance or alternative solutions would be greatly appreciated.
Thank you.