Create an order for a OAuth connection
POST
/oauth/orders/createRequest
Body Params application/json
signer
string
required
a string
account
string
required
a string
signature
string
required
a string
data
object
required
timestamp
integer
required
an integer
pricePerShare
string
required
A numeric string for the price per share
strategy
enum<string>
required
Allowed values:
LIMITMARKET
slippageBps
string
optional
a non empty string
>= 1 characters
order
object
required
Example
{
"signer": "string",
"account": "string",
"signature": "string",
"data": {
"timestamp": 0,
"pricePerShare": "string",
"strategy": "LIMIT",
"slippageBps": "string",
"order": {
"hash": "string",
"salt": "string",
"maker": "string",
"signer": "string",
"taker": "0x0000000000000000000000000000000000000000",
"tokenId": "string",
"makerAmount": "string",
"takerAmount": "string",
"expiration": "string",
"nonce": "string",
"feeRateBps": "string",
"side": 0,
"signatureType": 0
}
}
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Response 200
Data Schema
success
boolean
required
a boolean
data
object
required
code
enum<string>
required
Allowed value:
OK
Example
{
"success": true,
"data": {
"code": "OK"
}
}
Last modified: 11 days ago