Fix simulate JSON RPC example

This commit is contained in:
Maria Shodunke
2025-06-30 19:07:51 +01:00
committed by GitHub
parent 71fe97fa3d
commit 2df53e2f22

View File

@@ -43,18 +43,20 @@ An example of the request format:
```json ```json
{ {
"method": "simulate", "method": "simulate",
"params": { "params": [
"tx_json" : { {
"TransactionType" : "Payment", "tx_json": {
"Account" : "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "TransactionType": "Payment",
"Destination" : "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", "Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
"Amount" : { "Destination": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
"currency" : "USD", "Amount": {
"value" : "1", "currency": "USD",
"issuer" : "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn" "value": "1",
"issuer": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn"
} }
} }
} }
]
} }
``` ```
{% /tab %} {% /tab %}