diff --git a/models/bronze/bronze_api/bronze_api__get_blockchain_api.sql b/models/bronze/bronze_api/bronze_api__get_blockchain_api.sql index 3e87000..eb8c571 100644 --- a/models/bronze/bronze_api/bronze_api__get_blockchain_api.sql +++ b/models/bronze/bronze_api/bronze_api__get_blockchain_api.sql @@ -104,13 +104,13 @@ SELECT call, live.udf_api ( 'POST', - '{Service}/rpc', + '{Service}/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' ), call, - 'Vault/prod/axelar/blockjoy/mainnet' + 'Vault/prod/axelar/drpc/mainnet' ) AS DATA, SYSDATE() AS _inserted_timestamp FROM diff --git a/models/bronze/bronze_api/bronze_api__get_status.sql b/models/bronze/bronze_api/bronze_api__get_status.sql index 1178f68..c5df89b 100644 --- a/models/bronze/bronze_api/bronze_api__get_status.sql +++ b/models/bronze/bronze_api/bronze_api__get_status.sql @@ -1,13 +1,14 @@ {{ config( materialized = 'incremental', full_refresh = false, - tags = ['core'] + tags = ['core'], + enabled = false ) }} SELECT live.udf_api ( 'POST', - '{Service}/rpc', + '{Service}/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -20,6 +21,6 @@ SELECT 'method', 'status' ), - 'Vault/prod/axelar/blockjoy/mainnet' + 'Vault/prod/axelar/drpc/mainnet' ) AS DATA, SYSDATE() AS _inserted_timestamp diff --git a/models/streamline/realtime/streamline__blocks_realtime.sql b/models/streamline/realtime/streamline__blocks_realtime.sql index 4e2c720..67b85ab 100644 --- a/models/streamline/realtime/streamline__blocks_realtime.sql +++ b/models/streamline/realtime/streamline__blocks_realtime.sql @@ -25,7 +25,7 @@ SELECT ) AS partition_key, {{ target.database }}.live.udf_api( 'POST', - '{Service}/rpc', + '{Service}/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -42,7 +42,7 @@ SELECT block_number :: STRING ) ), - 'vault/prod/axelar/blockjoy/mainnet' + 'vault/prod/axelar/drpc/mainnet' ) AS request FROM blocks diff --git a/models/streamline/realtime/streamline__transactions_realtime.sql b/models/streamline/realtime/streamline__transactions_realtime.sql index 831f87c..e18500a 100644 --- a/models/streamline/realtime/streamline__transactions_realtime.sql +++ b/models/streamline/realtime/streamline__transactions_realtime.sql @@ -66,7 +66,7 @@ numbers AS ( ) AS partition_key, live.udf_api( 'POST', - '{Service}/rpc', + '{Service}/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -88,7 +88,7 @@ numbers AS ( FALSE ) ), - 'vault/prod/axelar/blockjoy/mainnet' + 'vault/prod/axelar/drpc/mainnet' ) AS request FROM blocks_with_page_numbers diff --git a/models/streamline/realtime/streamline__tx_counts_realtime.sql b/models/streamline/realtime/streamline__tx_counts_realtime.sql index 8426906..b7e3cda 100644 --- a/models/streamline/realtime/streamline__tx_counts_realtime.sql +++ b/models/streamline/realtime/streamline__tx_counts_realtime.sql @@ -27,7 +27,7 @@ SELECT ) AS partition_key, live.udf_api( 'POST', - '{Service}/rpc', + '{Service}/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -49,7 +49,7 @@ SELECT FALSE ) ), - 'vault/prod/axelar/blockjoy/mainnet' + 'vault/prod/axelar/drpc/mainnet' ) AS request FROM blocks diff --git a/models/streamline/streamline__chainhead.sql b/models/streamline/streamline__chainhead.sql index 4d9a8d8..d1a5d33 100644 --- a/models/streamline/streamline__chainhead.sql +++ b/models/streamline/streamline__chainhead.sql @@ -6,7 +6,7 @@ SELECT {{ target.database }}.live.udf_api( 'POST', - '{Service}/rpc', + '{Service}/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json', @@ -23,5 +23,5 @@ SELECT 'params', [] ), - 'vault/prod/axelar/blockjoy/mainnet' + 'vault/prod/axelar/drpc/mainnet' ) :data :result :sync_info :latest_block_height :: INT AS block_number