Workspace /Collateral valuation
COLLATERAL VALUATION
Turn a token quantity into a standardized value
Every eligible tokenized stock is priced the same way: oracle price × quantity, in a single standardized currency. This is the exact call a lending, credit or liquidity app built on top would make.
Same call, live in your terminal
CALL
import { BrixPool } from '@brix/pool-sdk'
const pool = new BrixPool({ chainId: 8453 })
const valuation = await pool.valuate({
asset: 'xAAPL',
quantity: 50,
})
console.log(valuation)OUTPUT
{
asset: 'xAAPL',
price: 227.15,
quantity: 50,
grossValue: 11357.50,
eligible: true,
oracle: 'Composite Price Feed'
}INPUTS
xAAPL
ACTIVEComposite Price Feed
Eligible — this asset can back collateral, priced from the oracle above.
VALUATION OUTPUT
50xAAPL$227.15/ token
$11,357.5
Standardized onchain collateral value
UNDERLYING
AAPL
NETWORK
Ethereum
ISSUER
Atlas Markets
MAX LTV
70%