gate_subscribe
Subscribe to a creator's Gate endpoint by paying the on-chain plan price for unlimited access until expiry.
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.
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": {
"creator_wallet": "<creator_wallet>",
"endpoint_id": "<endpoint_id>"
},
"name": "gate_subscribe"
}
}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. |