Deposit
Vault Deposit
Parameters
vault_address: string, required
Vault addressdepositor_address: string
Address of the depositorassets: string
Amount of USDC to deposit. Accepts whole numbers or decimals (e.g. 1000 or 1000.20)network: string
Network to deposit on
Response
``201 Success
- object
- data: object
- signing_payload: string
Hex encoded payload to sign - unsigned_transaction_serialized: string
Hex encoding of the built transaction - network: string
Network name
- signing_payload: string
- data: object
Example Request
curl --request POST \
--url https://api.figment.io/opentrade/vaults/vault_address/deposit \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: your-api-key-here'
Example Response
{
"data": {
"signing_payload": "0xd7461f48930e9619e09ac0bb972638cd177dc665e4cda24b737e2aca802ca5fd",
"unsigned_transaction_serialized": "0x02f87183aa36a781c38459682f008459682f1a8304e43d94d1f0774ccff0ce4f36dea57b6a28ab7feb0a01b080b8446e553f65000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000f54f2ddb122f52456e9344d0ac2f72c7deb048d3c0",
"network": "mainnet"
}
}