This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
RPC API getSignaturesForAddress sends undocumented field "confirmationStatus" #27569
Labels
community
Community contribution
Problem
getSignaturesForAddress RPC API responds with undocumented
confirmationStatus
, for example, given an RPC request:the response:
The field
confirmationStatus
is not documented in the RPC response although it is very useful. I've encountered this problem during development of an on-chain game http://solana-place.com/ where I need to show changes history. Without that field I would need to make additional getSignatureStatus calls to get the finality of transactions.I'm wondering whether I can rely on its presence in RPC responses. Unfortunately, that field is not present in the
solana-web3
's ConfirmedSignatureInfo so I need to do an unchecked cast likeProposed Solution
Document the
confirmationStatus
field if it is a de-facto part of the RPC response.The text was updated successfully, but these errors were encountered: