Interface TransactionEntryResponse

Response expected from a TransactionEntryRequest.

interface TransactionEntryResponse {
    api_version?: number;
    forwarded?: boolean;
    id: string | number;
    result: {
        ledger_hash: string;
        ledger_index: number;
        metadata: TransactionMetadata;
        tx_json: Transaction & ResponseOnlyTxInfo;
    };
    status?: string;
    type: string;
    warning?: "load";
    warnings?: ResponseWarning[];
}

Hierarchy (View Summary)

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: {
    ledger_hash: string;
    ledger_index: number;
    metadata: TransactionMetadata;
    tx_json: Transaction & ResponseOnlyTxInfo;
}

Type declaration

  • ledger_hash: string

    The identifying hash of the ledger version the transaction was found in; this is the same as the one from the request.

  • ledger_index: number

    The ledger index of the ledger version the transaction was found in; this is the same as the one from the request.

  • metadata: TransactionMetadata

    The transaction metadata, which shows the exact results of the transaction in detail.

  • tx_json: Transaction & ResponseOnlyTxInfo

    JSON representation of the Transaction object.

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