Skip to main content

Vault API

Endpoints for managing Trust Vault staking positions.

Get Vault Status

Get current vault statistics.

Get User Position

Get the authenticated user’s vault position.

Deposit USDC

Stake USDC into the Trust Vault.

Deposit Parameters

You’ll receive tmUSDC based on the current exchange rate. As yield accrues, the exchange rate increases.

Withdraw

Redeem tmUSDC for USDC.

Withdraw Parameters

Get Yield History

Get historical yield earnings.

Calculate Potential Yield

Estimate yield for a deposit amount.

Get Interest Rate Model

Get current interest rate parameters.

Get Transaction History

Get vault transaction history.

Webhook Events

Error Responses