xrpl
    Preparing search index...

    Interface AccountOffersRequest

    The account_offers method retrieves a list of offers made by a given account that are outstanding as of a particular ledger version. Expects a response in the form of a AccountOffersResponse.

    interface AccountOffersRequest {
        account: string;
        api_version?: number;
        command: "account_offers";
        id?: string | number;
        ledger_hash?: string;
        ledger_index?: LedgerIndex;
        limit?: number;
        marker?: unknown;
        strict?: boolean;
        [x: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [x: string]: unknown
    Index

    Properties

    account: string

    A unique identifier for the account, most commonly the account's Address.

    api_version?: number

    The API version to use. If omitted, use version 1.

    command: "account_offers"

    The name of the API method.

    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.

    ledger_hash?: string

    A 20-byte hex string for the ledger version to use.

    ledger_index?: LedgerIndex

    The ledger index of the ledger to use, or a shortcut string.

    limit?: number

    Limit the number of transactions to retrieve. The server is not required to honor this value. Must be within the inclusive range 10 to 400.

    marker?: unknown

    Value from a previous paginated response. Resume retrieving data where that response left off.

    strict?: boolean

    If true, then the account field only accepts a public key or XRP Ledger address. Otherwise, account can be a secret or passphrase (not recommended). The default is false.