Migrate

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)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The request body for a /defi/v1/lendborrow/migrate

The request body for a /defi/v1/lendborrow/migrate

string
enum

The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.

Allowed:
string

Comma-separated list of token addresses to migrate.

string
required

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.

string

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.

boolean

Flag to include a basis points fee transaction alongside the main transaction when set to true.

boolean

When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json