Quickstart Guide
This quickstart guide will help you set up and make calls on the Arbitrum network using the Liquify Gateway endpoints.
Prerequisites
Ensure you have an API key with the Arbitrum network enabled.
Make calls
cURL
Run the following command in your terminal. This command will retrieve the latest block number from the Arbitrum network.
Replace YOUR-API-KEY
with your actual Liquify Gateway API key.
Node (JavaScript)
In these examples, you'll use npm as your package manager.
Node Fetch
In your project folder, install the Node Fetch package using npm:
Create your JavaScript file and copy the following code:
Replace
YOUR-API-KEY
with your actual Liquify Gateway API key.index.js
Run the code using the following command:
Axios
In your project folder, install the Axios package using npm:
Create your JavaScript file and copy the following code:
Replace
YOUR-API-KEY
with your actual Liquify Gateway API key.index.js
Run the code using the following command:
Ethers
In your project folder, install the ethers package using npm:
Create your JavaScript file and copy the following code:
Replace
YOUR-API-KEY
with your actual Liquify Gateway API key.index.js
Run the code using the following command:
Python
In your project folder, install the
requests
library:Create your Python file and copy the following code:
Replace
YOUR-API-KEY
with your actual Liquify Gateway API key.index.py
Run the code using the following command:
Last updated