drethereumquicknode example copy
    -- forked from theericstone / quicknode example @ https://flipsidecrypto.xyz/theericstone/q/BfE083hh1HIr/quicknode-example

    -- after registering your quicknode key with ephit...

    SELECT
    livequery.live.udf_api(
    'POST',
    '{myurl}',
    {},
    { 'method' :'eth_blockNumber',
    'params' :[],
    'id' :1,
    'jsonrpc' :'2.0' },
    'quicknode'
    ) AS resp,
    resp :data :result :: STRING AS toBlock,
    ethereum.public.udf_hex_to_int(toBLock) as toBlock_N;


    Run a query to Download Data