From e1811d9576daf380e9b84b35691cf7536ba5c189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Br=C3=BCnjes?= Date: Tue, 6 Feb 2024 07:15:55 +0100 Subject: [PATCH] Update scripts/claim-bot-rewards.sh Co-authored-by: Sourabh --- scripts/claim-bot-rewards.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/claim-bot-rewards.sh b/scripts/claim-bot-rewards.sh index 5bbccab..fc93845 100755 --- a/scripts/claim-bot-rewards.sh +++ b/scripts/claim-bot-rewards.sh @@ -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" \