Kyber
If you require assistance or need additional information to integrate Unagii Stake, reach out to us at support@unagii.com.
Last updated
If you require assistance or need additional information to integrate Unagii Stake, reach out to us at support@unagii.com.
Last updated
GET
https://app.unagii.com/api/v1/kyberdao/staker/allowance/{address}
This endpoint allows you to get the allowance of KNC to spend on our PoolMaster smart contract
Name | Type | Description |
---|---|---|
address | string | Account address |
Name | Type | Description |
---|---|---|
X-UNAGII-AUTH-TOKEN | string | Access Token |
GET
https://app.unagii.com/api/v1/kyberdao/staking/digest/approve/{address}
Name | Type | Description |
---|---|---|
address | string | Account address |
Name | Type | Description |
---|---|---|
X-UNAGII-AUTH-TOKEN | string | Access token |
GET
https://app.unagii.com/api/v1/kyberdao/staking/digest/deposit/{address}?amount={amount}
Name | Type | Description |
---|---|---|
address | string | Account address |
Name | Type | Description |
---|---|---|
amount | number | KNC amount to stake |
Name | Type | Description |
---|---|---|
X-UNAGII-AUTH-TOKEN | string | Access token |
The amount of KNC to stake must not be greater than the amount of KNC allowance able to spend on our PoolMaster smart contract.
GET
https://app.unagii.com/api/v1/kyberdao/staking/digest/withdraw/{address}?amount={amount}
Name | Type | Description |
---|---|---|
address | string | Account address |
Name | Type | Description |
---|---|---|
amount | number | KNC amount to unstake |
Name | Type | Description |
---|---|---|
X-UNAGII-AUTH-TOKEN | string | Access token |