Skip to content

Commit

Permalink
Update scripts/claim-bot-rewards.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Sourabh <[email protected]>
  • Loading branch information
brunjlar and sourabhxyz authored Feb 6, 2024
1 parent b8cd259 commit e1811d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/claim-bot-rewards.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ curl 'https://api.geniusyield.co/user/connect' \
--data-raw "{\"walletStakeKeyHash\":\"$PKH\",\"userType\":\"INDIVIDUAL\"}" \
--compressed > /dev/null 2>&1

DATA="{\"walletAddress\":$CBOR,\"walletRewardAddresses\":[\"e1$PKH\"],\"walletStakeKeyHash\":\"$PKH\",\"collateralUtxo\":[\"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"],\"walletUnusedAddresses\":[$CBOR],\"walletUsedAddresses\":[$CBOR]}"
DATA="{\"walletAddress\":$CBOR,\"walletRewardAddresses\":[\"e1$PKH\"],\"walletStakeKeyHash\":\"$PKH\",\"collateralUtxo\":[\"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"],\"walletUnusedAddresses\":[],\"walletUsedAddresses\":[$CBOR]}"

PAYLOAD=$(curl -s 'https://api.geniusyield.co/yield-farming/rewards/claim' \
-H "authorization: WalletStakeKeyHash $PKH" \
Expand Down

0 comments on commit e1811d9

Please sign in to comment.