Read what the test helpers accept

GET/test_helpers/options

Everything a test helper call in your sandbox may name: the UDAs and vaults you can deposit to, the simulated networks with their assets and levers, the deposit presets, the settlement and payout outcomes, the webhook event types a simulation can cause, how fast each simulated network moves, and how much of the simulation budget is left. Pass uda_id to narrow the UDA list to that one UDA and expand each preset into the concrete facts (network, asset and amount) it would send to it. Spends no simulation budget and needs no Idempotency-Key. Sandbox keys only; a live key is answered 404 with not a sandbox environment.

Query parameters

  • uda_idstringoptional

    A UDA in your sandbox. The udas list then holds only it, and each preset carries its facts for it (null where the UDA leaves nothing to express the preset with).

Responses

What the test helpers accept in your sandbox.

  • successbooleanrequired
  • messagestring
    • livemodeboolean

      true when the API key that made the request acts in a live environment, false in a sandbox.

      Show full description

      It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

    • The simulation budget, a fixed window per sandbox that every lever-pulling helper call spends from.

    • settlement_outcomesarray<string>
    • bridge_outcomesarray<string>

      The bridge lever's outcomes. The lever is not offered in production (every network's levers.bridge is false).

    • payout_outcomesarray<string>
    • event_typesarray<string>

      The webhook event types a simulation can cause.

    • How fast the sandbox plays a simulation out.

Request
curl "https://api.stridge.com/v1/test_helpers/options" \
  -H "X-API-Key: $STRIDGE_API_KEY"

Set your api key as STRIDGE_API_KEY (sent as X-API-Key).

Response200
"success": true,
"message": "operation completed successfully",
"livemode": true,
"limit": 600,
"window_s": 3600,
"remaining": 597
},
"livemode": true,
"id": "uda_01J9Z3K4M5N6P7Q8R9S0T1U2V3",
"60",
"137"
],
"cross_chain": false,
],
"livemode": true,
"network_id": "60",
"native": true,
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
}
]
}
],
"livemode": true,
"id": "550e8400-e29b-41d4-a716-446655440001",
"label": "hot",
"60",
"195"
]
}
],
"livemode": true,
"network_id": "60",
"name": "Ethereum",
"family": "evm",
"livemode": true,
"symbol": "USDC",
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6
}
],
"deposit": true,
"success",
"fail",
"hold"
],
"bridge": false
}
}
],
"livemode": true,
"id": "underpaid",
"label": "Underpaid",
"description": "Less than the address usually receives, in an asset it accepts.",
"uda_deposit"
],
"network_id": "60",
"native": true,
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
"amount": "1000000"
}
}
],
"success",
"fail",
"retry_then_success"
],
"complete",
"fail",
"refund",
"pending"
],
"success",
"fail",
"hold"
],
"deposit.confirmed",
"vault.deposit.detected",
"uda.settlement.created",
"uda.settlement.retrying",
"uda.settlement.completed",
"uda.settlement.failed",
"payout.confirmed",
"payout.failed",
"payout.expired"
],
"network_id": "60",
"block_time_ms": 1000,
"observable_blocks": 1,
"confirmation_blocks": 12,
"confirmation_delay_ms": 30000
}
],
"settlement_retry_interval_ms": 60000,
"settlement_retry_min_age_ms": 60000,
"settlement_max_retries": 3,
"bridge_poll_interval_ms": 30000,
"non_settling_grace_ms": 60000,
"unrecorded_grace_ms": 60000
}
}
}