Build a claim-rewards transaction
build_claim_rewards_transactionReturns an UNSIGNED base64 transaction claiming accrued GDIG rewards from every active stake position of wallet (positions stay staked).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>"
},
"name": "build_claim_rewards_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Solana wallet address (base58) |