close_staking_position
Close an INDY staking position and unstake all INDY by providing your address and position UTxO details. Returns an unsigned transaction (CBOR hex) for client-side signing.
Instructions
Close an INDY staking position and unstake all INDY. Returns an unsigned transaction (CBOR hex) for client-side signing.
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": {
"address": "<address>",
"positionTxHash": "<positionTxHash>",
"positionOutputIndex": "<positionOutputIndex>"
},
"name": "close_staking_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | User Cardano bech32 address | |
| positionTxHash | Yes | Transaction hash of the staking position UTxO | |
| positionOutputIndex | Yes | Output index of the staking position UTxO |