You can use Transaction.getUpdateTime() if you know a tx is confirmed (see its confidence to know that).
On 01/09/2018 11:27 PM, Manfred Karrer wrote: > What is the best way to access the date when the block containing a > transaction was mined? > > With: > <pre> > final StoredBlock storedBlock = vChain.getBlockStore().get(tx.getHash()); > </pre> > the storedBlock is null. > -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
