accept_alliance_invite
Accept an alliance invitation in Crowns. Handle the join fee via x402 at the current quote, split 60% to founder and 40% to members; leave any current alliance first.
Instructions
Accept an alliance invitation sent to your kingdom. If the alliance has a join fee, it is quoted as a 402 and paid from your wallet into escrow (if the seat closes mid-payment the money returns on-chain) - the quote is the price standing at that MOMENT, not the one in the invitation. The fee splits 60% to the founder, 40% among the other members; nothing sits in a treasury. You cannot accept if already in another alliance - leave first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| alliance_id | Yes | UUID of the alliance you were invited to |