mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-25 14:15:50 +00:00
Minor corrections
This commit is contained in:
@@ -107,9 +107,10 @@ If you forget to save the sequence number, you can find it in the escrow transac
|
|||||||
2. Click **Get Escrows** to get the escrow information.
|
2. Click **Get Escrows** to get the escrow information.
|
||||||
3. Copy the _PreviousTxnID_ value from the results.
|
3. Copy the _PreviousTxnID_ value from the results.
|
||||||

|

|
||||||
4. Paste the _PreviousTxnID_ in the **Tranaction to Look Up** field.
|
4. Paste the _PreviousTxnID_ in the **Transaction to Look Up** field.
|
||||||

|

|
||||||
5. Click **Get Transaction** and locate the _Sequence_ value in the results.
|
5. Click **Get Transaction**.
|
||||||
|
6. Locate the _Sequence_ value in the results.
|
||||||

|

|
||||||
|
|
||||||
# Code Walkthrough
|
# Code Walkthrough
|
||||||
@@ -421,27 +422,27 @@ Connect to the XRP Ledger.
|
|||||||
operationalResultField.value = results
|
operationalResultField.value = results
|
||||||
|
|
||||||
results= "\nGetting transaction information...\n"
|
results= "\nGetting transaction information...\n"
|
||||||
```
|
```
|
||||||
|
|
||||||
Prepare and send the transaction information request. The only required parameter is the transaction ID.
|
Prepare and send the transaction information request. The only required parameter is the transaction ID.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const tx_info = await client.request({
|
const tx_info = await client.request({
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"command": "tx",
|
"command": "tx",
|
||||||
"transaction": operationalTransactionField.value,
|
"transaction": operationalTransactionField.value,
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
Report the results.
|
Report the results.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
results += JSON.stringify(tx_info.result, null, 2)
|
results += JSON.stringify(tx_info.result, null, 2)
|
||||||
operationalResultField.value = results
|
operationalResultField.value = results
|
||||||
```
|
```
|
||||||
|
|
||||||
Disconnect from the XRP Ledger instance.
|
Disconnect from the XRP Ledger instance.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
client.disconnect()
|
client.disconnect()
|
||||||
} // End of getTransaction()
|
} // End of getTransaction()
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user