near-models/models/sources.yml
2022-01-12 14:15:26 -05:00

56 lines
2.5 KiB
YAML

version: 2
sources:
- name: chainwalkers
schema: prod
database: chainwalkers
tables:
- name: near_blocks
description: "Blocks from the Near chain. Note always use the latest ingested at timestamp as duplicates can exist in this table!"
columns:
- name: record_id
description: A unique id for the record generated by Chainwalkers
- name: offset_id
description: Synonmous with block_id for Near
- name: block_id
description: The height of the chain this block corresponds with
- name: block_timestamp
description: The time the block was minted
- name: network
description: The blockchain network (i.e. mainnet, testnet, etc.)
- name: chain_id
description: Synonmous with blockchain name for Near
- name: tx_count
description: The number of transactions in the block
- name: header
description: A json column containing the blocks header information
- name: ingested_at
description: The time this row was ingested by Chainwalkers
- name: near_txs
description: "Txs from the Near chain. Note always use the latest ingested at timestamp as duplicates can exist in this table!"
columns:
- name: record_id
description: A unique id for the record generated by Chainwalkers
- name: tx_id
description: Synonmous with transaction hash, a unique on chain identifier for the transaction
- name: tx_block_index
description: The index of the transaction within the block. Starts at 0.
- name: offset_id
description: Synonmous with block_id for Near
- name: block_id
description: The height of the chain this block corresponds with
- name: block_timestamp
description: The time the block was minted
- name: network
description: The blockchain network (i.e. mainnet, testnet, etc.)
- name: chain_id
description: Synonmous with blockchain name for Near
- name: tx_count
description: The number of transactions in the block
- name: header
description: A json column containing the blocks header information
- name: tx
description: A json object containing the tx and any decoded logs
- name: ingested_at
description: The time this row was ingested by Chainwalkers