New features
New Hyperliquid API endpoints
Three new endpoints add Hyperliquid trading support to the Copper API.- Get agent wallets —
GET /agent-wallets. Retrieves the active Hyperliquid agent wallets for a portfolio, or for every portfolio in your organisation. Each record includes its status, expiry, and the order that created it. - Get allowed markets —
GET /markets. Retrieves the list of Hyperliquid markets available to trade through Copper. - Execute exchange action —
POST /exchange. Submits a Hyperliquid order through Copper’s proxy. Theactionpayload is identical to a direct Hyperliquid request — send yourorganizationIdandportfolioIdinstead of anonceandsignature, and Copper signs and routes the order on your behalf.
GET /agent-wallets endpoint reference.Improvements
Documentation update: Highlighted terminal order statuses
Updated order status descriptions, where applicable, to mention that, when an order has completed processing, it enters one of the final states and returns a ‘terminal’ status.At the time of writing,terminalStatuses are: EXECUTED, CANCELED, LIQUIDATED, ERROR, BLOCKED, DECLINED, SUSPENDED, REJECTEDNew features
Improvements
Added updatedAt field in ClearLoop actions endpoint
AddedupdatedAt field in the clearloop/actions endpoint that returns ClearLoop delegations/undelegations.Improvements
Change to loan types
We have deprecated several loan types to simplify our API and align naming conventions. Deprecated types are automatically migrated to their replacements. All new loans will be created with the new statuses going forward and old types will be removed from the API and documentation following the migration.For a full list of loan types, see
LoanType.Margin call timer for collateralised loans
NewmarginCallExpiryPeriod field and marginCall object have been added to the Lending API.-
The loan booking form now accepts a margin call period (in hours), which is specified in the new field
marginCallExpiryPeriod, for example, in Get Loans response. The margin call expiry period can be between 1 and 24 hours. It applies only to collateralised loans. It does not apply to ClearLoop loans. -
When a loan goes into Margin Call, the
marginCallobject contains the margin call associated with the loan, for example, in Get Loans response.
Improvements
A new settlementStatus field in responses that return ClearLoop portfolios
A newsettlementStatus field now appears in responses that return ClearLoop portfolios, for example, in
Get ClearLoop Portfolios.
The field contains the status of the last settlement cycle.This change has been introduced as part of platform improvements.For information about settlement status values, see PortfolioSettlementStatus.New features
Early termination of ClearLoop loans
A new endpoint, `PATCH /platform/organizations/{organizationId}/loans/{earlyTerminationLoanId} has been created, that allows Copper’s financing desk (Agency Desk) to immediately recall outstanding loans where there has been a breach of loan terms.Early termination of a loan can only be initiated by an Agency Desk: A specialized organisational entity that acts as
an intermediary between lenders and borrowers. The agency desk is set up and managed by administrators and has the
organization subtype
AGENCY_DESK.LoanStatus statuses of the type enum have been introduced as part of the early termination flow:early-termination-in-progress- The loan is in the process of being terminated early.early-termination-completed- Early termination of the loan has been completed.
New features
New transaction types for accepting or rejecting deposits on-chain
NewBlockchainTransactionType types accept-deposit and reject-deposit have been
introduced to support on-chain deposit acceptance on the Canton Network.Improvements
ClearLoop documentation update
Updated ClearLoop OpenAPI documentation, clarified parameter descriptions.Improvements