weir.quote
weir_quoteAsk what one piece of gated content costs right now, read directly from the chain. Takes the creator vault id and the content key, NOT a post id, which cannot be resolved on this deployment. Returns the price as a decimal string in the smallest on-chain unit. Reads only; it never spends. A price you read here is information, not permission: your ceiling comes from your principal.
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": {
"vaultId": "<vaultId>",
"contentKey": "<contentKey>"
},
"name": "weir_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vaultId | Yes | The creator vault's object id, 0x-prefixed, as returned by a directory or a profile. | |
| contentKey | Yes | The vault-scoped content key the post is sold under. Not a post id and not a URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| price | Yes | ||
| vaultId | Yes | ||
| coinType | Yes | ||
| currency | Yes | ||
| accepting | Yes | ||
| contentKey | Yes | ||
| observedAtMs | Yes |