import { SkyWithdrawRequest } from "@compass-labs/api-sdk/models/components";
let value: SkyWithdrawRequest = {
amount: "377.78",
sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
};| Field | Type | Required | Description | Example |
|---|---|---|---|---|
actionType |
string | ➖ | N/A | |
amount |
any | ✔️ | The amount of USDS you would like to withdraw. If set to 'ALL', your total deposited USDS amount will be withdrawn. | |
receiver |
string | ➖ | The address which will receive the withdrawn USDS. Defaults to the sender. | |
chain |
components.SkyWithdrawRequestChain | ➖ | N/A | |
sender |
string | ✔️ | The address of the transaction sender. | 0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B |
estimateGas |
boolean | ➖ | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. |