This commit is contained in:
drethereum 2023-08-02 13:57:31 -06:00
parent 13593d14cb
commit fecfa9291b

View File

@ -1,2 +1,15 @@
{% docs eth_dex_lp_tokens %}
The address for the token included in the liquidity pool, as a JSON object.
Query example to access the key:value pairing within the object:
SELECT
DISTINCT pool_address AS unique_pools,
tokens :token0 :: STRING AS token0,
symbols: token0 :: STRING AS token0_symbol,
decimals: token0 :: STRING AS token0_decimal
FROM optimism.defi.dim_dex_liquidity_pools
WHERE token0 = '0x4200000000000000000000000000000000000006'
;
{% enddocs %}