docs(querying-tempo): interactive SQL queries with IndexSupplyQuery#401
Open
decofe wants to merge 7 commits into
Open
docs(querying-tempo): interactive SQL queries with IndexSupplyQuery#401decofe wants to merge 7 commits into
decofe wants to merge 7 commits into
Conversation
Adds a new page under Integrate Tempo covering data-layer differences analysts and indexers need to know when querying Tempo: USD-denominated fees, TIP-20 6 decimals, Transfer events vs tx.value, fee_payer attribution, system transactions, and supply derivation. Also includes key precompile addresses and network details. Amp-Thread-ID: https://ampcode.com/threads/T-019e0366-1385-70ac-8cf3-1738206b7d0e Co-authored-by: Amp <amp@ampcode.com>
…lyQuery Address PR feedback: replace static SQL examples for the Transfer-based sections (volume, supply) with the existing <IndexSupplyQuery> component so readers can edit and run them against Tempo mainnet via Index Supply. Gas-fee, fee_payer attribution, and system-tx examples remain static blocks because they reference Tempo-specific columns (effective_gas_price, fee_payer) not exposed in IndexSupply's standard schema. Amp-Thread-ID: https://ampcode.com/threads/T-019e0366-1385-70ac-8cf3-1738206b7d0e Co-authored-by: Amp <amp@ampcode.com>
Upstream TIPs occasionally include GitHub handles like @0xrusowsky in the authors field. The leading @ is a YAML reserved character and breaks the build. Quote the value defensively when it begins with any YAML reserved char. Amp-Thread-ID: https://ampcode.com/threads/T-019e0366-1385-70ac-8cf3-1738206b7d0e Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e0366-1385-70ac-8cf3-1738206b7d0e Co-authored-by: Amp <amp@ampcode.com>
…interactive Amp-Thread-ID: https://ampcode.com/threads/T-019e0366-1385-70ac-8cf3-1738206b7d0e Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e0366-1385-70ac-8cf3-1738206b7d0e Co-authored-by: Amp <amp@ampcode.com>
…Query widgets Replaces static code blocks with live <IndexSupplyQuery> components so readers can run queries against Tempo mainnet directly from the docs. Covers: fee revenue, Transfer events, user txs (excluding system), and mint/burn supply queries. Amp-Thread-ID: https://ampcode.com/threads/T-019e0369-6a2a-7159-a746-cb64baa9b7d8
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| // handles like `@0xrusowsky`, which break YAML parsing unless quoted. | ||
| content = content.replace( | ||
| /^(authors:\s*)([@&*!|>%#`].*)$/m, | ||
| (_m, prefix, value) => `${prefix}"${value.replace(/"/g, '\\"')}"`, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces static SQL code blocks on the Querying Tempo guide with live
<IndexSupplyQuery>widgets — readers can hit Run Query to execute against mainnet directly from the docs.Queries added:
Uses the existing IndexSupplyQuery component + Index Supply API already in place for the orderbook guide. Section 4 (fee_payer attribution) stays static since
fee_payerisn't an IndexSupply column.Based on discussion in PR #391.