If you are a maker or taker on StableFX, you can use magic numbers to create certain trade outcomes for testing. These outcomes allow you to test specific scenarios where a trade fails or becomes stuck.Documentation Index
Fetch the complete documentation index at: https://developers.circle.com/llms.txt
Use this file to discover all available pages before exploring further.
Using magic numbers
When testing your integration, can you use the magic numbers to create specific failure scenarios:- If you are a taker, you can accept a quote where either the
from.amountor theto.amountis equal to one of the magic numbers - If you are maker, seeded trades will be available to you with the magic
numbers as either the
from.amountor theto.amount
from.amount or to.amount,
the resulting trade will have the outcome described in the next section.
For more information on testing your integration, see the
Test your StableFX Integration as a Taker
and
Test your StableFX Integration as a Maker
tutorials.
Magic numbers
| Magic Number | Trade outcome |
|---|---|
23.66 | Opposite party signature won’t be registered during trade recording on the contract |
23.67 | Opposite party funding won’t be provided |