Quickstart: First API Trade
Last updated
GET /api/v1/symbolsGET /api/v1/prices/{symbol}GET /api/v1/users/{userId}/balanceGET /api/v1/users/{userId}/balance?spenderAddress={spender}POST /api/v1/cash/deposits/calldata{
"userAddress": "0x1111111111111111111111111111111111111111",
"tokenAddress": "0x2222222222222222222222222222222222222222",
"tokenAmount": "100"
}POST /api/v1/cash/deposits/txPOST /api/v1/orders/calldata{
"stockAddress": "0x3333333333333333333333333333333333333333",
"side": "Buy",
"type": "Market",
"notional": "10",
"deadline": 1893456000
}POST /api/v1/orders/tx{
"txHash": "0xabc..."
}GET /api/v1/orders/tx/{txHash}
GET /api/v1/orders/{orderId}GET /api/v1/users/{userId}/balance
GET /api/v1/users/{userId}/positions