Skip to content

Commit

Permalink
Create nft_ronin_transfers table
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrliem authored Nov 12, 2024
1 parent 649ec60 commit 22249be
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{
config(
schema="nft_ronin",
alias="transfers",
partition_by=["block_month"],
materialized="incremental",
file_format="delta",
incremental_strategy="merge",
incremental_predicates=[
incremental_predicate("DBT_INTERNAL_DEST.block_time")
],
unique_key=["tx_hash", "evt_index", "token_id", "amount"],
)
}}

{{
nft_transfers(
blockchain="ronin",
base_transactions=source("ronin", "transactions"),
erc721_transfers=source("erc721_ronin", "evt_transfer"),
erc1155_single=source("erc1155_ronin", "evt_transfersingle"),
erc1155_batch=source("erc1155_ronin", "evt_transferbatch"),
)
}}

0 comments on commit 22249be

Please sign in to comment.