toAsset
toAsset(
token?):string
Defined in: protocol-lending-mellow-evm/src/protocol.ts:248
Normalizes a token option to the vault’s asset id: ‘native’ / the zero address / the ERC-7528 placeholder all mean ETH. Returns a checksummed address.
Parameters
Section titled “Parameters”token?
Section titled “token?”string | null
Returns
Section titled “Returns”string