POSTsimulate
https://xrpl-mainnet.nodit.io/Previews the results and metadata of a transaction without committing it to the ledger. It works for every transaction type and is used as a pre-flight check before submitting.
The transaction to simulate. It must be unsigned.
If Fee, Sequence, SigningPubKey or NetworkID are omitted, the server fills them in automatically.
The transaction to simulate, hex-encoded. It must be unsigned.
Whether to return the transaction and its metadata as hex strings.
The simulated transaction with the values the server filled in. Returned when binary is false.
The simulated transaction, hex-encoded. Returned when binary is true.
The ledger index the transaction would have been included in.
The metadata describing the simulation results. Returned when binary is false.
The metadata, hex-encoded. Returned when binary is true.
The result code of the transaction. (e.g.) tesSUCCESS
The numeric value corresponding to the result code.
A human-readable explanation of the result.
Whether the transaction was applied to the ledger. Because this is a simulation, nothing is actually committed.