Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API
query.fork

SQL

query.fork

Fork a query

Details

Endpoint
POST /v1/query/:query_id/fork
Credits
Free
Rate class
Light. Counts against your light requests per second.
Also called
/api/v1/query/:query_id/fork

Copies a public query (or your own) into your account and returns the new query. The original's fork count goes up by one.

Parameters

NameTypeDescription
query_idrequiredinteger

Request

Send your key in the x-api-key header, or leave it out to use the keyless tier.

curl
curl -X POST "https://api.tide.ad/v1/query/1/fork" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
TypeScript
const res = await fetch("https://api.tide.ad/v1/query/1/fork", {
  method: "POST",
  headers: {
    "x-api-key": process.env.TIDE_API_KEY!,
    "content-type": "application/json",
  },
  body: JSON.stringify({}),
});
const data = await res.json();

Response

No example response is available for this method yet.