mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 04:35:49 +00:00
Fix simulate JSON RPC example
This commit is contained in:
@@ -42,19 +42,21 @@ An example of the request format:
|
|||||||
{% tab label="JSON-RPC" %}
|
{% tab label="JSON-RPC" %}
|
||||||
```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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user