Skip to content

Commit

Permalink
Add preflight checks to sendTransaction RPC method
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jun 2, 2020
1 parent c714afb commit 37e2c9a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/apps/jsonrpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1065,11 +1065,20 @@ curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "m
### sendTransaction
Creates new transaction
Submits a signed transaction to the cluster for processing.
Before submitting, the following preflight checks are performed:
1. The transaction signatures are verified
2. The transaction is simulated against the latest max confirmed bank
and on failure an error will be returned. Preflight checks may be disabled if
desired.
#### Parameters:
* `<string>` - fully-signed Transaction, as base-58 encoded string
* `<object>` - (optional) Configuration object containing the following field:
* `skipPreflight: <bool>` - if true, skip the preflight transaction checks (default: false)
#### Results:
Expand Down

0 comments on commit 37e2c9a

Please sign in to comment.