Create Auto-Conversion
Creates an auto-conversion rule for a member: what arrives on dchain_from is converted into asset_to.
POST
/api/auto_conversionsAuth: RequiredRequest Body
member_idnumberRequiredThe member the operation is for.
dchain_fromstringRequiredSource dchain id
asset_tostringRequiredTarget asset code
In progress
The response fields for this endpoint are still being written up. Until then, the Swagger UI lets you run the call and see the actual response.
Errors
Beyond the shared errors:
| Code | Meaning |
|---|---|
1001 | member_id is invalid or not yours, or dchain_from is not a known network |
2024 | There is no market for the conversion pair |