Prepare merging ve-token stakes
prepare_ve33_mergePrepare fee-safe merging of one or more source NFTs into a destination, including required claims and the selected resulting vote in one atomic batch of decodable steps. Destructive to the sources: each source's stake moves to the destination, its vote is cleared, and the source NFT is burned, so its fees are claimed first and its ID is reported in the plan. The destination keeps its own lock end, which is why no source may end later than it.
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": {
"chain_id": "<chain_id>",
"ve_token": "<ve_token>",
"sender": "<sender>",
"destination_ve_id": "<destination_ve_id>",
"sources": "<sources>"
},
"name": "prepare_ve33_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| sources | Yes | ||
| chain_id | Yes | With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain | |
| ve_token | Yes | address | |
| resulting_vote | No | ||
| destination_ve_id | Yes | decimal integer | |
| destination_pool_key | No | PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |