Skip to main content
POST
Simulate a LAT deposit transaction

Path Parameters

address
string
required

LAT contract address (proxy)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x94a2a0548681fda8d5e2ad5a8eeecd891e02a613"

Body

application/json
sender
string
required

The wallet address that will submit the tx and get debited

Pattern: ^0x[a-fA-F0-9]{40}$
assets
string[]
required

The array of token addresses to be deposited

Minimum array length: 1
Pattern: ^0x[a-fA-F0-9]{40}$
amounts
string[]
required

The array of amounts corresponding to each asset, in the decimals of that token

Minimum array length: 1
Pattern: ^\d+$
receiver
string
required

The wallet address that will receive the minted Liquid Avs Tokens

Pattern: ^0x[a-fA-F0-9]{40}$

Response

Successful deposit simulation result

success
enum<boolean>
required

Indicates if the simulation was successful

Available options:
true
amounts
number[]
required

Resulting token amounts after deposit

Example:
fees
object
required

Fee details for the transaction