Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 5.22 KB

File metadata and controls

23 lines (18 loc) · 5.22 KB

SkyDepositRequest

Example Usage

import { SkyDepositRequest } from "@compass-labs/api-sdk/models/components";

let value: SkyDepositRequest = {
  amount: 1.5,
  sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
};

Fields

Field Type Required Description Example
actionType string N/A
amount components.SkyDepositRequestAmount ✔️ The amount of USDS you would like to deposit for sUSDS to earn yield. 1.5
receiver string The address which will receive the sUSDS. Defaults to the sender.
chain components.SkyDepositRequestChain 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.