Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 894 Bytes

File metadata and controls

19 lines (14 loc) · 894 Bytes
description
Fetch an XRPL transaction & metadata. Please don't use this method unless absolutely necessary: please set up your own connection to an XRPL node to fetch this information.

getTransaction( … )

The getTransaction method allows you to get the transaction outcome (mainnet) live from the XRP ledger, as fetched for you by the XUMM backend.

Note: it's best to retrieve these results yourself instead of relying on the XUMM platform to get live XRPL transaction information! You can use the xrpl-txdata package to do this:
npm version

const txInfo = await Sdk.getTransaction(txHash);

Returns: <XrplTransaction>