Skip to main content
Simulation endpoints are available in development environments only โ€” production returns 404 Not Found.
Trigger a collateral deposit to a smart contract, exactly as if a real on-chain transfer had occurred. Use this to test your collateral webhook handling and balance updates without executing actual blockchain transactions.

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 returns 202 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 CollateralAdd transaction record
  • Updates the team balance
  • Fires the transaction.collateral.created webhook
See the transaction.collateral.created webhook reference for payload schemas.

Errors

Behavior notes

  • Sandbox only. This endpoint returns 404 Not Found in 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.

Example