I'm looking at the XDR definition for
transaction and I can't find if there's any info on when a transaction was created.
How do I look up date information for a transaction? I want to get some perspective on time from the Postgres database
Stellar Stack Exchange is a question and answer site for developers and users of Stellar and the Stellar Distributed Exchange. It only takes a minute to sign up.Sign up to join this community
The transaction can optionally contain timebounds, placing a lower and upper bound on when it may be executed. However, if you want to know whether and exactly when the transaction was executed, you need to query the blockchain history, e.g., by querying horizon for the txID. Here's the appropriate documentation for the transaction endpoint: