Skip to main content
Glama

Stacks Clarity MCP Server

generate_stx_post_condition

Create STX transfer post-conditions for payment and fee transactions by specifying recipient address, amount, and condition type to ensure secure blockchain operations.

Instructions

Generate an STX post-condition for STX transfers. Essential for payment and fee transactions.

Input Schema

NameRequiredDescriptionDefault
amountYesThe STX amount in microSTX (1 STX = 1,000,000 microSTX)
conditionCodeYesThe condition type (usually 'equal' for exact transfers)
principalYesThe Stacks address for the post-condition

Input Schema (JSON Schema)

{ "properties": { "amount": { "description": "The STX amount in microSTX (1 STX = 1,000,000 microSTX)", "type": "number" }, "conditionCode": { "description": "The condition type (usually 'equal' for exact transfers)", "enum": [ "equal", "greater", "greater_equal", "less", "less_equal" ], "type": "string" }, "principal": { "description": "The Stacks address for the post-condition", "type": "string" } }, "required": [ "principal", "conditionCode", "amount" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/exponentlabshq/stacks-clarity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server