openapi: 3.2.0 info: contact: name: Blockdaemon email: info@blockdaemon.com description: The Blockdaemon DeFi API provides a single interface to a multitude of DeFi projects and blockchains title: Blockdaemon DeFi Lendborrow API version: 1.0.0 x-logo: altText: Blockdaemon logo backgroundColor: '#fafafa' url: https://storage.googleapis.com/blockdaemon-app-static-images/marketing/PNG/dark-logo.png servers: - url: https://svc.blockdaemon.com security: - ApiKeyAuth: [] tags: - name: lendborrow description: API endpoints for operations related to lending and borrowing paths: /defi/v1/lendborrow/allow: post: tags: - lendborrow summary: Allow description: 'Grants or revokes permission for designated manager addresses to operate on your account. You specify a manager''s address along with a flag indicating whether they''re allowed or disallowed, and the transaction is executed with customizable gas settings. > 💡 **Compute Unit Value:** `115` (Fixed)' operationId: lendborrowAllow requestBody: required: true description: The request body for a /defi/v1/lendborrow/allow content: application/json: schema: $ref: '#/components/schemas/_lendborrow_allow_Request' example: lendborrowId: '1300' manager: '0xc3d688B66703497DAA19211EEdff47f25384cdc3' isAllowed: false from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low market: USDC enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value allowTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - allowTxn example: status: 200 msg: success data: chainId: '1' from: '0x6Fb447Ae94F5180254D436A693907a1f57696900' to: '0xc3d688B66703497DAA19211EEdff47f25384cdc3' value: '0' gas: '50000' data: '0x110496e5000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000000000000000000000000000000000000000000001' estimationCheck: true referenceId: 3b91be949bb74695979ab5dcaf494f98 x-bd-cu: '115' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/borrow: post: tags: - lendborrow summary: Borrow description: 'Initiates a borrowing transaction for a specified amount of tokens from supported lending markets (Aave V2/V3, Compound V2/V3), allowing configuration of asset, amount, interest rate mode, on-behalf-of address, and gas parameters for an optimized borrowing process. > 💡 **Compute Unit Value:** `225` (Fixed)' operationId: lendborrowBorrow requestBody: required: true description: The request body for a /defi/v1/lendborrow/borrow content: application/json: schema: $ref: '#/components/schemas/_lendborrow_borrow_Request' example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' interestRateMode: '1' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value borrowTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - borrowTxn - title: Generated schema for EIP-5792 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls - title: Generated schema for EIP-7702 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string to: type: string data: type: string value: type: string batcherContract: type: string required: - from - chainId - referenceId - methodUsed - to - data - value - batcherContract example: status: 200 msg: success data: chainId: '1' from: '0x829bFB482331b9Dc2BEcb5483ecA79c0578c3A45' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' gas: '408298' estimationCheck: true data: '0xa415bcad00000000000000000000000065afadd39029741b3b8f0756952c74678c9cec93000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000829bfb482331b9dc2becb5483eca79c0578c3a45' referenceId: 4fab595487904774a12c2555d9ba02a1 x-bd-cu: '225' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/bundleactions: post: tags: - lendborrow summary: Bundle Actions description: 'Combine multiple lending and borrowing operations into one atomic blockchain transaction. This endpoint bundles several protocol actions—each defined by its specific call data—so that they all execute together (or not at all). The approach improves gas efficiency and minimizes the risk of partial execution, making it ideal for complex, multi-step transactions. > 💡 **Compute Unit Value:** `45` (Fixed)' operationId: lendborrowBundleactions requestBody: required: true description: The request body for a /defi/v1/lendborrow/bundleactions content: application/json: schema: $ref: '#/components/schemas/_lendborrow_bundleactions_Request' example: lendborrowId: '1300' actions: ACTION_SUPPLY_NATIVE_TOKEN data: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low market: USDC enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value bundleActionsTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - bundleActionsTxn example: status: 200 msg: success data: chainId: '1' from: '0x6Fb447Ae94F5180254D436A693907a1f57696900' to: '0xa397a8C2086C554B531c02E29f3291c9704B00c7' value: '123000000' gas: '500000' estimationCheck: true data: '0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002414354494f4e5f535550504c595f4e41544956455f544f4b454e000000000000414354494f4e5f535550504c595f4e41544956455f544f4b454e0000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000015ef3c0' referenceId: 4fab595487904774a12c2555d9ba02a1 x-bd-cu: '45' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/claimrewards: post: tags: - lendborrow summary: Claim Rewards description: 'Trigger a transaction to claim any accrued rewards from your participation in lending protocols. This endpoint collects your earned rewards and returns detailed transaction data, such as sender/receiver addresses, gas usage, and a reference ID. Customizable gas parameters allow you to optimize for transaction speed and cost. > 💡 **Compute Unit Value:** `125` (Fixed)' operationId: lendborrowClaimrewards requestBody: required: true description: The request body for a /defi/v1/lendborrow/claimrewards content: application/json: schema: $ref: '#/components/schemas/_lendborrow_claimrewards_Request' example: lendborrowId: '1300' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low market: USDC enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value claimRewardsTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - claimRewardsTxn example: status: 200 msg: success data: chainId: '1' from: '0x6Fb447Ae94F5180254D436A693907a1f57696900' to: '0x1B0e765F6224C21223AeA2af16c1C46E38885a40' value: '0' gas: '5300000' estimationCheck: true data: '0xb7034f7e000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000000000001' referenceId: 782d9a6145af46d8b80a844263817758 x-bd-cu: '125' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/deposit: post: tags: - lendborrow summary: Deposit description: 'Facilitate the deposit of assets into lending protocols by specifying the asset, deposit amount, and optionally, a recipient address. This endpoint is designed for users to start earning interest or to use their deposited collateral for borrowing. Gas optimization settings ensure that the deposit transaction is both efficient and cost‐effective. > 💡 **Compute Unit Value:** `230` (Fixed)' operationId: lendborrowDeposit requestBody: required: true description: The request body for a /defi/v1/lendborrow/deposit content: application/json: schema: $ref: '#/components/schemas/_lendborrow_deposit_Request' example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' collateral: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value depositTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - depositTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls - title: Generated schema for EIP-7702 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string to: type: string data: type: string value: type: string batcherContract: type: string required: - from - chainId - referenceId - methodUsed - to - data - value - batcherContract example: status: 200 msg: success data: chainId: '1' from: '0x829bFB482331b9Dc2BEcb5483ecA79c0578c3A45' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' gas: '408298' estimationCheck: true data: '0xe8eda9df00000000000000000000000065afadd39029741b3b8f0756952c74678c9cec93000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000829bfb482331b9dc2becb5483eca79c0578c3a450000000000000000000000000000000000000000000000000000000000000000' referenceId: 7fb853868e4749879ef57d96aae5b9a2 x-bd-cu: '230' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/deposit-with-approval: post: tags: - lendborrow summary: Deposit with approval description: 'Returns unsigned transactions for ERC-20 approval when allowance is below the deposit amount, plus the protocol deposit transaction. Without batchOption, data is an ordered array [approveTxn?, depositTxn]. With batchOption EIP-5792 or EIP-7702 (supported chains), returns a single batched payload. Same request parameters as Deposit per protocol. > 💡 **Compute Unit Value:** `230` (Fixed)' operationId: lendborrowDepositWithApproval requestBody: required: true description: The request body for a /defi/v1/lendborrow/deposit-with-approval content: application/json: schema: $ref: '#/components/schemas/_lendborrow_deposit-with-approval_Request' example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' collateral: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: array description: 'Ordered EVM transactions: optional ERC-20 approve then deposit, or deposit only when allowance is sufficient.' items: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; per-leg `eth_simulateV1` summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg `eth_simulateV1` summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value depositWithApprovalTxn: type: array items: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; per-leg `eth_simulateV1` summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - to - value required: - createFeeTxn - depositWithApprovalTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls - title: Generated schema for EIP-7702 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string to: type: string data: type: string value: type: string batcherContract: type: string required: - from - chainId - referenceId - methodUsed - to - data - value - batcherContract example: status: 200 msg: success data: - chainId: '1' from: '0x3806a6b1A5fCe178AB64E55c652D46e669BC2318' to: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' value: '0' gas: '55000' data: '0x095ea7b300000000000000000000000087870Bca3F3fD6335C3F4ce8392D69350B4fA4E20000000000000000000000000000000000000000000000000000000000002710' referenceId: 7fb853868e4749879ef57d96aae5b9a2 - chainId: '1' from: '0x3806a6b1A5fCe178AB64E55c652D46e669BC2318' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' gas: '200000' data: '0xe8eda9df0000000000000000' referenceId: 7fb853868e4749879ef57d96aae5b9a2 x-bd-cu: '230' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/entermarket: post: tags: - lendborrow summary: Enter Market description: 'Initiate the approval process required for participating in a specific lending market. For example, in Compound, entering a market is a prerequisite before depositing assets and borrowing funds. This endpoint configures your account with the necessary permissions using customizable gas parameters to ensure a smooth setup. > 💡 **Compute Unit Value:** `90` (Fixed)' operationId: lendborrowEntermarket requestBody: required: true description: The request body for a /defi/v1/lendborrow/entermarket content: application/json: schema: $ref: '#/components/schemas/_lendborrow_entermarket_Request' example: lendborrowId: '1100' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value enterMarketTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - enterMarketTxn example: status: 200 msg: success data: chainId: '1' from: '0x63056E00436Da25BcF48A40dfBbDcc7089351006' to: '0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b' value: '0' gas: '298800' estimationCheck: true data: '0xc2998238000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643' referenceId: b2975c19e2594dcabbf193d25b4b6100 x-bd-cu: '90' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/entermarketstatus: get: tags: - lendborrow summary: Enter Market Status description: 'Retrieves the approval status for a user’s participation in Compound protocol markets. It checks whether the necessary permissions have been granted for depositing assets into these markets and returns a list of contract addresses representing the approved markets. Use this endpoint to verify that the user is properly set up for deposit transactions before proceeding. > 💡 **Compute Unit Value:** `120` (Fixed)' operationId: lendborrowEntermarketstatus parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1100' example: '1100' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: account in: query required: true schema: type: string description: Public address of the user whose deposit approval status needs to be checked. example: '0x6Fb447Ae94F5180254D436A693907a1f57696900' description: Public address of the user whose deposit approval status needs to be checked. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: enterMarketStatus: type: array items: type: string description: List of market entry statuses required: - enterMarketStatus example: status: 200 msg: success data: enterMarketStatus: - '0x20572e4c090f15667cF7378e16FaD2eA0e2f3EfF' - '0x822397d9a55d0fefd20F5c4bCaB33C5F65bd28Eb' - '0xCEC4a43eBB02f9B80916F1c718338169d6d5C1F0' x-bd-cu: '120' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/exitisolationmode: post: tags: - lendborrow summary: Exit Isolation Mode description: 'Remove isolation mode restrictions on specific assets. If an asset is isolated due to risk management settings, this endpoint allows you to exit isolation mode—restoring full flexibility in its use as collateral. Customizable gas parameters help ensure the operation executes efficiently on-chain. > 💡 **Compute Unit Value:** `110` (Fixed)' operationId: lendborrowExitisolationmode requestBody: required: true description: The request body for a /defi/v1/lendborrow/exitisolationmode content: application/json: schema: $ref: '#/components/schemas/_lendborrow_exitisolationmode_Request' example: lendborrowId: '1200' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value exitIsolationModeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - exitIsolationModeTxn example: status: 200 msg: success data: chainId: '1' from: '0xf7426829DBAAc7F26b48C49A04a93fc4f75cfa41' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' gas: '429000' data: '0x5a3b74b90000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a20000000000000000000000000000000000000000000000000000000000000000' estimationCheck: true referenceId: 8581446eb9aa421dabf15ce8b55cb25d x-bd-cu: '110' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/exitmarket: post: tags: - lendborrow summary: Exit Market description: 'Process your exit from a lending market. By executing this transaction, you effectively remove your participation (and any associated collateral) from the market, thereby ceasing deposit or borrowing operations on that asset. The endpoint supports customizable gas settings to optimize the exit process. > 💡 **Compute Unit Value:** `10` (Fixed)' operationId: lendborrowExitmarket requestBody: required: true description: The request body for a /defi/v1/lendborrow/exitmarket content: application/json: schema: $ref: '#/components/schemas/_lendborrow_exitmarket_Request' example: lendborrowId: '1100' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' gas: '100000' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gasPriority: low enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value exitMarketTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - exitMarketTxn example: status: 200 msg: success data: chainId: '1' from: '0x6Fb447Ae94F5180254D436A693907a1f57696900' to: '0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b' value: '0' gas: '40000' data: '0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643' estimationCheck: true referenceId: 2a7d6bd372b14b20b4d854daa01487b3 x-bd-cu: '10' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/getassetinfo: get: tags: - lendborrow summary: Get Asset Info description: 'Returns comprehensive asset metrics including liquidation thresholds, collateral factors, and price feed data for specified tokens in lending markets. > 💡 **Compute Unit Value:** `110` (Fixed)' operationId: lendborrowGetassetinfo parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: asset in: query required: true schema: type: string description: Token's address to retrieve details for. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' description: Token's address to retrieve details for. - name: market in: query required: false schema: type: string description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. example: USDC description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: index: type: string description: Asset index or identifier example: '0' priceFeedAddress: type: string description: Address of price feed contract borrowCollateralFactor: type: string description: Collateral factor for borrowing liquidateCollateralFactor: type: string description: Collateral factor for liquidation liquidationFactor: type: string description: Factor used in liquidation calculations required: - index - priceFeedAddress - borrowCollateralFactor - liquidateCollateralFactor - liquidationFactor example: status: 200 msg: success data: index: '3' priceFeedAddress: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984' borrowCollateralFactor: '75' liquidateCollateralFactor: '81' liquidationFactor: '15' x-bd-cu: '110' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/getclaimedrewards: get: tags: - lendborrow summary: Get Claimed Rewards description: 'Fetch the history and cumulative amount of protocol rewards you have claimed. This endpoint provides insight into your reward accrual over time, helping you track your earnings and assess the overall profitability of your lending activities. > 💡 **Compute Unit Value:** `100` (Fixed)' operationId: lendborrowGetclaimedrewards parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: address in: query required: true schema: type: string description: Public address of the user to retrieve claimed rewards for. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the user to retrieve claimed rewards for. - name: market in: query required: false schema: type: string description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. example: USDC description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: rewardAccured: type: string description: Rewards accumulated by a user required: - rewardAccured example: status: 200 msg: success data: rewardAccured: '249597000000000000' x-bd-cu: '100' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/getgovernordata: get: tags: - lendborrow summary: Get Governor Data description: 'Retrieve governance and market configuration data for the lending protocol. The returned data covers the protocol’s pause statuses, configuration parameters, and asset-specific settings. This information is vital for understanding how governance decisions and protocol parameters may impact your lending and borrowing positions. > 💡 **Compute Unit Value:** `110` (Fixed)' operationId: lendborrowGetgovernordata parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: market in: query required: false schema: type: string description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. example: USDC description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: isSupplyPaused: type: boolean description: Whether supply operations are paused isTransferPaused: type: boolean description: Whether transfers are paused isWithdrawPaused: type: boolean description: Whether withdrawals are paused isAbsorbPaused: type: boolean description: Whether absorb operations are paused isBuyPaused: type: boolean description: Whether buys are paused cometConfiguration: type: object properties: governor: type: string description: Address of governance contract or admin pauseGuardian: type: string description: Address of pause guardian baseToken: type: string description: Base token address baseTokenPriceFeed: type: string description: Price feed for base token extensionDelegate: type: string description: Extension delegate address supplyKink: type: string description: Supply interest rate kink point supplyPerYearInterestRateSlopeLow: type: string description: Supply rate slope before kink supplyPerYearInterestRateSlopeHigh: type: string description: Supply rate slope after kink supplyPerYearInterestRateBase: type: string description: Base supply interest rate borrowKink: type: string description: Borrow interest rate kink point borrowPerYearInterestRateSlopeLow: type: string description: Borrow rate slope before kink borrowPerYearInterestRateSlopeHigh: type: string description: Borrow rate slope after kink borrowPerYearInterestRateBase: type: string description: Base borrow interest rate storeFrontPriceFactor: type: string description: Storefront price factor for protocol trackingIndexScale: type: string description: Tracking index scale baseTrackingSupplySpeed: type: string description: Base tracking speed for supply rewards baseTrackingBorrowSpeed: type: string description: Base tracking speed for borrow rewards baseMinForRewards: type: string description: Minimum base for rewards eligibility baseBorrowMin: type: string description: Minimum base borrow requirement targetReserves: type: string description: Target reserves for protocol assetConfigs: type: array items: type: array items: type: string description: Array of asset configuration parameters required: - governor - pauseGuardian - baseToken - baseTokenPriceFeed - extensionDelegate - supplyKink - supplyPerYearInterestRateSlopeLow - supplyPerYearInterestRateSlopeHigh - supplyPerYearInterestRateBase - borrowKink - borrowPerYearInterestRateSlopeLow - borrowPerYearInterestRateSlopeHigh - borrowPerYearInterestRateBase - storeFrontPriceFactor - trackingIndexScale - baseTrackingSupplySpeed - baseTrackingBorrowSpeed - baseMinForRewards - baseBorrowMin - targetReserves - assetConfigs description: Configuration object for a lending protocol's comet module required: - isSupplyPaused - isTransferPaused - isWithdrawPaused - isAbsorbPaused - isBuyPaused - cometConfiguration example: status: 200 msg: success data: isSupplyPaused: false isTransferPaused: false isWithdrawPaused: false isAbsorbPaused: false isBuyPaused: false cometConfiguration: governor: '0x6d903f6003cca6255D85CcA4D3B5E5146dC33925' pauseGuardian: '0xbbf3f1421D886E9b2c5D716B5192aC998af2012c' baseToken: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' baseTokenPriceFeed: '0xD72ac1bCE9177CFe7aEb5d0516a38c88a64cE0AB' extensionDelegate: '0xe2C1F54aFF6b38fD9DF7a69F22cB5fd3ba09F030' supplyKink: '900000000000000000' supplyPerYearInterestRateSlopeLow: '23000000000000000' supplyPerYearInterestRateSlopeHigh: '1000000000000000000' supplyPerYearInterestRateBase: '0' borrowKink: '900000000000000000' borrowPerYearInterestRateSlopeLow: '30000000000000000' borrowPerYearInterestRateSlopeHigh: '1000000000000000000' borrowPerYearInterestRateBase: '5000000000000000' storeFrontPriceFactor: '1000000000000000000' trackingIndexScale: '1000000000000000' baseTrackingSupplySpeed: '810185185185' baseTrackingBorrowSpeed: '0' baseMinForRewards: '1000000000000000000000' baseBorrowMin: '100000000000000000' targetReserves: '5000000000000000000000' assetConfigs: - - '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704' - '0x23a982b74a3236A5F2297856d4391B2edBBB5549' - '18' - '900000000000000000' - '930000000000000000' - '975000000000000000' - '40000000000000000000000' - - '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0' - '0x4F67e4d9BD67eFa28236013288737D39AeF48e79' - '18' - '900000000000000000' - '930000000000000000' - '975000000000000000' - '64500000000000000000000' - - '0xae78736Cd615f374D3085123A210448E74Fc6393' - '0xA3A7fB5963D1d69B95EEC4957f77678EF073Ba08' - '18' - '900000000000000000' - '930000000000000000' - '975000000000000000' - '30000000000000000000000' x-bd-cu: '110' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/getmaxamounts: get: tags: - lendborrow summary: Get Max Amounts description: 'Calculate the maximum amounts you can withdraw or borrow for a specific asset. Based on your collateral and current market conditions, this endpoint determines your borrowing and withdrawal limits, empowering you to manage risk and plan your next steps effectively. > 💡 **Compute Unit Value:** `110` (Fixed)' operationId: lendborrowGetmaxamounts parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: address in: query required: true schema: type: string description: Public address of the user to retrieve max amounts for. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the user to retrieve max amounts for. - name: asset in: query required: true schema: type: string description: Token's address for which the details are required. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' description: Token's address for which the details are required. - name: market in: query required: false schema: type: string description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. example: USDC description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: maxWithdrawalAmount: type: string description: Maximum withdrawal amount allowed maxBorrowableAmount: type: string description: Maximum borrowable amount allowed required: - maxWithdrawalAmount - maxBorrowableAmount example: status: 200 msg: success data: maxWithdrawalAmount: '0.0183' maxBorrowableAmount: '52.9195' x-bd-cu: '110' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/getuseraccountdata: get: tags: - lendborrow summary: Get User Account Data description: 'Provide detailed account metrics for a user, including available amounts for repayment, borrowing, and withdrawal, as well as the health factor—a key indicator of account risk. This endpoint is crucial for monitoring your overall position and managing risk within the lending protocol. > 💡 **Compute Unit Value:** `110` (Fixed)' operationId: lendborrowGetuseraccountdata parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: asset in: query required: true schema: type: string description: Asset value matching the market. Defaults to USDC if market is not provided. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' description: Asset value matching the market. Defaults to USDC if market is not provided. - name: address in: query required: true schema: type: string description: Public address of the sender. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the sender. - name: interestRateMode in: query required: true schema: type: string description: Interest rate mode as defined by Aave. Default is 1. example: '1' description: Interest rate mode as defined by Aave. Default is 1. - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: useCustomVaults in: query required: false schema: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. - name: market in: query required: false schema: type: string description: Asset market, such as USDC or WETH. Defaults to USDC if not provided. example: USDC description: Asset market, such as USDC or WETH. Defaults to USDC if not provided. - name: marketId in: query required: true schema: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' description: Specifies the market Id of any market in Morpho. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: tokenAddress: type: string description: Blockchain address of a token contract example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' loanToken: type: string collateralToken: type: string repayAmount: type: string borrowAmount: type: string withdrawAmount: type: string borrowErrorMessage: type: string healthFactor: type: string isHealthy: type: boolean prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' required: - healthFactor - prices additionalProperties: false example: status: 200 msg: success data: loanToken: '0x4200000000000000000000000000000000000006' collateralToken: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' withdrawAmount: '27603' borrowAmount: '6578056778199' repayAmount: '17251486154514' isHealthy: true healthFactor: '1381303538641903951' tokenAddress: '0x2b2c81e08f1af8835a78bb2a90ae924ace0ea4be' borrowErrorMessage: The Stable Rate is not enabled for this currency prices: usd: - '0x4200000000000000000000000000000000000006': '3604.381135033486' - '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913': '0.9999131743897419' x-bd-cu: '110' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/migrate: post: tags: - lendborrow summary: Migrate description: 'Facilitate the migration of your positions between different lending protocols. This endpoint enables you to seamlessly transfer your assets from one protocol to another, ensuring continuity of your positions while optimizing gas usage and minimizing downtime. > 💡 **Compute Unit Value:** `105` (Fixed)' operationId: lendborrowMigrate requestBody: required: true description: The request body for a /defi/v1/lendborrow/migrate content: application/json: schema: $ref: '#/components/schemas/_lendborrow_migrate_Request' example: lendborrowId: '1200' assets: 0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2 from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value migrateTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - migrateTxn example: status: 200 msg: success data: chainId: '1' from: '0x356dB816602c85e2075774bB77D13995c8Bab023' to: '0xb748952c7bc638f31775245964707bcc5ddfabfc' estimationCheck: true value: '0' gas: '329000' data: '0x3698d492000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' referenceId: 76137704aa884a90b6a47082bc65e735 x-bd-cu: '105' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/pool: get: tags: - lendborrow summary: Get Pool description: 'Retrieve current lending and borrowing rates (APYs) for a specified asset within a pool. You receive key metrics such as variable/stable borrow and supply rates, loan-to-value ratios, available liquidity, and reserve size. This data is essential for evaluating the attractiveness and risk of entering or exiting a market. > 💡 **Compute Unit Value:** `110` (Fixed)' operationId: lendborrowPool parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: asset in: query required: true schema: type: string description: Specifies the asset to be used in the lending/borrowing operation. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' description: Specifies the asset to be used in the lending/borrowing operation. - name: useCustomVaults in: query required: false schema: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. - name: marketId in: query required: false schema: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' description: Specifies the market Id of any market in Morpho. - name: vaultAddress in: query required: false schema: type: string description: Specifies the vaultAddress of any vault in Morpho. example: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' description: Specifies the vaultAddress of any vault in Morpho. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: oneOf: - type: object properties: tokenSymbol: type: string description: Name or symbol of an asset example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' tokenAddress: type: string description: Blockchain address of a token contract example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' logoUrl: type: - string - 'null' description: URL for the asset's logo tags: type: - array - 'null' items: type: string description: List of category or classification tags poolAddress: type: string description: Address of a liquidity or lending pool example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' variableBorrowRate: type: string description: Current variable borrow interest rate stableBorrowRate: type: string description: Current stable borrow interest rate estimatedVariableBorrowAPY: type: string description: Estimated variable Annual Percentage Yield for borrowing estimatedStableBorrowAPY: type: string description: Estimated stable Annual Percentage Yield for borrowing variableSupplyRate: type: string description: Variable supply interest rate stableSupplyRate: type: string description: Stable supply interest rate estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing ltv: oneOf: - type: string - type: array items: type: object additionalProperties: type: string description: Loan-to-value ratio availableLiquidity: type: string description: Available liquidity in a pool reserveSize: type: string description: Total reserve size in a pool required: - tokenSymbol - tokenAddress - poolAddress - variableBorrowRate - stableBorrowRate - estimatedVariableBorrowAPY - estimatedStableBorrowAPY - variableSupplyRate - stableSupplyRate - estimatedSupplyAPY - ltv - availableLiquidity - reserveSize additionalProperties: false - type: array items: type: object properties: tokenSymbol: type: string description: Name or symbol of an asset example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' vaultName: type: string description: Human-readable vault name vaultSymbol: type: string description: Symbol of the vault vaultAddress: type: string description: Address of the vault curators: type: - array - 'null' items: type: string description: List of vault curators tokenAddress: type: string description: Blockchain address of a token contract example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' balance: type: string description: Balance of the underlying asset logoUrl: type: - string - 'null' description: URL for the asset's logo tags: type: - array - 'null' items: type: string description: List of category or classification tags variableSupplyRate: type: string description: Supply interest rate estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing availableLiquidity: type: string description: Available liquidity in a pool reserveSize: type: string description: Total reserve size in a pool required: - tokenSymbol - vaultName - vaultSymbol - vaultAddress - tokenAddress - logoUrl - tags - variableSupplyRate - estimatedSupplyAPY - availableLiquidity - reserveSize additionalProperties: false minItems: 1 - type: object properties: marketId: type: string description: Unique market identifier example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' collateralToken: type: string description: Collateral token address irm: type: string description: Interest rate model identifier lltv: type: string description: Loan-to-liquidation value ratio loanToken: type: string description: Loan token address oracle: type: string description: Address of price oracle collateralTokenLogo: type: - string - 'null' description: URL for collateral token logo collateralTokenTags: type: - array - 'null' items: type: string description: Tags for collateral token loanTokenLogo: type: - string - 'null' description: URL for loan token logo loanTokenTags: type: - array - 'null' items: type: string description: Tags for loan token totalSupplyAssets: type: string description: Total supplied assets in a market totalSupplyShares: type: string description: Total supply shares in a market totalBorrowAssets: type: string description: Total borrowed assets in a market totalBorrowShares: type: string description: Total borrow shares in a market variableSupplyRate: type: string description: Supply interest rate estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing stableBorrowRate: type: string description: Current stable borrow interest rate variableBorrowRate: type: string description: Current variable borrow interest rate estimatedVariableBorrowAPY: type: string description: Estimated variable Annual Percentage Yield for borrowing estimatedStableBorrowAPY: type: string description: Estimated stable Annual Percentage Yield for borrowing required: - marketId - collateralToken - irm - lltv - loanToken - oracle - totalSupplyAssets - totalSupplyShares - totalBorrowAssets - totalBorrowShares - variableSupplyRate - estimatedSupplyAPY - stableBorrowRate - variableBorrowRate - estimatedVariableBorrowAPY - estimatedStableBorrowAPY additionalProperties: false - type: object properties: tokenSymbol: type: string description: Name or symbol of an asset vaultAddress: type: string description: Address of the vault vaultName: type: string description: Human-readable vault name vaultSymbol: type: string description: Symbol of the vault tokenAddress: type: string description: Blockchain address of a token contract logoUrl: type: - string - 'null' description: URL for the asset's logo tags: type: - array - 'null' items: type: string description: List of category or classification tags variableSupplyRate: type: string description: Supply interest rate estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing availableLiquidity: type: string description: Available liquidity in a pool reserveSize: type: string description: Total reserve size in a pool curators: type: - array - 'null' items: type: string required: - tokenSymbol - vaultAddress - vaultName - vaultSymbol - tokenAddress - variableSupplyRate - estimatedSupplyAPY - availableLiquidity - reserveSize additionalProperties: false example: status: 200 msg: success data: tokenSymbol: USDC tokenAddress: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' logoUrl: https://images.ctfassets.net/hwqnbx905qdp/153HkqSJWC5wZw7YNCZbQc/c7222120de244ea254c9bc4bdef76fae/eip155_1-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48.webp tags: - stablecoin poolAddress: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9' variableBorrowRate: '12.40' stableBorrowRate: '10.18' estimatedVariableBorrowAPY: '13.20' estimatedStableBorrowAPY: '10.72' stableSupplyRate: '0' variableSupplyRate: '0.66' estimatedSupplyAPY: '0.66' ltv: '75' availableLiquidity: '18084423956211' reserveSize: '28038923513755' x-bd-cu: '110' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/pools: get: tags: - lendborrow summary: Get Pools description: 'Fetch a comprehensive overview of supply and borrow APYs across multiple assets in lending pools. The endpoint aggregates data such as interest rates, liquidity, reserve sizes, and token-specific details (like symbols and addresses) to help you compare opportunities across different markets. > 💡 **Compute Unit Value:** `135` (Fixed)' operationId: lendborrowPools parameters: - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: assets in: query required: true schema: type: string description: Comma-separated list of asset address of Morpho vaults. example: 0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2 description: Comma-separated list of asset address of Morpho vaults. - name: address in: query required: false schema: type: string description: Public address of the user. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the user. - name: vsCurrencies in: query required: false schema: type: string description: Comma-separated list of currencies to include in the response. example: usd,eur,gbp description: Comma-separated list of currencies to include in the response. - name: useCustomVaults in: query required: false schema: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. - name: markets in: query required: false schema: type: string description: Comma-separated list of market Ids of Morpho markets. example: '0x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64' description: Comma-separated list of market Ids of Morpho markets. - name: vaults in: query required: false schema: type: string description: Comma-separated list of vaults addresses of Morpho vaults. example: '0x73e65DBD630f90604062f6E02fAb9138e713edD9' description: Comma-separated list of vaults addresses of Morpho vaults. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer description: Numeric status code indicating success or failure of the API call msg: type: string description: Human-readable message describing the API result or error data: oneOf: - type: object additionalProperties: type: object properties: tokenSymbol: type: string tokenAddress: type: string logoUrl: type: - string - 'null' tags: type: - array - 'null' items: type: string poolAddress: type: string variableBorrowRate: type: string stableBorrowRate: type: string estimatedVariableBorrowAPY: type: string description: Estimated variable Annual Percentage Yield for borrowing estimatedStableBorrowAPY: type: string description: Estimated stable Annual Percentage Yield for borrowing variableSupplyRate: type: string stableSupplyRate: type: string estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing ltv: oneOf: - type: string - type: array items: type: object additionalProperties: type: string availableLiquidity: type: string reserveSize: type: string balance: type: string prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' repayAmount: type: string borrowAmount: type: string borrowErrorMessage: type: string withdrawAmount: type: string healthFactor: type: string required: - tokenSymbol - tokenAddress - logoUrl - tags - poolAddress - variableBorrowRate - stableBorrowRate - estimatedVariableBorrowAPY - estimatedStableBorrowAPY - variableSupplyRate - stableSupplyRate - estimatedSupplyAPY - ltv - availableLiquidity - reserveSize additionalProperties: true - type: object properties: markets: type: array items: type: object properties: marketId: type: string collateralToken: type: string irm: type: string lltv: type: string loanToken: type: string oracle: type: string collateralTokenLogo: type: - string - 'null' collateralTokenTags: type: - array - 'null' items: type: string loanTokenLogo: type: - string - 'null' loanTokenTags: type: - array - 'null' items: type: string totalSupplyAssets: type: string totalSupplyShares: type: string totalBorrowAssets: type: string totalBorrowShares: type: string stableBorrowRate: type: string variableSupplyRate: type: string variableBorrowRate: type: string estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing estimatedVariableBorrowAPY: type: string description: Estimated variable Annual Percentage Yield for borrowing estimatedStableBorrowAPY: type: string description: Estimated stable Annual Percentage Yield for borrowing prices: type: object properties: usd: type: array items: type: object additionalProperties: true minProperties: 1 maxProperties: 1 description: USD-denominated price or array of price points required: - usd description: Price data object additionalProperties: false required: - marketId - collateralToken - irm - lltv - loanToken - oracle - collateralTokenLogo - collateralTokenTags - loanTokenLogo - loanTokenTags - totalSupplyAssets - totalSupplyShares - totalBorrowAssets - totalBorrowShares - variableSupplyRate - variableBorrowRate - estimatedSupplyAPY - estimatedVariableBorrowAPY - estimatedStableBorrowAPY - stableBorrowRate - prices vaults: type: array items: type: object properties: tokenSymbol: type: string logoUrl: type: - string - 'null' tags: type: - array - 'null' items: type: string vaultName: type: string vaultSymbol: type: string vaultAddress: type: string tokenAddress: type: string variableSupplyRate: type: string estimatedSupplyAPY: type: string description: Estimated supply Annual Percentage Yield for borrowing availableLiquidity: type: string reserveSize: type: string balance: type: string curators: type: array items: type: string prices: type: object properties: usd: type: array items: type: object additionalProperties: true minProperties: 1 maxProperties: 1 description: USD-denominated price or array of price points required: - usd description: Price data object required: - tokenSymbol - vaultName - vaultSymbol - vaultAddress - tokenAddress - variableSupplyRate - logoUrl - tags - estimatedSupplyAPY - availableLiquidity - reserveSize - curators - prices additionalProperties: false required: - markets - vaults additionalProperties: false example: status: 200 msg: success data: markets: - marketId: '0xff527fe9c6516f9d82a3d51422ccb031d123266e6e26d4c22c942a948c180a75' collateralToken: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599' collateralTokenLogo: https://images.ctfassets.net/hwqnbx905qdp/2ILv9flOf27yZeSfyF8K9F/8f77a74b6c7cd5ab69760bfc1f4bd2a4/eip155_1-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.webp collateralTokenTags: null irm: '0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC' lltv: '86.00' loanToken: '0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c' loanTokenLogo: null loanTokenTags: null oracle: '0x9CB3f4276bcD149b3668e1a645a964bC12877b89' totalSupplyAssets: '4750584638555' totalSupplyShares: '4585802376984915673' totalBorrowAssets: '3638389458234' totalBorrowShares: '3493954191050895767' stableBorrowRate: '0' variableSupplyRate: '3.51' variableBorrowRate: '4.58' estimatedSupplyAPY: '3.57' estimatedVariableBorrowAPY: '4.69' estimatedStableBorrowAPY: '0' prices: usd: - '0x1abaea1f7c830bd89acc67ec4af516284b1bc33c': '1.1679815414623602' - '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599': '90184.2492076203' vaults: - tokenSymbol: BOLD vaultName: BOLD Reactor vaultSymbol: BOLDCS vaultAddress: '0xfBC84DBfAA2196853FdB6cAE52ef8F56DD76770a' logoUrl: null tags: null tokenAddress: '0x6440f144b7e50D6a8439336510312d2F54beB01D' variableSupplyRate: '0.85' estimatedSupplyAPY: '0.85' availableLiquidity: '1160267009238291908512' reserveSize: '1120211242720310938833' prices: usd: - '0x6440f144b7e50d6a8439336510312d2f54beb01d': '1.0004857098551891' x-bd-cu: '135' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/repay: post: tags: - lendborrow summary: Repay description: 'Process the repayment of borrowed assets to the lending protocol. Whether you’re reducing your debt or fully repaying a loan, this endpoint lets you specify the asset, amount, and repayment mode. Customizable gas parameters allow you to tailor the transaction for cost efficiency and timely execution. > 💡 **Compute Unit Value:** `255` (Fixed)' operationId: lendborrowRepay requestBody: required: true description: The request body for a /defi/v1/lendborrow/repay content: application/json: schema: $ref: '#/components/schemas/_lendborrow_repay_Request' example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' interestRateMode: '1' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' amount: '1000000000000000000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value repayTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - repayTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls - title: Generated schema for EIP-7702 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string to: type: string data: type: string value: type: string batcherContract: type: string required: - from - chainId - referenceId - methodUsed - to - data - value - batcherContract example: status: 200 msg: success data: chainId: '1' from: '0x63056E00436Da25BcF48A40dfBbDcc7089351006' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' estimationCheck: true gas: '408298' data: '0x573ade81000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000063056e00436da25bcf48a40dfbbdcc7089351006' referenceId: 206365ea298a46c790b0ae51add101c3 x-bd-cu: '255' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/setuseremode: post: tags: - lendborrow summary: Set User E-Mode description: 'Configure your E-Mode (efficiency mode) settings within the lending protocol. By selecting the appropriate category (such as default or stablecoin mode), you can optimize your borrowing power and interest rates. Customizable gas settings ensure that the adjustment is processed quickly and efficiently. > 💡 **Compute Unit Value:** `115` (Fixed)' operationId: lendborrowSetuseremode requestBody: required: true description: The request body for a /defi/v1/lendborrow/setuseremode content: application/json: schema: $ref: '#/components/schemas/_lendborrow_setuseremode_Request' example: lendborrowId: '1200' categoryId: '0' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value setUserEModeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - setUserEModeTxn example: status: 200 msg: success data: chainId: '1' from: '0x829bFB482331b9Dc2BEcb5483ecA79c0578c3A45' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' estimationCheck: true gas: '408298' data: '0x28530a470000000000000000000000000000000000000000000000000000000000000001' referenceId: 85e2f3fd6c904f2bb55305c1d9075ee3 x-bd-cu: '115' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/transfer: post: tags: - lendborrow summary: Transfer description: 'Execute an internal transfer of deposited assets between accounts within the protocol. This operation enables you to reassign collateral or reallocate funds without exiting the system, all while optimizing gas usage to keep costs low. > 💡 **Compute Unit Value:** `100` (Fixed)' operationId: lendborrowTransfer requestBody: required: true description: The request body for a /defi/v1/lendborrow/transfer content: application/json: schema: $ref: '#/components/schemas/_lendborrow_transfer_Request' example: lendborrowId: '1300' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amount: '1000000000000000000' gas: '100000' gasPriority: low market: USDC enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value transferTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - transferTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls example: status: 200 msg: success data: chainId: '1' from: '0x6Fb447Ae94F5180254D436A693907a1f57696900' to: '0xc3d688B66703497DAA19211EEdff47f25384cdc3' value: '0' gas: '50000' estimationCheck: true data: '0xa9059cbb0000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240' referenceId: 327ae3106cf149dd98cd060db515a4ef x-bd-cu: '100' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/userpositions: get: tags: - lendborrow summary: Get User Positions description: 'Deliver a comprehensive snapshot of your active lending and borrowing positions across supported markets. The response details each position’s collateral (such as aTokens and underlying assets), balance scales, and collateral usage status, offering a clear picture of your overall exposure and risk profile. > 💡 **Compute Unit Value:** `115` (Fixed)' operationId: lendborrowUserpositions parameters: - name: address in: query required: true schema: type: string description: Public address of the sender. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the sender. - name: lendborrowId in: query required: false schema: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: assets in: query required: false schema: type: string description: Comma-separated list of token addresses to filter specific assets. If omitted, data for all supported assets will be returned. example: 0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2 description: Comma-separated list of token addresses to filter specific assets. If omitted, data for all supported assets will be returned. - name: useCustomVaults in: query required: false schema: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. - name: marketId in: query required: false schema: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' description: Specifies the market Id of any market in Morpho. - name: vaultAddress in: query required: false schema: type: string description: Specifies the vaultAddress of any vault in Morpho. example: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' description: Specifies the vaultAddress of any vault in Morpho. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number msg: type: string data: oneOf: - type: object properties: tokenAddress: type: string repayAmount: type: string borrowAmount: type: string withdrawAmount: type: string borrowErrorMessage: type: string healthFactor: type: string isHealthy: type: boolean loanToken: type: string collateralToken: type: string prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' required: - healthFactor - prices additionalProperties: false - type: array items: type: object properties: aToken: type: string cToken: type: string tokenAddress: type: string underlyingAsset: oneOf: - type: string - type: array items: type: string usageAsCollateralEnabledOnUser: type: boolean scaledATokenBalance: type: string scaledCTokenBalance: type: string baseTokenBalance: type: string currentBalance: type: string scaledVariableDebt: type: string currentDebt: type: string interestAPRPercentage: type: string accruedInterest: type: string rewardsAPYPercentage: type: string estimatedSupplyAPY: type: string estimatedStableBorrowAPY: type: string estimatedVariableBorrowAPY: type: string accruedRewards: type: string prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' required: - underlyingAsset - usageAsCollateralEnabledOnUser - prices additionalProperties: false - type: object properties: collateralToken: type: string loanToken: type: string supplyShares: type: string borrowShares: type: string estimatedSupplyAPY: type: string estimatedVariableBorrowAPY: type: string collateral: type: string usageAsCollateralEnabledOnUser: type: string prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' required: - collateralToken - loanToken - supplyShares - borrowShares - collateral - estimatedSupplyAPY - estimatedVariableBorrowAPY - usageAsCollateralEnabledOnUser - prices - type: array items: anyOf: - type: object required: - vaultAddress - underlyingAsset - supplyAmount - supplyShares - currentBalance - estimatedSupplyAPY - scaledATokenBalance - accruedRewards - rewardsAPYPercentage - usageAsCollateralEnabledOnUser - curators - prices additionalProperties: false properties: vaultAddress: type: string underlyingAsset: type: string supplyAmount: type: string supplyShares: type: string currentBalance: type: string estimatedSupplyAPY: type: string scaledATokenBalance: type: string accruedRewards: type: - string - 'null' rewardsAPYPercentage: type: - string - 'null' usageAsCollateralEnabledOnUser: type: boolean curators: type: array items: type: string prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' - type: object properties: marketId: type: string underlyingAsset: type: - string - 'null' collateralToken: type: - string - 'null' loanToken: type: string supplyShares: type: string borrowShares: type: string currentBalance: type: string scaledATokenBalance: type: string currentDebt: type: string scaledVariableDebt: type: string accruedRewards: type: - string - 'null' accruedInterest: type: - string - 'null' rewardsAPYPercentage: type: - string - 'null' interestAPRPercentage: type: - string - 'null' estimatedSupplyAPY: type: string estimatedVariableBorrowAPY: type: string collateral: type: string usageAsCollateralEnabledOnUser: type: boolean prices: type: object additionalProperties: type: array items: type: object additionalProperties: type: string description: Token price as a string number or 'NA' example: '0.12345' required: - marketId - underlyingAsset - collateralToken - loanToken - supplyShares - borrowShares - currentBalance - scaledATokenBalance - currentDebt - scaledVariableDebt - accruedRewards - accruedInterest - rewardsAPYPercentage - interestAPRPercentage - estimatedSupplyAPY - estimatedVariableBorrowAPY - collateral - usageAsCollateralEnabledOnUser - prices additionalProperties: false example: status: 200 msg: success data: - underlyingAsset: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4' scaledATokenBalance: '1894191440211515' usageAsCollateralEnabledOnUser: true aToken: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530' currentBalance: '1903493736006277' rewardsAPYPercentage: '0.00' accruedRewards: '9302295794762' estimatedSupplyAPY: '1.03' prices: usd: - '0xf97f4df75117a78c1a5a0dbb814af92458539fb4': '14.280231987048252' x-bd-cu: '115' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/withdraw: post: tags: - lendborrow summary: Withdraw description: 'Process the withdrawal of your deposited assets from the lending protocol. Specify the asset, amount, and recipient address, and use customizable gas parameters to ensure that the withdrawal is executed efficiently. This endpoint allows you to retrieve funds when needed while managing your overall position. > 💡 **Compute Unit Value:** `205` (Fixed)' operationId: lendborrowWithdraw requestBody: required: true description: The request body for a /defi/v1/lendborrow/withdraw content: application/json: schema: $ref: '#/components/schemas/_lendborrow_withdraw_Request' example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' collateral: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value withdrawTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - estimationCheck - to - value required: - createFeeTxn - withdrawTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls - title: Generated schema for EIP-7702 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string to: type: string data: type: string value: type: string batcherContract: type: string required: - from - chainId - referenceId - methodUsed - to - data - value - batcherContract example: status: 200 msg: success data: chainId: '1' from: '0x829bFB482331b9Dc2BEcb5483ecA79c0578c3A45' to: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2' value: '0' gas: '408298' estimationCheck: true data: '0x69328dec00000000000000000000000065afadd39029741b3b8f0756952c74678c9cec93000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000829bfb482331b9dc2becb5483eca79c0578c3a45' referenceId: 934bca3df66d411ab6ed56ab879badd9 x-bd-cu: '205' x-bd-cu-type: fixed x-internal: false /defi/v1/lendborrow/withdraw-with-approval: post: tags: - lendborrow summary: Withdraw With Approval description: 'Process the withdrawal of deposited assets from a lending protocol with automated approval handling. Returns an array of transactions: an ERC-20 approval transaction (only when required) followed by the withdrawal transaction. This eliminates the need for manual allowance management before withdrawal. > 💡 **Compute Unit Value:** `205` (Fixed)' operationId: lendborrowWithdrawWithApproval requestBody: required: true description: The request body for a /defi/v1/lendborrow/withdraw-with-approval content: application/json: schema: $ref: '#/components/schemas/_lendborrow_withdraw-with-approval_Request' example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' collateral: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: array description: 'Ordered EVM transactions: optional ERC-20 approve then withdraw, or withdraw only when allowance is sufficient.' items: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true`; per-leg `eth_simulateV1` summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - to - value - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg `eth_simulateV1` summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value withdrawWithApprovalTxn: type: array items: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' data: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; per-leg `eth_simulateV1` summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - data - referenceId - to - value required: - createFeeTxn - withdrawWithApprovalTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls - title: Generated schema for EIP-7702 type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string to: type: string data: type: string value: type: string batcherContract: type: string required: - from - chainId - referenceId - methodUsed - to - data - value - batcherContract example: status: 200 msg: success data: - chainId: '1' from: '0x829bFB482331b9Dc2BEcb5483ecA79c0578c3A45' to: '0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c' gas: '51692' value: '0' data: '0x095ea7b300000000000000000000000054d9abeed8415446f8c736d198a8797156b41a93000000000000000000000000000000000000000000000000002386f26fc10000' referenceId: 878b54fb5a674e4db5de982600669fce - chainId: '1' from: '0x829bFB482331b9Dc2BEcb5483ecA79c0578c3A45' to: '0x54d9ABeed8415446F8C736D198a8797156b41a93' gas: '500000' value: '0' data: '0xb460af94000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000829bfb482331b9dc2becb5483eca79c0578c3a45000000000000000000000000829bfb482331b9dc2becb5483eca79c0578c3a45' referenceId: 878b54fb5a674e4db5de982600669fce x-bd-cu: '205' x-bd-cu-type: fixed x-internal: false components: schemas: _lendborrow_withdraw_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' asset: type: string description: Token address of the asset to withdraw. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' to: type: string description: Blockchain address of the recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false useCustomVaults: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false market: type: string description: The market of the asset, such as USDC or WETH. Defaults to USDC. example: USDC marketId: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: type: string description: Specifies the vaultAddress of any vault in Morpho. example: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' onBehalfOf: type: string description: Public address of the user on whose behalf the borrow action will be executed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' collateral: type: boolean description: Specifies the condition for depositing the token as a supply to earn the yields only or use it as collateral to borrow loan asset. example: false required: - amount - to - from description: The request body for a /defi/v1/lendborrow/withdraw example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' collateral: false _lendborrow_claimrewards_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low market: type: string description: Defines the market or asset standard (e.g., USDC or WETH) to be used in the transaction. If not provided, the default market is set to USDC. example: USDC enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - from description: The request body for a /defi/v1/lendborrow/claimrewards example: lendborrowId: '1300' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low market: USDC enableFee: false simulate: false _lendborrow_borrow_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' asset: type: string description: The token address of the asset to borrow. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' interestRateMode: type: string description: Interest mode as per Aave. Use 0 for static and 1 for variable. example: '1' onBehalfOf: type: string description: Public address of the user on whose behalf the borrow action will be executed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false market: type: string description: Asset market, such as USDC or WETH. Defaults to USDC if not provided. example: USDC marketId: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' to: type: string description: Blockchain address of the recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' required: - asset - amount - interestRateMode - onBehalfOf - from - marketId - to description: The request body for a /defi/v1/lendborrow/borrow example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' interestRateMode: '1' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' _lendborrow_allow_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' manager: type: string description: The address of the account that will be granted or revoked manager permissions. example: '0xc3d688B66703497DAA19211EEdff47f25384cdc3' isAllowed: type: boolean description: Set to 'true' to allow the manager or 'false' to disallow the manager. Defaults to 'true'. example: false from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low market: type: string description: Standard market choice like USDC or WETH. Defaults to USDC if not specified. example: USDC enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - manager - isAllowed - from description: The request body for a /defi/v1/lendborrow/allow example: lendborrowId: '1300' manager: '0xc3d688B66703497DAA19211EEdff47f25384cdc3' isAllowed: false from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low market: USDC enableFee: false simulate: false _lendborrow_exitmarket_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1100' example: '1100' asset: type: string description: Token's symbol to exit the market. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - asset - from description: The request body for a /defi/v1/lendborrow/exitmarket example: lendborrowId: '1100' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' gas: '100000' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gasPriority: low enableFee: false simulate: false _lendborrow_withdraw-with-approval_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' asset: type: string description: Token address of the asset to withdraw. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' to: type: string description: Blockchain address of the recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false useCustomVaults: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false market: type: string description: The market of the asset, such as USDC or WETH. Defaults to USDC. example: USDC marketId: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: type: string description: Specifies the vaultAddress of any vault in Morpho. example: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' onBehalfOf: type: string description: Public address of the user on whose behalf the borrow action will be executed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' collateral: type: boolean description: Specifies the condition for depositing the token as a supply to earn the yields only or use it as collateral to borrow loan asset. example: false required: - amount - to - from description: The request body for a /defi/v1/lendborrow/withdraw-with-approval example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' collateral: false _lendborrow_setuseremode_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' example: '1200' categoryId: type: string description: Specifies the E-Mode category. Use 0 for default mode and 1 for stablecoins. enum: - '0' - '1' example: '0' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - categoryId - from description: The request body for a /defi/v1/lendborrow/setuseremode example: lendborrowId: '1200' categoryId: '0' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false simulate: false _lendborrow_bundleactions_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' actions: type: string description: An array of strings, where each string represents a specific lending or borrowing operation to execute. example: ACTION_SUPPLY_NATIVE_TOKEN data: type: string description: An array containing the encoded call data payloads corresponding to each action listed in the actions array. Each payload includes the parameters necessary for its respective operation. example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low market: type: string description: Defines the market or asset standard (e.g., USDC or WETH) to be used in the transaction. If not provided, the default market is set to USDC. example: USDC enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - actions - data - from description: The request body for a /defi/v1/lendborrow/bundleactions example: lendborrowId: '1300' actions: ACTION_SUPPLY_NATIVE_TOKEN data: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low market: USDC enableFee: false simulate: false _lendborrow_entermarket_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1100' example: '1100' asset: type: string description: Token symbol for the asset to be approved. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - asset - from description: The request body for a /defi/v1/lendborrow/entermarket example: lendborrowId: '1100' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' enableFee: false simulate: false _lendborrow_transfer_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1300' - '1302' example: '1300' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' asset: type: string description: Address of the token to be transferred. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' to: type: string description: Blockchain address of the recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low market: type: string description: Defines the market or asset standard (e.g., USDC or WETH) to be used in the transaction. If not provided, the default market is set to USDC. example: USDC enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - from - asset - to - amount description: The request body for a /defi/v1/lendborrow/transfer example: lendborrowId: '1300' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amount: '1000000000000000000' gas: '100000' gasPriority: low market: USDC enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false _lendborrow_deposit-with-approval_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' asset: type: string description: Token address of the asset to deposit. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' onBehalfOf: type: string description: Public address of the user on whose behalf the deposit action will be executed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false useCustomVaults: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false to: type: string description: Blockchain address of the recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' market: type: string description: The market of the asset, such as USDC or WETH. Defaults to USDC. example: USDC marketId: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: type: string description: Specifies the vaultAddress of any vault in Morpho. example: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' collateral: type: boolean description: Specifies the condition for depositing the token as a supply to earn the yields only or use it as collateral to borrow loan asset. example: false required: - amount - onBehalfOf - from description: The request body for a /defi/v1/lendborrow/deposit-with-approval example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' collateral: false _lendborrow_migrate_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1200' - '1205' example: '1200' assets: type: string description: Comma-separated list of token addresses to migrate. example: 0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2 from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - from description: The request body for a /defi/v1/lendborrow/migrate example: lendborrowId: '1200' assets: 0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2 from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' enableFee: false simulate: false _lendborrow_exitisolationmode_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' example: '1200' asset: type: string description: The token address for which isolation mode should be exited. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - asset - from description: The request body for a /defi/v1/lendborrow/exitisolationmode example: lendborrowId: '1200' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' enableFee: false simulate: false _lendborrow_repay_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' asset: type: string description: Token address of the asset to repay. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' interestRateMode: type: string description: Interest rate mode as defined by Aave. Default is 1. example: '1' onBehalfOf: type: string description: Public address of the user on whose behalf the repay action will be executed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false market: type: string description: The market of the asset, such as USDC or WETH. Defaults to USDC. example: USDC marketId: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' required: - asset - interestRateMode - onBehalfOf - from - amount - marketId description: The request body for a /defi/v1/lendborrow/repay example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' interestRateMode: '1' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' amount: '1000000000000000000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' _lendborrow_deposit_Request: type: object properties: lendborrowId: type: string description: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions. enum: - '1000' - '1003' - '1005' - '1200' - '1208' - '1203' - '1204' - '1205' - '1206' - '1207' - '1100' - '1300' - '1302' - '1400' - '1401' - '1402' - '1403' - '1404' example: '1000' asset: type: string description: Token address of the asset to deposit. example: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: type: string description: 'Number of tokens, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' onBehalfOf: type: string description: Public address of the user on whose behalf the deposit action will be executed. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false useCustomVaults: type: boolean description: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools. example: false to: type: string description: Blockchain address of the recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' market: type: string description: The market of the asset, such as USDC or WETH. Defaults to USDC. example: USDC marketId: type: string description: Specifies the market Id of any market in Morpho. example: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: type: string description: Specifies the vaultAddress of any vault in Morpho. example: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' collateral: type: boolean description: Specifies the condition for depositing the token as a supply to earn the yields only or use it as collateral to borrow loan asset. example: false required: - amount - onBehalfOf - from description: The request body for a /defi/v1/lendborrow/deposit example: lendborrowId: '1000' asset: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' amount: '1000000000000000000' onBehalfOf: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false useCustomVaults: false to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' market: USDC marketId: '0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5' vaultAddress: '0xa258C4606Ca8206D8aA700cE2143D7db854D168c' collateral: false securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-Key description: '`X-API-Key: ` header must be set to authenticate API requests.You can create tokens in the "Configure" tab of your API access area at https://app.blockdaemon.com.' externalDocs: description: Blockdaemon DeFi documentation url: http://www.blockdaemon.com/api/defi x-provenance: method: searched source: https://docs.blockdaemon.com/reference harvested: '2026-10-14' tool: harvest-readme-openapi.py note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored. assembled_from: - https://docs.blockdaemon.com/reference/aagetpaymasterdata.md - https://docs.blockdaemon.com/reference/aagetsignaturemessage.md - https://docs.blockdaemon.com/reference/aagetuserops.md - https://docs.blockdaemon.com/reference/aasenduserops.md - https://docs.blockdaemon.com/reference/accountv1allowance.md - https://docs.blockdaemon.com/reference/accountv1portfolio.md - https://docs.blockdaemon.com/reference/bridgeaddliquidity.md - https://docs.blockdaemon.com/reference/bridgegetliquidity.md - https://docs.blockdaemon.com/reference/bridgegetroute.md - https://docs.blockdaemon.com/reference/bridgegetsignature.md - https://docs.blockdaemon.com/reference/bridgegetsupportedchains.md - https://docs.blockdaemon.com/reference/bridgegetsupportedtokens.md - https://docs.blockdaemon.com/reference/bridgeprice.md - https://docs.blockdaemon.com/reference/bridgequotes.md - https://docs.blockdaemon.com/reference/bridgeremoveliquidity.md - https://docs.blockdaemon.com/reference/bridgeswap.md - https://docs.blockdaemon.com/reference/bridgeswaps.md - https://docs.blockdaemon.com/reference/bridgeswapwithapproval.md - https://docs.blockdaemon.com/reference/bridgetokens.md - https://docs.blockdaemon.com/reference/bridgetransactions.md - https://docs.blockdaemon.com/reference/bridgeunlock.md - https://docs.blockdaemon.com/reference/chaincreateaccount.md - https://docs.blockdaemon.com/reference/chaincreatefeetransaction.md - https://docs.blockdaemon.com/reference/chaindecodetransaction.md - https://docs.blockdaemon.com/reference/chainestimategas.md - https://docs.blockdaemon.com/reference/chaingenericsmartcontractmethod.md - https://docs.blockdaemon.com/reference/chaingetapprovaldata.md - https://docs.blockdaemon.com/reference/chaingetbalance.md - https://docs.blockdaemon.com/reference/chaingetblock.md - https://docs.blockdaemon.com/reference/chaingetevents.md - https://docs.blockdaemon.com/reference/chaingetgasfees.md - https://docs.blockdaemon.com/reference/chaingetgasprice.md - https://docs.blockdaemon.com/reference/chaingethistoricalrewards.md - https://docs.blockdaemon.com/reference/chaingetlatestledger.md - https://docs.blockdaemon.com/reference/chaingetstakepositions.md - https://docs.blockdaemon.com/reference/chaingetstorage.md - https://docs.blockdaemon.com/reference/chaingetsuibalance.md - https://docs.blockdaemon.com/reference/chaingettokenaddress.md - https://docs.blockdaemon.com/reference/chaingettransaction.md - https://docs.blockdaemon.com/reference/chaingetusertransactions.md - https://docs.blockdaemon.com/reference/chainregistercoin.md - https://docs.blockdaemon.com/reference/chainsendtransaction.md - https://docs.blockdaemon.com/reference/chainsimulatetransaction.md - https://docs.blockdaemon.com/reference/dexaddliquidity.md - https://docs.blockdaemon.com/reference/dexcancelorder.md - https://docs.blockdaemon.com/reference/dexcreateorder.md - https://docs.blockdaemon.com/reference/dexfillorder.md - https://docs.blockdaemon.com/reference/dexgetactiveamount.md - https://docs.blockdaemon.com/reference/dexgethistoricaltimeseries.md - https://docs.blockdaemon.com/reference/dexgethistoricaltransactions.md - https://docs.blockdaemon.com/reference/dexgetindividualposition.md - https://docs.blockdaemon.com/reference/dexgetliquiditybytick.md - https://docs.blockdaemon.com/reference/dexgetliquiditysources.md - https://docs.blockdaemon.com/reference/dexgetmakerorders.md - https://docs.blockdaemon.com/reference/dexgetorders.md - https://docs.blockdaemon.com/reference/dexgetpool.md - https://docs.blockdaemon.com/reference/dexgetpoolchartdata.md - https://docs.blockdaemon.com/reference/dexgetpoolindividualliquidity.md - https://docs.blockdaemon.com/reference/dexgetpoolliquidity.md - https://docs.blockdaemon.com/reference/dexgetpooltradedata.md - https://docs.blockdaemon.com/reference/dexgetroute.md - https://docs.blockdaemon.com/reference/dexgettokenidprice.md - https://docs.blockdaemon.com/reference/dexgettokenliquidity.md - https://docs.blockdaemon.com/reference/dexgetuserliquidity.md - https://docs.blockdaemon.com/reference/dexgetusertokenids.md - https://docs.blockdaemon.com/reference/dexgetwalletposition.md - https://docs.blockdaemon.com/reference/dexprice.md - https://docs.blockdaemon.com/reference/dexpublishorder.md - https://docs.blockdaemon.com/reference/dexquotes.md - https://docs.blockdaemon.com/reference/dexremoveliquidity.md - https://docs.blockdaemon.com/reference/dexswap.md - https://docs.blockdaemon.com/reference/dexswaps.md - https://docs.blockdaemon.com/reference/dexswapwithapproval.md - https://docs.blockdaemon.com/reference/fungibletokenapprove.md - https://docs.blockdaemon.com/reference/fungibletokenconvertbasetokentowraptoken.md - https://docs.blockdaemon.com/reference/fungibletokenconvertwraptokentobasetoken.md - https://docs.blockdaemon.com/reference/fungibletokengettokendetails.md - https://docs.blockdaemon.com/reference/fungibletokengettokensupply.md - https://docs.blockdaemon.com/reference/fungibletokengetuserbalance.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricallogs.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricaltransactions.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricalusertransactions.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricalweth.md - https://docs.blockdaemon.com/reference/fungibletokentransfer.md - https://docs.blockdaemon.com/reference/fungibletokentransferfrom.md - https://docs.blockdaemon.com/reference/getapimetadatav2.md - https://docs.blockdaemon.com/reference/lendborrowallow.md - https://docs.blockdaemon.com/reference/lendborrowborrow.md - https://docs.blockdaemon.com/reference/lendborrowbundleactions.md - https://docs.blockdaemon.com/reference/lendborrowclaimrewards.md - https://docs.blockdaemon.com/reference/lendborrowdeposit.md - https://docs.blockdaemon.com/reference/lendborrowdepositwithapproval.md - https://docs.blockdaemon.com/reference/lendborrowentermarket.md - https://docs.blockdaemon.com/reference/lendborrowentermarketstatus.md - https://docs.blockdaemon.com/reference/lendborrowexitisolationmode.md - https://docs.blockdaemon.com/reference/lendborrowexitmarket.md - https://docs.blockdaemon.com/reference/lendborrowgetassetinfo.md - https://docs.blockdaemon.com/reference/lendborrowgetclaimedrewards.md - https://docs.blockdaemon.com/reference/lendborrowgetgovernordata.md - https://docs.blockdaemon.com/reference/lendborrowgetmaxamounts.md - https://docs.blockdaemon.com/reference/lendborrowgetuseraccountdata.md - https://docs.blockdaemon.com/reference/lendborrowmigrate.md - https://docs.blockdaemon.com/reference/lendborrowpool.md - https://docs.blockdaemon.com/reference/lendborrowpools.md - https://docs.blockdaemon.com/reference/lendborrowrepay.md - https://docs.blockdaemon.com/reference/lendborrowsetuseremode.md - https://docs.blockdaemon.com/reference/lendborrowtransfer.md - https://docs.blockdaemon.com/reference/lendborrowuserpositions.md - https://docs.blockdaemon.com/reference/lendborrowwithdraw.md - https://docs.blockdaemon.com/reference/lendborrowwithdrawwithapproval.md - https://docs.blockdaemon.com/reference/liquidstakingapprovewithdrawal.md - https://docs.blockdaemon.com/reference/liquidstakingburn.md - https://docs.blockdaemon.com/reference/liquidstakingclaim.md - https://docs.blockdaemon.com/reference/liquidstakingdecreaseallowance.md - https://docs.blockdaemon.com/reference/liquidstakingdelegate.md - https://docs.blockdaemon.com/reference/liquidstakinggetallowance.md - https://docs.blockdaemon.com/reference/liquidstakinggetapr.md - https://docs.blockdaemon.com/reference/liquidstakinggetprotocolapr.md - https://docs.blockdaemon.com/reference/liquidstakinggetrewards.md - https://docs.blockdaemon.com/reference/liquidstakinggetstake.md - https://docs.blockdaemon.com/reference/liquidstakinggetwithdrawalrequests.md - https://docs.blockdaemon.com/reference/liquidstakinggetwithdrawalstatus.md - https://docs.blockdaemon.com/reference/liquidstakingincreaseallowance.md - https://docs.blockdaemon.com/reference/liquidstakingmint.md - https://docs.blockdaemon.com/reference/liquidstakingrequestwithdrawal.md - https://docs.blockdaemon.com/reference/liquidstakingrestake.md - https://docs.blockdaemon.com/reference/liquidstakingstake.md - https://docs.blockdaemon.com/reference/liquidstakingundelegate.md - https://docs.blockdaemon.com/reference/liquidstakingunwrap.md - https://docs.blockdaemon.com/reference/liquidstakingwrap.md - https://docs.blockdaemon.com/reference/nftgetbalance.md - https://docs.blockdaemon.com/reference/nftgetmetadata.md - https://docs.blockdaemon.com/reference/nftgetowner.md - https://docs.blockdaemon.com/reference/nfthistoricallogs.md - https://docs.blockdaemon.com/reference/nfthistoricaltransactions.md - https://docs.blockdaemon.com/reference/oraclegetprice.md - https://docs.blockdaemon.com/reference/oraclegetsupportedtokens.md - https://docs.blockdaemon.com/reference/rwaburn.md - https://docs.blockdaemon.com/reference/rwafreeze.md - https://docs.blockdaemon.com/reference/rwagetallassets.md - https://docs.blockdaemon.com/reference/rwagetasset.md - https://docs.blockdaemon.com/reference/rwagetownerassets.md - https://docs.blockdaemon.com/reference/rwaissue.md - https://docs.blockdaemon.com/reference/rwaregister.md - https://docs.blockdaemon.com/reference/rwasettrustline.md - https://docs.blockdaemon.com/reference/rwatransfer.md - https://docs.blockdaemon.com/reference/rwaunfreeze.md - https://docs.blockdaemon.com/reference/stablecoingetprice.md - https://docs.blockdaemon.com/reference/syntheticdepositpeggedtoken.md - https://docs.blockdaemon.com/reference/syntheticgetprice.md - https://docs.blockdaemon.com/reference/syntheticwithdrawpeggedtoken.md - https://docs.blockdaemon.com/reference/wethgetbalance.md - https://docs.blockdaemon.com/reference/wethhistoricallogs.md - https://docs.blockdaemon.com/reference/yieldaggregatoraddliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatordepositpool.md - https://docs.blockdaemon.com/reference/yieldaggregatordepositvault.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetbalance.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarketdata.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarkets.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarkettokens.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetvaults.md - https://docs.blockdaemon.com/reference/yieldaggregatormint.md - https://docs.blockdaemon.com/reference/yieldaggregatorredeem.md - https://docs.blockdaemon.com/reference/yieldaggregatorremoveliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatorswap.md - https://docs.blockdaemon.com/reference/yieldaggregatortransferliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatorwithdrawpool.md - https://docs.blockdaemon.com/reference/yieldaggregatorwithdrawvault.md merge: pages: 168 deduped: 167 conflicts_kept_first: 0