Deposit to MegaVault
Deposit USDC into MegaVault
Method Declaration
Python
async def deposit(
self, wallet: Wallet, address: str, subaccount_number: int, amount: Decimal
) -> AnyParameters
| Parameter | Location | Type | Description |
|---|---|---|---|
account | query | Account | Owner's account information |
subaccount | query | SubaccountInfo | Subaccount information |
amount | query | Decimal | Amount in usdc to deposit |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | TxHash | The transaction hash. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The subaccount was not found. |