This endpoint allows you to create a rate for a specific asset pair.
Endpoint
POST https://api.blockradar.co/v1/rates
| Key | Required | Type | Description |
|---|---|---|---|
| fromAsset | true | string | The symbol of the asset you are converting from. |
| toAsset | true | string | The symbol of the asset you are converting to. |
| rate | true | string | The exchange rate for the asset pair. Provided as a string to avoid floating point precision issues. |
| minAmount | true | string | The minimum amount allowed for this rate/pair. Provided as a string. |
| maxAmount | false | string | The maximum amount allowed for this rate/pair. Optional. Provided as a string. |