@avalanche-sdk/client
Version:
A TypeScript SDK for interacting with the Avalanche network through JSON-RPC APIs. This SDK provides a comprehensive set of tools to interact with all Avalanche chains (P-Chain, X-Chain, C-Chain) and various APIs, including wallet functionality for transa
34 lines (32 loc) • 790 B
text/typescript
import { defineChain } from "viem";
export const avalanche = /*#__PURE__*/ defineChain({
id: 43_114,
name: "Avalanche",
nativeCurrency: {
decimals: 18,
name: "Avalanche",
symbol: "AVAX",
},
rpcUrls: {
default: { http: ["https://api.avax.network/ext/bc/C/rpc"] },
},
blockExplorers: {
default: {
name: "Avalanche Explorer",
url: "https://subnets.avax.network",
apiUrl: "https://api.avax.network",
},
},
contracts: {
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11",
blockCreated: 11907934,
},
teleporterRegistry: {
address: "0x7C43605E14F391720e1b37E49C78C4b03A488d98",
},
teleporterMessenger: {
address: "0x253b2784c75e510dD0fF1da844684a1aC0aa5fcf",
},
},
});