> ## Documentation Index
> Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GoldRush Playground

> The GoldRush Playground is a tool for exploring the Streaming API.

export const GIQL = ({readOnly, query}) => {
  return <iframe className="w-full h-96" src={`https://goldrush-graphql-playground.vercel.app/?query=${encodeURIComponent(query)}&readOnly=${readOnly}`} title="GraphQL Playground" />;
};

<GIQL
  readOnly={false}
  query={`query {
  ohlcvCandlesForPair(
    chain_name: BASE_MAINNET
    pair_address: "0x9c087Eb773291e50CF6c6a90ef0F4500e349B903"
    interval: ONE_MINUTE
    timeframe: ONE_HOUR
  ) {
    open
    high
    low
    close
    timestamp
  }
}`}
/>
