
아발란체(Avalanche)는 고유의 아발란체 컨센서스를 통해 빠른 트랜잭션 속도와 높은 처리량, 낮은 수수료를 제공하는 EVM 기반의 블록체인 플랫폼입니다. 아발란체 네트워크는 서로 다른 목적의 세가지 체인(X-Chain, C-Chain, P-Chain)으로 구성됩니다. Nodit이 지원하는 아발란체 C-Chain은 아발란체의 스마트 컨트랙트 체인(Contract-Chain)으로, EVM과 완벽하게 호환되는 스마트 컨트랙트 구동 환경을 제공합니다.
↗ 공식사이트: Avalanche
↗ Explorer: Avalanche Explorer(C-Chain)
↗ Faucet: Avalanche Testnet Faucet
Feature | Mainnet Support | Testnet(Fuji) Support |
---|---|---|
Elastic Node | ✅ | ✅ |
Dedicated Node | ✅ | ✅ |
Web3 Data API | ❌ | ❌ |
Webhook | ❌ | ❌ |
Stream | ❌ | ❌ |
Datasquare | ❌ | ❌ |
Node API
Network | Endpoint |
---|---|
Mainnet | https://avalanche-mainnet.nodit.io/{{API-KEY}} |
Testnet | https://avalanche-fuji.nodit.io/{{API-KEY}} |
-
Example
-
Request (Node.js)
const axios = require('axios'); let data = JSON.stringify({ "id": 1, "jsonrpc": "2.0", "method": "eth_blockNumber" }); let config = { method: 'post', maxBodyLength: Infinity, url: 'https://avalanche-mainnet.nodit.io/', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-API-KEY': '{{API-KEY}}' }, data : data }; axios.request(config) .then((response) => { console.log(JSON.stringify(response.data)); }) .catch((error) => { console.log(error); });
-
Response
{ "jsonrpc": "2.0", "id": 1, "result": "0x11209b6f" }
-