Interface SubmitRequest

The submit method applies a transaction and sends it to the network to be confirmed and included in future ledgers. Expects a response in the form of a SubmitResponse.



api_version?: number

The API version to use. If omitted, use version 1.

command: "submit"

The name of the API method.

fail_hard?: boolean

If true, and the transaction fails locally, do not retry or relay the transaction to other servers. The default is false.

id?: string | number

A unique value to identify this request. The response to this request uses the same id field. This way, even if responses arrive out of order, you know which request prompted which response.

tx_blob: string

The complete transaction in hex string format.

Generated using TypeDoc