mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 11:26:55 +00:00
revert api key
This commit is contained in:
parent
0681d419af
commit
c608f8a370
@ -108,13 +108,13 @@ SELECT
|
||||
call,
|
||||
{{ target.database }}.live.udf_api (
|
||||
'POST',
|
||||
'{Service}/{Authentication}',
|
||||
'{service}/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
),
|
||||
call,
|
||||
'Vault/prod/osmosis/allthatnode/mainnet'
|
||||
'Vault/prod/osmosis/allthatnode/mainnet-archive/rpc'
|
||||
) AS DATA,
|
||||
SYSDATE()
|
||||
FROM
|
||||
|
||||
@ -32,11 +32,7 @@ SELECT
|
||||
) AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'GET',
|
||||
REPLACE(
|
||||
'{Service}/{Authentication}/cosmos/bank/v1beta1/balances/',
|
||||
'tendermint',
|
||||
'rest'
|
||||
) || address || '?pagination.limit=10000',
|
||||
'{service}/{Authentication}/cosmos/bank/v1beta1/balances/' || address || '?pagination.limit=10000',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json',
|
||||
@ -44,7 +40,7 @@ SELECT
|
||||
block_number :: STRING
|
||||
),
|
||||
PARSE_JSON('{}'),
|
||||
'vault/prod/osmosis/allthatnode/mainnet'
|
||||
'vault/prod/osmosis/allthatnode/mainnet-archive/rest'
|
||||
) AS request,
|
||||
block_number,
|
||||
address
|
||||
|
||||
@ -30,7 +30,7 @@ SELECT
|
||||
) :: INT AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}/{Authentication}',
|
||||
'{service}/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -47,7 +47,7 @@ SELECT
|
||||
block_number :: STRING
|
||||
)
|
||||
),
|
||||
'vault/prod/osmosis/allthatnode/mainnet'
|
||||
'vault/prod/osmosis/allthatnode/mainnet-archive/rpc'
|
||||
) AS request
|
||||
FROM
|
||||
blocks
|
||||
|
||||
@ -45,11 +45,7 @@ SELECT
|
||||
) AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'GET',
|
||||
REPLACE(
|
||||
'{Service}/{Authentication}/osmosis/gamm/v1beta1/pools?pagination.limit=10000',
|
||||
'tendermint',
|
||||
'rest'
|
||||
),
|
||||
'{service}/{Authentication}/osmosis/gamm/v1beta1/pools?pagination.limit=10000',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json',
|
||||
@ -57,7 +53,7 @@ SELECT
|
||||
block_number :: STRING
|
||||
),
|
||||
PARSE_JSON('{}'),
|
||||
'vault/prod/osmosis/allthatnode/mainnet'
|
||||
'vault/prod/osmosis/allthatnode/mainnet-archive/rest'
|
||||
) AS request,
|
||||
block_number
|
||||
FROM
|
||||
|
||||
@ -86,7 +86,7 @@ numbers AS (
|
||||
) :: INT AS partition_key,
|
||||
live.udf_api(
|
||||
'POST',
|
||||
'{Service}/{Authentication}',
|
||||
'{service}/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -107,7 +107,7 @@ numbers AS (
|
||||
'asc'
|
||||
)
|
||||
),
|
||||
'vault/prod/osmosis/allthatnode/mainnet'
|
||||
'vault/prod/osmosis/allthatnode/mainnet-archive/rpc'
|
||||
) AS request,
|
||||
page_number,
|
||||
block_number AS block_number_requested
|
||||
|
||||
@ -30,7 +30,7 @@ SELECT
|
||||
) :: INT AS partition_key,
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}/{Authentication}',
|
||||
'{service}/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json'
|
||||
@ -51,7 +51,7 @@ SELECT
|
||||
'asc'
|
||||
)
|
||||
),
|
||||
'vault/prod/osmosis/allthatnode/mainnet'
|
||||
'vault/prod/osmosis/allthatnode/mainnet-archive/rpc'
|
||||
) AS request
|
||||
FROM
|
||||
blocks
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
SELECT
|
||||
{{ target.database }}.live.udf_api(
|
||||
'POST',
|
||||
'{Service}/{Authentication}',
|
||||
'{service}/{Authentication}',
|
||||
OBJECT_CONSTRUCT(
|
||||
'Content-Type',
|
||||
'application/json',
|
||||
@ -23,5 +23,5 @@ SELECT
|
||||
'params',
|
||||
[]
|
||||
),
|
||||
'vault/osmosis/allthatnode/mainnet'
|
||||
'vault/prod/osmosis/allthatnode/mainnet-archive/rpc'
|
||||
) :data :result :sync_info :latest_block_height :: INT AS block_number
|
||||
|
||||
Loading…
Reference in New Issue
Block a user