datahub_subscribe
Subscribe to a dataset with recurring time-based access via on-chain USDC payment. While active, download dataset updates without per-download fees.
Instructions
Subscribe to a recurring DataHub dataset (time-based access, on-chain payment with the plan's USDC price). While active, every update of the dataset can be fetched with datahub_download — no per-download payment. Renewing extends from the current expiry. Spending caps apply.
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": {
"book_id": "<book_id>"
},
"name": "datahub_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | Id of a dataset that offers a subscription plan. datahub_search reports one under "subscription"; datasets without a plan must be bought with datahub_buy instead. |