Deposit Transaction

Generates a deposit transaction that allows a specified vault to receive a given ERC20 asset from the user.

Body Params

Payload containing the necessary parameters to craft the deposit transaction.

string
required

The Ethereum address of the user initiating the deposit.

string
required

The contract address of the ERC20 token being deposited. For Kiln DeFi, it will be the asset address you will get from the /network-stats route for the vault you want to deposit into.

integer
required

The unique identifier of the blockchain network where the transaction is executed (e.g., 1 for Ethereum Mainnet).

string
required

The contract address of the vault that you will deposit into.

string
required

Amount to deposit into the vault in the lowest unit of the asset (ie amount * 10**asset_decimals).

boolean
Defaults to false

If true, bypasses existing deposit checks and proceeds with creating a new deposit transaction regardless of current balance.

Responses

401

Unauthorized

500

Internal server error

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; charset=utf-8