API Reference
Integrate the Loopscale protocol
cURL
curl --request POST \ --url https://tars.loopscale.com/v1/markets/lending_vaults/rewards/claim \ --header 'Content-Type: application/json' \ --header 'user-wallet: <user-wallet>' \ --data ' { "rewardMints": [ "<string>" ], "unclaimedStakeAccounts": [ "<string>" ], "vaultAddress": "<string>" } '
[ { "transaction": { "message": "<string>", "signatures": [ { "publicKey": "<string>", "signature": "<string>" } ] } } ]
Claim rewards from a target lending vault. This will harvest from all available rewards schedules and close empty accounts to refund SOL to requesting wallet.
Wallet address of the claiming user
Mints of the reward tokens to claim
Array of stake account addresses with unclaimed rewards, if empty will claim from all.
Lending vault address
Serialized transactions to claim rewards
Show child attributes