Skip to main content
Beta FeatureThe Transaction Simulations feature is currently in beta. API endpoints and behavior may change as we continue to refine the product. 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 a transaction ID for tracking purposes.
200 OK
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