update rpc URL to be dynamic (#85)

This commit is contained in:
eric-laurello 2022-12-15 12:14:57 -05:00 committed by GitHub
parent 27e55bb913
commit 118b0af8c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,14 @@ INSERT INTO
SELECT
call,
ethereum.streamline.udf_json_rpc_call(
'https://osmosis-coke.allthatnode.com:56657/',{ 'x-allthatnode-api-key':(
(
SELECT
rpc_url
FROM
osmosis._internal.api_keys
WHERE
provider = 'allthatnode'
),{ 'x-allthatnode-api-key':(
SELECT
key
FROM