getTxnProps Method @beta

Retrieves the txn properties for a given txn ID.

getTxnProps(id: string): TxnProps | undefined

@returns The properties of the transaction if found; otherwise, undefined.

Parameter Type Description
id string The unique identifier of the transaction.

Returns - TxnProps | undefined

The properties of the transaction if found; otherwise, undefined.

Defined in

Last Updated: 09 November, 2026