Alpaca API update for staking
craftTransaction
Support Stake and Unstake intent
🧪
Integration test requirement:
- Stake intent => crafted tx with corresponding amount
- Unstake intent => crafted tx with corresponding amount
estimateFees
Support staking intents
🧪
Integration test requirement (for each intent : stake, unstake, …):
- Fee estimation => No error, fees higher than 0
getBalance
Return delegations
🧪
Integration test requirement:
- Account not delegated => empty array
- Account with staking => delegations check
listOperations
Support of staking operations:
- Stake
- Unstake
- ClaimReward …
🧪
Integration test requirement (for each intent type):
- operation metadata : amount, …