Closed zhiqiangxu closed 4 weeks ago
@rach-id
Hello @zhiqiangxu 👋 To prove the PFB transaction shares: https://docs.celestia.org/developers/blobstream-proof-queries#transaction-inclusion-proof-using-the-transaction-hash To prove the PFB blob shares: https://docs.celestia.org/developers/blobstream-proof-queries#blob-inclusion-proof-using-the-corresponding-pfb-transaction-hash To prove a specific range: https://docs.celestia.org/developers/blobstream-proof-queries#specific-share-range-inclusion-proof
Currently, querying the proofs is done using an RPC endpoint and not a Celestia node. However, we will be working on supporting that in node in the upcoming months.
Hey @rach-id @ramin
Thanks a lot for the detailed answer, now I see how to query for proofs by a PFB transaction hash:)
What about the finality of celestia, after submitting a tx to celestia, how long can one consider it finalized? (So that resubmitting can be scheduled if reorg happens.)
After the transaction is included in a block, it's considered final. There are no reorgs in Celestia.
Implementation ideas
Here is the example to use blobstream, which is pretty nice.
But as can be seen, the
SharePointer
is hardcoded.How should one compute
SharePointer
after submitting a tx(containing blobs in my case) on celestia?