@metamask-institutional/defi-adapters / adapter / Underlying
adapter.Underlying
Underlying token balances of a position The underlying token may be a simple erc20 such as Dai. Should the underlying token be another protocol token then we expect that to be resolved down into the underlying simple erc20 tokens
-
↳
Underlying
• balanceRaw: bigint
User's balance raw
• type: "underlying"
| "underlying-claimable"
| "fiat"
• Optional
tokens: Underlying
[]
• address: string
Token address
• name: string
Name of token
• symbol: string
Token symbol
• decimals: number
Token decimals