mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
add simulate method docs
This commit is contained in:
@@ -178,6 +178,21 @@
|
||||
{
|
||||
"group": "Transaction Methods",
|
||||
"methods": [
|
||||
{
|
||||
"name": "simulate",
|
||||
"description": "Executes a dry run of any transaction type, enabling you to preview the results and metadata of a transaction without committing them to the XRP Ledger.",
|
||||
"link": "/docs/references/http-websocket-apis/public-api-methods/transaction-methods/simulate",
|
||||
"body": {
|
||||
"id": "example_simulate",
|
||||
"command": "simulate",
|
||||
"tx_json" : {
|
||||
"TransactionType" : "Payment",
|
||||
"Account" : "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
|
||||
"Destination" : "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"Amount" : "1000000"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "submit",
|
||||
"description": "Submits a transaction to the network to be confirmed and included in future ledgers.",
|
||||
|
||||
Reference in New Issue
Block a user