跳转到主要内容
POST
Create Rate

授权

x-api-key
string
header
必填

请求体

application/json
fromAsset
string
必填

The symbol of the asset you are converting from.

示例:

"FROM_ASSET_SYMBOL"

toAsset
string
必填

The symbol of the asset you are converting to.

示例:

"TO_ASSET_SYMBOL"

rate
string
必填

The exchange rate for the asset pair. Provided as a string to avoid floating point precision issues.

示例:

"ASSET_PAIR_RATE"

minAmount
string
必填

The minimum amount allowed for this rate/pair. Provided as a string.

示例:

"MIN_AMOUNT"

maxAmount
string

The maximum amount allowed for this rate/pair. Optional. Provided as a string.

示例:

"MAX_AMOUNT_OPTIONAL"

响应

201 - application/json

201

data
object
message
string
示例:

"Rate created successfully"

statusCode
number
示例:

201