Class AccountAPI

Constructors

Properties

URL: {
    ACCOUNTS: string;
    COINBASE_ACCOUNT: string;
} = ...

Methods

  • List holds of an account that belong to the same profile as the API key. Holds are placed on an account for any active orders or pending withdraw requests. As an order is filled, the hold amount is updated. If an order is canceled, any remaining hold is removed. For a withdraw, once it is completed, the hold is removed.

    Parameters

    • accountId: string

      Account ID belonging to the API key’s profile

    • Optionalpagination: Pagination

      Pagination field

    Returns Promise<PaginatedData<Hold>>