Simulation endpoints are available in development environments only โ production returns
404 Not Found.Endpoint
This endpoint simulates adding rUSD collateral to a smart contract. The simulation mints rUSD to the contractโs on-chain proxy address in the sandbox environment, which triggers the existing collateral-add pipeline and fires
transaction.collateral.created webhooks.Supported chains
Collateral simulation is only available in the sandbox environment. The following testnet chains are supported:- Ethereum Sepolia
- Avalanche Fuji
- Solana Devnet
- Polygon Amoy
- Base Sepolia
Headers
Body
Example request
Response
A successful response returns202 Accepted. The response carries no transaction ID, because the CollateralAdd transaction is created downstream when the blockchain listener processes the simulated on-chain transfer.
202 Accepted
After calling this endpoint, the simulation mints rUSD to the contractโs proxy address. The blockchain listener detects this transfer and runs the standard collateral-add pipeline, which:
- Creates a
CollateralAddtransaction record - Updates the team balance
- Fires the
transaction.collateral.createdwebhook
transaction.collateral.created webhook reference for payload schemas.Errors
Behavior notes
- Sandbox only. This endpoint returns
404 Not Foundin production environments. - Real collateral record. The simulation creates a real collateral transaction that is queryable via the standard transactions API and fires the same webhooks as a real deposit.
- Immediate settlement. In the sandbox environment, simulated transfers settle immediately without requiring actual funds.