Skip to main content

Query the network

Returns the results of a SQL read query against the Tableland network

Query Parameters
statement string REQUIRED

The SQL read query statement

Example: select * from healthbot_80002_1

format string

Possible values: [objects, table]

The requested response format:

  • objects - Returns the query results as a JSON array of JSON objects.
  • table - Return the query results as a JSON object with columns and rows properties.
extract boolean

Whether to extract the JSON object from the single property of the surrounding JSON object.

unwrap boolean

Whether to unwrap the returned JSON objects from their surrounding array.

Responses
200

Successful operation

Schema OPTIONAL
object
400

Invalid query/statement value

404

Row Not Found

429

Too Many Requests