Interface AccountOffersResponse

Response expected from an AccountOffersRequest.

interface AccountOffersResponse {
    api_version?: number;
    forwarded?: boolean;
    id: string | number;
    result: {
        account: string;
        ledger_current_index?: number;
        ledger_hash?: string;
        ledger_index?: number;
        marker?: unknown;
        offers?: AccountOffer[];
    };
    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;
    marker?: unknown;
    offers?: AccountOffer[];
}

Type declaration

  • account: string

    Unique Address identifying the account that made the offers.

  • Optionalledger_current_index?: number

    The ledger index of the current in-progress ledger version, which was used when retrieving this data.

  • Optionalledger_hash?: string

    The identifying hash of 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, as requested.

  • 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 pages of information after this one.

  • Optionaloffers?: AccountOffer[]

    Array of objects, where each object represents an offer made by this account that is outstanding as of the requested ledger version. If the number of offers is large, only returns up to limit at a time.

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