Deposit
Deposit funds (USDC) from the address to the subaccount.
Method Declaration
Python
async def deposit(
self,
wallet: Wallet,
sender: str,
recipient_subaccount: SubaccountId,
asset_id: int,
quantums: int,
)Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
wallet | query | Wallet | true | The wallet to use for signing the transaction. |
sender | query | string | true | The sender address. |
recipient_subaccount | query | SubaccountId | true | The recipient subaccount ID. |
asset_id | query | AssetId | true | The asset ID. |
quantums | query | int | true | The amount of quantums to deposit. See more about quantums |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | TxHash | |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The subaccount was not found. |