Skip to main content

SimulationPosition

A single lending position as returned by user-data endpoints. Pass positions through as-is — the API enriches them internally with protocol-specific metadata.

marketUidstringrequired

Unique market identifier (format: {lender}:{chainId}:{address})

Example: AAVE_V3:1:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
depositsUSDnumberrequired

Deposit amount in USD

Example: 5000
debtUSDnumberrequired

Variable debt in USD

Example: 2000
debtStableUSDnumberrequired

Stable debt in USD

Example: 0
collateralEnabledbooleanrequired

Whether this asset is enabled as collateral

Example: true
SimulationPosition
{
"marketUid": "AAVE_V3:1:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"depositsUSD": 5000,
"debtUSD": 2000,
"debtStableUSD": 0,
"collateralEnabled": true
}