Create Order
Request
- Base URLhttps://api.copper.co/platform
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Agent address for orders created by agents on behalf of users
Agent name for orders created by agents on behalf of users
Expiration date (unix timestamp in millis) of Hyperliquid agent wallet
The amount of order in baseCurrency
The currency of the order amount
Builder fee address for Hyperliquid builder approval and activation
The description of the order
Sets broadcast mode. If true: manual broadcast. If false: automatic broadcast. Copper automatically broadcasts transactions to the network after fully signing
Unique order identifier from client (should be unique for the portfolio)
Indicates, whether the fee should be included in the withdrawal amount or added on top of it
The main currency of the base currency
A SHA-256 encrypted hash of the withdrawal password (also known as master password), if required.
Withdraw memo (destination tag for XRP)
Subnet Network ID in TAO blockchain
Opt in to the referral program during Hyperliquid activation
Serialised data payload for a smart contract
Serialised list of unsigned transactions. For Ethereum only type 0 (legacy) transactions are supported
The ID of the portfolio where the order should be placed
The price of the order in quote currency, only applicable for settle orders
The amount of order in quoteCurrency
The currency of the quote amount
The main currency of the quote currency
Referral code
The address where the funds should be transferred
The ID of the counterparty to transfer money to
In case of a withdrawal, the destination crypto address ID from an Address Book
In case of a withdrawal on a different portfolio, the portfolio ID of the destination account
Example request
{
"amount": "0.1",
"baseCurrency": "BTC",
"description": "Withdrawal to my wallet",
"quoteAmount": "10",
"quoteCurrency": "USD",
"toReceivers": [
{
"amount": "0.1"
}
]
}Response
OK
Amount of order in baseCurrency
Base currency of the order
Order creation timestamp
Creator user id
The order ID in the external system
Blockchain network of a baseCurrency
Order ID
Organization id
Portfolio ID
The quote currency of the order (in case of a settle order)
Blockchain network of a quoteCurrency
Order termination timestamp
Order update timestamp
Changes
No recorded changes to this operation across all 1 revision of this API.