Expand description
REST request types
Structs§
- A request to transfer assets between sub-accounts.
- A request to create up to 15 spot orders in a batch.
- A request to create a new spot order.
- A request to allocate funds to a particular Earn strategy.
- A request for details on a particular asset, such as “BTC”, “ETH”, or “USDC”.
- An individual order request to be placed in a batch.
- A “dead man’s switch” for all active orders.
- A request to cancel up to 50 orders in a batch by tx id or user ref.
- A request to cancel an order by txid (String) or userref (Int).
- A request to retrieve historical orders, 50 at a time.
- A request to create a sub-account for trading.
- A request to delete an export report by id.
- A request to retrieve or generate a deposit address for a particular asset and method.
- A request for all available deposit methods for a given asset.
- A request for the allocation status for a given strategy.
- A request to edit an existing order.
- A request for the asynchronous generation of a report of “trades” or “ledgers”.
- A request for the status of a requested export report.
- A request for 50 ledger entries for the account.
- A request to list all current earn strategy allocations.
- A request for all earn strategies.
- A request for OHLC data for a single pair, optionally providing a
since
to retrieve incremental updates. - A request for all open orders on the account.
- A request for details about an open margin position.
- Wrapper type for a
Vec<OrderFlag>
that serializes to a comma-separated string. - A request for the details of up to 50 orders by id.
- A request for the orderbook of a pair, optionally at a given depth of bids and asks (
count
parameter). - A request for details of up to 20 ledger entries by id.
- Retrieve the most recent bid/ask spreads for a given pair, optionally with a
since
parameter to receive only incremental updates. - A fully-paginated request for trades from a particular pair.
- A request to retrieve a specific export report by id.
- A request for the status of a deposit or withdrawal request.
- Wrapper type for a
Vec<String>
that serializes to comma-separated. - A request for common ticker info for one or many pairs.
- A request for details on a particular trading pair, such as “BTCUSD”, “DOGEUSDT”, or “ETHUSD”.
- A request for margin trading data, optionally only for a specific pair.
- A request for details of up to 50 trades by ref id.
- A request for cumulative 30-day USD trading volume for the account.
- A request for any historical trades for the account.
- A request to transfer from the account’s Spot wallet to Future’s wallet.
- A request to cancel an active withdrawal.
- A request to withdraw funds.
- A request to retrieve or generate a withdrawal address for a particular asset and method.
- A request for the limit, amount and fee to withdraw asset.
- A request for all available withdrawal methods for the user.
Enums§
- Type of information to request for asset pairs.
- All possible candlestick intervals for requesting OHLC data.
- Time to use when searching for closed orders by start and end timestamps.
- A sub-type for specifying if paginating (Bool), or providing a cursor for the next page (String).
- Whether to cancel or delete a requested export report.
- Wrapper type for submitting order cancels by Kraken id (String) or user-ref (Int).
- Type of lock-up for a given Earn strategy.
- Format of report, either comma or tab separated values.
- Type of report to request generation for.
- Strategy for exchange to take when handling a self-crossing order.
- Time in Force for the given order.
- Time in Force for the given order.
- Types of trades to filter for when requesting user’s trade history.
- Type of price to use for conditional orders.