Price
Last updated
Last updated
/api/defi/option/order/buy-sign
POST
Parameter name | Required | Type | Explain |
---|---|---|---|
The signature time is about 40 seconds longer than the current time, within which options can be purchased by submitting to the blockchain
/api/defi/option/order/sell-sign
POST
The signature time is about 40 seconds longer than the current time, within which options can be purchased by submitting to the blockchain
/api/defi/oracle/token/price
POST
Parameter name | Type | Explain |
---|---|---|
Parameter name | Required | Type | Explain |
---|---|---|---|
Parameter name | Type | Explain |
---|---|---|
index_no
Yes
uint256
index_no
pool_id
Yes
uint8
pool_id
is_call
Yes
0,1
1:is call option,0:is put option
signData
bytes
signature date
datetime
int
sign time
price
int
price,accuracy is divided 10^6
index_no
Yes
uint256
index_no
pool_id
Yes
uint8
pool_id
order_no
Yes
int
order_no
signData
bytes
sign date
datetime
int
sign time
price
int
price,accuracy is divided 10^6