Interface TxV1Response<T>

Response expected from a TxRequest using API version 1.

interface TxV1Response<T extends BaseTransaction = Transaction> {
    api_version?: number;
    forwarded?: boolean;
    id: string | number;
    result: BaseTxResult<1, T> & T;
    searched_all?: boolean;
    status?: string;
    type: string;
    warning?: "load";
    warnings?: ResponseWarning[];
}

Type Parameters

Hierarchy (View Summary)

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: BaseTxResult<1, T> & T
searched_all?: boolean

If true, the server was able to search all of the specified ledger versions, and the transaction was in none of them. If false, the server did not have all of the specified ledger versions available, so it is not sure. If one of them might contain the transaction.

status?: string
type: string
warning?: "load"
warnings?: ResponseWarning[]