💰DSR

dsr

GET https://api.unifront.io/v1/maker/dsr

This endpoint allows you to get dsr params for deposit and withdraw.

Query Parameters

Name
Type
Description

action

string

deposit or withdraw

address

string

Wallet Address through which vault is created. Should already have a DSR associated.

value

string

DAI value to deposit/withdraw eg., 100.

Headers

Name
Type
Description

API_key

string

API key for authentication - [Not Required now]

{
  "to": "0x67d0DBAf5fc256B20c0EDaDE5Ac39ad564BE05A6",
  "value": 0,
  "data": "0x1cff79cd00000000000000000000000007ee93aeea0a36fff2a9b95dd22bd6049ee54f26000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000649f6c3dbd0000000000000000000000009759a6ac90977b93b58547b4a71c78317f391a28000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf70000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000",
  "gas": 470394,
  "txlink": "https://txlink.io/tx?to=0x67d0DBAf5fc256B20c0EDaDE5Ac39ad564BE05A6&value=0&data=0x1cff79cd00000000000000000000000007ee93aeea0a36fff2a9b95dd22bd6049ee54f26000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000649f6c3dbd0000000000000000000000009759a6ac90977b93b58547b4a71c78317f391a28000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf70000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000&gaslimit=470394"
}

Last updated

Was this helpful?