Supply collateral to a Morpho Market in order to borrow against it.
A Morpho Market is a primitive lending pool that pairs one collateral asset with one loan asset. Each market is isolated (meaning risks are contained within each individual market), immutable (cannot be changed after deployment), and will persist as long as the blockchain it is deployed on is live.
Required Allowances
In order to make this transaction, token allowances need to be set for the following contracts.
MorphoMarketAmount of the token to supply to the market as collateral.
x > 01.5
The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
"0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4"
arbitrum, base, ethereum The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
"MORPHO_SUPPLY_COLLATERAL"The address on behalf of whom the supplied collateral is made. Defaults to sender.
An optional field for callback byte data that will be triggered upon successful supplying of collateral.
Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
Successful Response
The unsigned transaction data. User must sign and broadcast to network.