SerenAI

Pay Per Call Agentic Commerce

EstimateResponse

Query estimate response

Properties

PropertyTypeRequiredDescription
asset_symbol string Yes Asset symbol (e.g., USDC, USDT)
estimated_cost string Yes Estimated cost in configured asset
estimated_cost_atomic integer Yes Estimated cost in atomic units
estimated_rows integer Yes Estimated rows to be returned
publisher_name string Yes Publisher name
publisher_slug string Yes Publisher slug
View JSON Schema
{
  "type": "object",
  "description": "Query estimate response",
  "required": [
    "estimated_rows",
    "estimated_cost",
    "asset_symbol",
    "estimated_cost_atomic",
    "publisher_name",
    "publisher_slug"
  ],
  "properties": {
    "asset_symbol": {
      "type": "string",
      "description": "Asset symbol (e.g., USDC, USDT)"
    },
    "estimated_cost": {
      "type": "string",
      "description": "Estimated cost in configured asset"
    },
    "estimated_cost_atomic": {
      "type": "integer",
      "format": "int64",
      "description": "Estimated cost in atomic units"
    },
    "estimated_rows": {
      "type": "integer",
      "format": "int64",
      "description": "Estimated rows to be returned"
    },
    "publisher_name": {
      "type": "string",
      "description": "Publisher name"
    },
    "publisher_slug": {
      "type": "string",
      "description": "Publisher slug"
    }
  }
}