xrpl
    Preparing search index...

    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.

    interface SubmitRequest {
        api_version?: number;
        command: "submit";
        fail_hard?: boolean;
        id?: string | number;
        tx_blob: string;
        [x: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [x: string]: unknown
    Index

    Properties

    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.