near-models/models/silver/atlas/silver__atlas_nft_table.yml

67 lines
1.9 KiB
YAML
Raw Normal View History

2023-11-07 15:10:43 +00:00
version: 2
models:
- name: silver__atlas_nft_table
description: |-
This view model provides a breakdown of NFT transaction activities by receiver_id. It includes counts of unique tokens, transfers within the last 24 hours and 3 days, all transfers, unique owners, total transactions, and minting events.
2023-11-09 02:53:38 +00:00
2023-11-07 15:10:43 +00:00
columns:
2023-11-09 17:38:15 +00:00
- name: atlas_nft_table_id
2023-11-09 02:53:38 +00:00
description: "{ { doc('id')}}"
tests:
- unique
- not_null
2023-11-07 15:10:43 +00:00
- name: receiver_id
2023-11-07 17:18:53 +00:00
description: "{ { doc('receiver_id')}}"
2023-11-07 15:10:43 +00:00
tests:
- not_null
- name: tokens
2023-11-07 17:18:53 +00:00
description: "The count of unique tokens that have been received by the receiver_id."
2023-11-07 15:10:43 +00:00
tests:
- not_null
- name: transfers_24h
description: "The count of 'nft_transfer' transactions that occurred in the last 24 hours."
tests:
- not_null
- name: transfers_3d
description: "The count of 'nft_transfer' transactions that occurred in the last 3 days."
tests:
- not_null
- name: all_transfers
description: "The total count of 'nft_transfer' transactions."
tests:
- not_null
- name: owners
description: "The count of distinct owners that have interacted with the receiver's tokens."
tests:
- not_null
- name: transactions
description: "{{ doc('tx_count')}}"
tests:
- not_null
- name: mints
description: "The count of transactions where the method_name indicates a minting event rather than a transfer."
tests:
- not_null
2023-11-08 19:36:09 +00:00
- name: inserted_timestamp
description: "{{doc('inserted_timestamp')}}"
tests:
- not_null
- name: modified_timestamp
description: "{{doc('modified_timestamp')}}"
tests:
- not_null
2023-12-11 17:34:32 +00:00
- name: _invocation_id
2023-11-08 19:36:09 +00:00
description: "{{doc('invocation_id')}}"