http://quickexpgxtyxalax7kfy4f3mntpjpqrfizwksogvtsgehkbkttuosid.onion/docs/api-v2
Prepare signature based on key pair and createOrder request data
const timestamp = new Date().getTime();
const signature = signRequest(createOrderRequestBody, timestamp);
// Step 3. Call API v2 create-order endpoint
const order = JSON.parse(
await (
await fetch(`${API_PREFIX}v2/orders/public/create`, {
method: 'POST',
headers: {
'x-api-public-key': PUBKEY,
'x-api-timestamp': timestamp,
'x-api-signature':...