User data and trade endpoints requests must include a nonce.
with
or without
hyphens.Version 1 UUIDs encode a timestamp in addition to other unique information, and thus serve both to prevent replay attacks as well as to enforce request timing. As a result, nonces MUST be generated at the time of a request.
The wallet address to use for the request.
Base-quote pair e.g. 'ETH-USD'
Readonly
sideenum OrderSide
Readonly
quantityOrder quantity in base terms
Readonly
type import { OrderType } from '@idexio/idex-sdk'
const response = await client.createOrder({
// whichever order type you are creating
type: OrderType.market,
// ...other params
})
Readonly
isWhen this parameter is true
it indicates that the order is an LP side
channel order not to be executed against the order book.
true
on market and
limit order types.limit
orders, timeInForce must be TimeInForce.gtc
indicating that side channel orders never take liquidity.Optional
delegatedThe delegated key to use for the request, if any.
Optional
Readonly
clientClient-specified order id, maximum of 40 bytes