Current dataset contains a few places where chain_id is used. Reports may want to include links to chain-explorers or human readable name for any chain.
This PR builds chain_metadata table with additional information about chains indexer is operating on (most notably: name, native_currency, info_url, rpc, explorers , chain_id, network_id).
To achieve this, two models were built:
raw_chain_metadata model loads data from https://chainid.network/chains.json.
chain_metadata model transforms table to match naming conventions
As it stands raw_chain_metadata model depends on raw_rounds to fetch list of interesting chain_ids.
Current dataset contains a few places where
chain_id
is used. Reports may want to include links to chain-explorers or human readable name for any chain.This PR builds
chain_metadata
table with additional information about chains indexer is operating on (most notably:name
,native_currency
,info_url
,rpc
,explorers
,chain_id
,network_id
).To achieve this, two models were built:
raw_chain_metadata
model loads data fromhttps://chainid.network/chains.json
.chain_metadata
model transforms table to match naming conventionsAs it stands
raw_chain_metadata
model depends onraw_rounds
to fetch list of interestingchain_ids
.