Build a stake transaction
build_stake_transactionReturns an UNSIGNED base64 Solana transaction that stakes amount GDIG from wallet into tier (0 Bronze 1y 2%, 1 Silver 2y 4%, 2 Gold 3y 6%, 3 Platinum 4y 8%, 4 Diamond 5y 10%). The wallet owner must sign and send it. Locks tokens; early exit costs 10% of principal.
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>",
"tier": "<tier>",
"amount": "<amount>"
},
"name": "build_stake_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| amount | Yes | GDIG amount | |
| wallet | Yes | Solana wallet address (base58) |