Quickstart Guide
This quickstart guide will help you set up and make calls on the Arbitrum network using the Liquify Gateway endpoints.
Prerequisites
Make calls
cURL
curl https://gateway.liquify.com/YOUR-API-KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'Node (JavaScript)
npm i node-fetchimport fetch from 'node-fetch'; fetch("https://gateway.liquify.com/YOUR-API-KEY", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ jsonrpc: "2.0", method: "eth_blockNumber", params: [], id: 1 }) }) .then(response => response.json() ) .then(data => { console.log(data); }) .catch(error => { console.error(error); });node index.js
Python
Last updated