Interface AccountLinesResponse

Response expected from an AccountLinesRequest.

interface AccountLinesResponse {
    api_version?: number;
    forwarded?: boolean;
    id: string | number;
    result: {
        account: string;
        ledger_current_index?: number;
        ledger_hash?: string;
        ledger_index?: number;
        lines: AccountLinesTrustline[];
        marker?: unknown;
    };
    status?: string;
    type: string;
    warning?: "load";
    warnings?: ResponseWarning[];
}

Hierarchy (View Summary)

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: {
    account: string;
    ledger_current_index?: number;
    ledger_hash?: string;
    ledger_index?: number;
    lines: AccountLinesTrustline[];
    marker?: unknown;
}

Type declaration

  • account: string

    Unique Address of the account this request corresponds to. This is the "perspective account" for purpose of the trust lines.

  • Optionalledger_current_index?: number

    The ledger index of the current open ledger, which was used when retrieving this information.

  • Optionalledger_hash?: string

    The identifying hash the ledger version that was used when retrieving this data.

  • Optionalledger_index?: number

    The ledger index of the ledger version that was used when retrieving this data.

  • lines: AccountLinesTrustline[]

    Array of trust line objects. If the number of trust lines is large, only returns up to the limit at a time.

  • Optionalmarker?: unknown

    Server-defined value indicating the response is paginated. Pass this to the next call to resume where this call left off. Omitted when there are No additional pages after this one.

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