Explorer
Syncing—

Example ChartsService

example-charts

Turns a data table into a chart spec. POST JSON with data.values and chart options to /v1/chart; get back a chart description with marks. Deterministic: every supplier returns identical JSON for the same request.

Active Suppliers
1
of 1 ever configured
Service Info
Service ID
example-charts
Compute Units / Relay
100
Active Applications
1
Relay Mining EMA
—
Service Metadata Cardsource: on-chain metadata (LCD)
{8 items
"schema":"pocket-service-card/v1"
"description":"Turns a data table into a chart spec. POST JSON with data.values and chart options to /v1/chart; get back a chart description with marks. Deterministic: every s..."
"rpc_types":[1 item
0:{4 items
"type":"REST"
"intent":"expected"
"backend_hint":"example-charts container on :8080; mount at /"
"notes":"Only POST /v1/chart, GET /v1/version and GET /healthz are expected. Every response is a JSON object."
}
]
"apis":[1 item
0:"example-charts-api"
]
"access":"public"
"results":"deterministic"
"serving":{6 items
"backend":"The example-charts container behind a RelayMiner with the rest backend pointed at it. No auth toward the backend; callers cannot send headers."
"implementations":[1 item
0:"example-charts >= 1.0"
]
"min_disk_gb":1
"min_ram_gb":1
"healthcheck":[3 items
0:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/version"
"method":"GET"
}
"expect":{2 items
"json_path":"$.service"
"matches":"^example-charts$"
}
"notes":"Identity probe: pins the backend to this service so a wrong backend cannot be staked under this id."
}
1:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/healthz"
"method":"GET"
}
"expect":{2 items
"json_path":"$.status"
"matches":"^ok$"
}
"notes":"Readiness probe."
}
2:{4 items
"rpc_type":"REST"
"request":{3 items
"path":"/v1/chart"
"method":"POST"
"body":{2 items
"data":{1 item
"values":[1 item
0:{2 items
"a":"A"
"b":1
}
]
}
"chart":{3 items
"type":"bar"
"x":"a"
"y":"b"
}
}
}
"expect":{2 items
"json_path":"$.marks"
"matches":"^1$"
}
"notes":"Functional probe with a deterministic expected value."
}
]
"notes":"Gateway operators: configure as type passthrough with rpc_types ["rest"]."
}
"updated":"2026-09-16"
}