Skip to main content
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.

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.amount or the to.amount is 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.amount or the to.amount
When you accept a quote with a magic number as the 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 NumberTrade outcome
23.66Opposite party signature won’t be registered during trade recording on the contract
23.67Opposite party funding won’t be provided