TheDocumentation Index
Fetch the complete documentation index at: https://base-a060aa97-pat-schemav2-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
useBuildDepositToMorphoTx hook is used to build a deposit transaction to Morpho from within a React component.
The hook handles the following:
- Fetching data required to build the transaction
- Using
buildDepositToMorphoTxto build the transaction - Returning the transaction calls to be used with the
<Transaction />component
Usage
code
Returns
{ calls: Call[] }
Parameters
UseBuildDepositToMorphoTxParams