gate_subscribe
Subscribe to a creator's endpoint by paying the on-chain subscription price. Fails if no plan exists or spending cap exceeded.
Instructions
Buy (or renew) a creator's subscription plan for a Gate endpoint: one payment, then unlimited access until expiry. Moves money. The plan price is read on-chain and checked against the spending caps before paying. Fails if the endpoint has no subscription plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | Identifier the creator gave the endpoint, e.g. "premium-api". Also comes from the 402 manifest; it is not a URL. | |
| creator_wallet | Yes | The creator's Solana wallet address in base58 (the endpoint owner, not the agent's own wallet). Shown in the 402 manifest returned by gate_get_price. |