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. |
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:
const txInfo = await Sdk.getTransaction(txHash);
Returns: <XrplTransaction>