@wormhole-foundation/sdk-base
Advanced tools
Comparing version 1.3.0-beta.3 to 1.3.0
@@ -1,5 +0,5 @@ | ||
export declare const chainIds: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 3104, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 10002, 10003, 10004, 10005, 10006, 10007, 10008], chains: ["Solana", "Ethereum", "Terra", "Bsc", "Polygon", "Avalanche", "Oasis", "Algorand", "Aurora", "Fantom", "Karura", "Acala", "Klaytn", "Celo", "Near", "Moonbeam", "Neon", "Terra2", "Injective", "Osmosis", "Sui", "Aptos", "Arbitrum", "Optimism", "Gnosis", "Pythnet", "Xpla", "Btc", "Base", "Sei", "Rootstock", "Scroll", "Mantle", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "Wormchain", "Cosmoshub", "Evmos", "Kujira", "Neutron", "Celestia", "Stargaze", "Seda", "Dymension", "Provenance", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "MonadDevnet"]; | ||
export declare const chainIds: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 3104, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009, 10002, 10003, 10004, 10005, 10006, 10007, 10008], chains: ["Solana", "Ethereum", "Terra", "Bsc", "Polygon", "Avalanche", "Oasis", "Algorand", "Aurora", "Fantom", "Karura", "Acala", "Klaytn", "Celo", "Near", "Moonbeam", "Neon", "Terra2", "Injective", "Osmosis", "Sui", "Aptos", "Arbitrum", "Optimism", "Gnosis", "Pythnet", "Xpla", "Btc", "Base", "Sei", "Rootstock", "Scroll", "Mantle", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "Wormchain", "Cosmoshub", "Evmos", "Kujira", "Neutron", "Celestia", "Stargaze", "Seda", "Dymension", "Provenance", "Noble", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "MonadDevnet"]; | ||
export type Chain = (typeof chains)[number]; | ||
export type ChainId = (typeof chainIds)[number]; | ||
export declare const chainToChainId: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const chainToChainId: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
Solana: 1; | ||
@@ -57,2 +57,3 @@ Ethereum: 2; | ||
Provenance: 4008; | ||
Noble: 4009; | ||
Sepolia: 10002; | ||
@@ -67,5 +68,5 @@ ArbitrumSepolia: 10003; | ||
readonly has: (args_0: string) => boolean; | ||
readonly get: (args_0: string) => 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008 | undefined; | ||
readonly get: (args_0: string) => 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 4009 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008 | undefined; | ||
}; | ||
export declare const chainIdToChain: (<const K1 extends 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008>(args_0: K1) => { | ||
export declare const chainIdToChain: (<const K1 extends 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 4009 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008>(args_0: K1) => { | ||
readonly 1: "Solana"; | ||
@@ -123,2 +124,3 @@ readonly 2: "Ethereum"; | ||
readonly 4008: "Provenance"; | ||
readonly 4009: "Noble"; | ||
readonly 10002: "Sepolia"; | ||
@@ -133,6 +135,6 @@ readonly 10003: "ArbitrumSepolia"; | ||
readonly has: (args_0: number) => boolean; | ||
readonly get: (args_0: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet" | undefined; | ||
readonly get: (args_0: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet" | undefined; | ||
}; | ||
export declare const isChain: (chain: string) => chain is "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet"; | ||
export declare const isChainId: (chainId: number) => chainId is 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008; | ||
export declare const isChain: (chain: string) => chain is "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet"; | ||
export declare const isChainId: (chainId: number) => chainId is 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 4009 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008; | ||
export declare function assertChainId(chainId: number): asserts chainId is ChainId; | ||
@@ -139,0 +141,0 @@ export declare function assertChain(chain: string): asserts chain is Chain; |
@@ -66,2 +66,3 @@ "use strict"; | ||
[4008, "Provenance"], | ||
[4009, "Noble"], | ||
[10002, "Sepolia"], | ||
@@ -68,0 +69,0 @@ [10003, "ArbitrumSepolia"], |
@@ -17,3 +17,3 @@ import type { Chain } from "./chains.js"; | ||
*/ | ||
export declare const finalityThreshold: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Berachain" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const finalityThreshold: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Berachain" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
readonly Solana: 32; | ||
@@ -61,2 +61,3 @@ readonly Ethereum: 72; | ||
readonly Provenance: 0; | ||
readonly Noble: 0; | ||
readonly Sepolia: 72; | ||
@@ -63,0 +64,0 @@ readonly ArbitrumSepolia: 4096; |
@@ -72,2 +72,3 @@ "use strict"; | ||
["Provenance", 0], | ||
["Noble", 0], | ||
// Testnets | ||
@@ -74,0 +75,0 @@ ["Sepolia", 72], |
@@ -49,2 +49,3 @@ "use strict"; | ||
["Provenance", "pio-mainnet-1"], | ||
["Noble", "noble-1"], | ||
["Xlayer", 196n], | ||
@@ -104,2 +105,3 @@ ["Mantle", 5000n], | ||
["Seda", "seda-1-testnet"], | ||
["Noble", "grand-1"], | ||
["Blast", 168587773n], // Sepolia testnet | ||
@@ -106,0 +108,0 @@ ["Mantle", 5003n], // Sepolia testnet |
@@ -7,3 +7,3 @@ import type { Chain } from "./chains.js"; | ||
readonly Solana: readonly ["Solana", "Pythnet"]; | ||
readonly Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance"]; | ||
readonly Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"]; | ||
readonly Btc: readonly ["Btc"]; | ||
@@ -16,5 +16,5 @@ readonly Algorand: readonly ["Algorand"]; | ||
readonly has: (args_0: string) => boolean; | ||
readonly get: (args_0: string) => readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "MonadDevnet"] | readonly ["Solana", "Pythnet"] | readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance"] | readonly ["Btc"] | readonly ["Algorand"] | readonly ["Sui"] | readonly ["Aptos"] | readonly ["Near"] | undefined; | ||
readonly get: (args_0: string) => readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "MonadDevnet"] | readonly ["Solana", "Pythnet"] | readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"] | readonly ["Btc"] | readonly ["Algorand"] | readonly ["Sui"] | readonly ["Aptos"] | readonly ["Near"] | undefined; | ||
}; | ||
export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
Acala: "Evm"; | ||
@@ -74,2 +74,3 @@ Arbitrum: "Evm"; | ||
Provenance: "Cosmwasm"; | ||
Noble: "Cosmwasm"; | ||
Btc: "Btc"; | ||
@@ -76,0 +77,0 @@ Algorand: "Algorand"; |
@@ -67,3 +67,4 @@ "use strict"; | ||
"Seda", | ||
"Provenance" | ||
"Provenance", | ||
"Noble" | ||
] | ||
@@ -70,0 +71,0 @@ ], [ |
import type { Network } from "./networks.js"; | ||
import type { Chain } from "./chains.js"; | ||
/** Default RPC Addresses by network and chain */ | ||
export declare const rpcAddress: (network: Network, chain: Chain) => "" | "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://rpc.ankr.com/polygon" | "https://bscrpc.com" | "https://rpc.ankr.com/avalanche" | "https://rpc.ankr.com/fantom" | "https://rpc.ankr.com/celo" | "https://rpc.ankr.com/moonbeam" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://dimension-rpc.xpla.dev" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://terra-classic-rpc.publicnode.com" | "https://terra-rpc.polkachu.com" | "https://eth-rpc-karura.aca-api.network" | "https://eth-rpc-acala.aca-api.network" | "https://emerald.oasis.dev" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.blast.io" | "https://rpc.provenance.io/" | "https://rpc.linea.build" | "https://rpc.ankr.com/scroll" | "https://xlayerrpc.okx.com/" | "https://rpc.ankr.com/gnosis" | "https://public-node.rsk.co" | "https://rpc.mantle.xyz" | "https://rpc.ankr.com/klaytn" | "https://mainnet.snaxchain.io" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://eth-goerli.public.blastapi.io" | "https://rpc-mumbai.polygon.technology" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.ankr.com/fantom_testnet" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://testnet.emerald.oasis.io" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://arbitrum-goerli.public.blastapi.io" | "https://optimism-goerli.public.blastapi.io" | "https://base-goerli.public.blastapi.io" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://cube-rpc.xpla.dev" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://bombay.stakesystems.io" | "https://terra-testnet-rpc.polkachu.com" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://mantle-sepolia.drpc.org" | "https://eth-rpc-karura-testnet.aca-staging.network" | "https://eth-rpc-acala-testnet.aca-staging.network" | "https://sepolia.blast.io" | "https://artio.rpc.berachain.com" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://rpc.ankr.com/scroll_sepolia_testnet" | "https://public-node.testnet.rsk.co" | "https://rpc.chiadochain.net" | "https://rpc.ankr.com/klaytn_testnet" | "https://testnet.snaxchain.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899"; | ||
export declare const rpcAddress: (network: Network, chain: Chain) => "" | "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://rpc.ankr.com/polygon" | "https://bscrpc.com" | "https://rpc.ankr.com/avalanche" | "https://rpc.ankr.com/fantom" | "https://rpc.ankr.com/celo" | "https://rpc.ankr.com/moonbeam" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://dimension-rpc.xpla.dev" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://terra-classic-rpc.publicnode.com" | "https://terra-rpc.polkachu.com" | "https://eth-rpc-karura.aca-api.network" | "https://eth-rpc-acala.aca-api.network" | "https://emerald.oasis.dev" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.blast.io" | "https://rpc.provenance.io/" | "https://noble-rpc.polkachu.com/" | "https://rpc.linea.build" | "https://rpc.ankr.com/scroll" | "https://xlayerrpc.okx.com/" | "https://rpc.ankr.com/gnosis" | "https://public-node.rsk.co" | "https://rpc.mantle.xyz" | "https://rpc.ankr.com/klaytn" | "https://mainnet.snaxchain.io" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://eth-goerli.public.blastapi.io" | "https://rpc-mumbai.polygon.technology" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.ankr.com/fantom_testnet" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://testnet.emerald.oasis.io" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://arbitrum-goerli.public.blastapi.io" | "https://optimism-goerli.public.blastapi.io" | "https://base-goerli.public.blastapi.io" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://cube-rpc.xpla.dev" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://bombay.stakesystems.io" | "https://terra-testnet-rpc.polkachu.com" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://mantle-sepolia.drpc.org" | "https://eth-rpc-karura-testnet.aca-staging.network" | "https://eth-rpc-acala-testnet.aca-staging.network" | "https://sepolia.blast.io" | "https://artio.rpc.berachain.com" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://rpc.ankr.com/scroll_sepolia_testnet" | "https://public-node.testnet.rsk.co" | "https://rpc.chiadochain.net" | "https://rpc.ankr.com/klaytn_testnet" | "https://testnet.snaxchain.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "https://noble-testnet-rpc.polkachu.com/" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899"; | ||
//# sourceMappingURL=rpc.d.ts.map |
@@ -40,2 +40,3 @@ "use strict"; | ||
["Provenance", "https://rpc.provenance.io/"], | ||
["Noble", "https://noble-rpc.polkachu.com/"], | ||
["Linea", "https://rpc.linea.build"], | ||
@@ -98,2 +99,3 @@ ["Scroll", "https://rpc.ankr.com/scroll"], | ||
["MonadDevnet", ""], // TODO: No public rpc is currently available, override with a custom rpc for now. | ||
["Noble", "https://noble-testnet-rpc.polkachu.com/"], | ||
] | ||
@@ -100,0 +102,0 @@ ], [ |
@@ -1,5 +0,5 @@ | ||
export declare const chainIds: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 3104, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 10002, 10003, 10004, 10005, 10006, 10007, 10008], chains: ["Solana", "Ethereum", "Terra", "Bsc", "Polygon", "Avalanche", "Oasis", "Algorand", "Aurora", "Fantom", "Karura", "Acala", "Klaytn", "Celo", "Near", "Moonbeam", "Neon", "Terra2", "Injective", "Osmosis", "Sui", "Aptos", "Arbitrum", "Optimism", "Gnosis", "Pythnet", "Xpla", "Btc", "Base", "Sei", "Rootstock", "Scroll", "Mantle", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "Wormchain", "Cosmoshub", "Evmos", "Kujira", "Neutron", "Celestia", "Stargaze", "Seda", "Dymension", "Provenance", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "MonadDevnet"]; | ||
export declare const chainIds: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 3104, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009, 10002, 10003, 10004, 10005, 10006, 10007, 10008], chains: ["Solana", "Ethereum", "Terra", "Bsc", "Polygon", "Avalanche", "Oasis", "Algorand", "Aurora", "Fantom", "Karura", "Acala", "Klaytn", "Celo", "Near", "Moonbeam", "Neon", "Terra2", "Injective", "Osmosis", "Sui", "Aptos", "Arbitrum", "Optimism", "Gnosis", "Pythnet", "Xpla", "Btc", "Base", "Sei", "Rootstock", "Scroll", "Mantle", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "Wormchain", "Cosmoshub", "Evmos", "Kujira", "Neutron", "Celestia", "Stargaze", "Seda", "Dymension", "Provenance", "Noble", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "MonadDevnet"]; | ||
export type Chain = (typeof chains)[number]; | ||
export type ChainId = (typeof chainIds)[number]; | ||
export declare const chainToChainId: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const chainToChainId: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
Solana: 1; | ||
@@ -57,2 +57,3 @@ Ethereum: 2; | ||
Provenance: 4008; | ||
Noble: 4009; | ||
Sepolia: 10002; | ||
@@ -67,5 +68,5 @@ ArbitrumSepolia: 10003; | ||
readonly has: (args_0: string) => boolean; | ||
readonly get: (args_0: string) => 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008 | undefined; | ||
readonly get: (args_0: string) => 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 4009 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008 | undefined; | ||
}; | ||
export declare const chainIdToChain: (<const K1 extends 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008>(args_0: K1) => { | ||
export declare const chainIdToChain: (<const K1 extends 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 4009 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008>(args_0: K1) => { | ||
readonly 1: "Solana"; | ||
@@ -123,2 +124,3 @@ readonly 2: "Ethereum"; | ||
readonly 4008: "Provenance"; | ||
readonly 4009: "Noble"; | ||
readonly 10002: "Sepolia"; | ||
@@ -133,6 +135,6 @@ readonly 10003: "ArbitrumSepolia"; | ||
readonly has: (args_0: number) => boolean; | ||
readonly get: (args_0: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet" | undefined; | ||
readonly get: (args_0: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet" | undefined; | ||
}; | ||
export declare const isChain: (chain: string) => chain is "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet"; | ||
export declare const isChainId: (chainId: number) => chainId is 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008; | ||
export declare const isChain: (chain: string) => chain is "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet"; | ||
export declare const isChainId: (chainId: number) => chainId is 3 | 1 | 2 | 5 | 22 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 3104 | 4000 | 4001 | 4002 | 4003 | 4004 | 4005 | 4006 | 4007 | 4008 | 4009 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008; | ||
export declare function assertChainId(chainId: number): asserts chainId is ChainId; | ||
@@ -139,0 +141,0 @@ export declare function assertChain(chain: string): asserts chain is Chain; |
@@ -62,2 +62,3 @@ import { zip } from "./../utils/index.js"; | ||
[4008, "Provenance"], | ||
[4009, "Noble"], | ||
[10002, "Sepolia"], | ||
@@ -64,0 +65,0 @@ [10003, "ArbitrumSepolia"], |
@@ -17,3 +17,3 @@ import type { Chain } from "./chains.js"; | ||
*/ | ||
export declare const finalityThreshold: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Berachain" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const finalityThreshold: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Berachain" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
readonly Solana: 32; | ||
@@ -61,2 +61,3 @@ readonly Ethereum: 72; | ||
readonly Provenance: 0; | ||
readonly Noble: 0; | ||
readonly Sepolia: 72; | ||
@@ -63,0 +64,0 @@ readonly ArbitrumSepolia: 4096; |
@@ -69,2 +69,3 @@ import { constMap } from "./../utils/index.js"; | ||
["Provenance", 0], | ||
["Noble", 0], | ||
// Testnets | ||
@@ -71,0 +72,0 @@ ["Sepolia", 72], |
@@ -46,2 +46,3 @@ import { constMap } from "./../utils/index.js"; | ||
["Provenance", "pio-mainnet-1"], | ||
["Noble", "noble-1"], | ||
["Xlayer", 196n], | ||
@@ -101,2 +102,3 @@ ["Mantle", 5000n], | ||
["Seda", "seda-1-testnet"], | ||
["Noble", "grand-1"], | ||
["Blast", 168587773n], // Sepolia testnet | ||
@@ -103,0 +105,0 @@ ["Mantle", 5003n], // Sepolia testnet |
@@ -7,3 +7,3 @@ import type { Chain } from "./chains.js"; | ||
readonly Solana: readonly ["Solana", "Pythnet"]; | ||
readonly Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance"]; | ||
readonly Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"]; | ||
readonly Btc: readonly ["Btc"]; | ||
@@ -16,5 +16,5 @@ readonly Algorand: readonly ["Algorand"]; | ||
readonly has: (args_0: string) => boolean; | ||
readonly get: (args_0: string) => readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "MonadDevnet"] | readonly ["Solana", "Pythnet"] | readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance"] | readonly ["Btc"] | readonly ["Algorand"] | readonly ["Sui"] | readonly ["Aptos"] | readonly ["Near"] | undefined; | ||
readonly get: (args_0: string) => readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky", "PolygonSepolia", "Mantle", "Scroll", "Blast", "Xlayer", "Linea", "Berachain", "Seievm", "Snaxchain", "Unichain", "Worldchain", "Ink", "MonadDevnet"] | readonly ["Solana", "Pythnet"] | readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla", "Dymension", "Neutron", "Stargaze", "Celestia", "Seda", "Provenance", "Noble"] | readonly ["Btc"] | readonly ["Algorand"] | readonly ["Sui"] | readonly ["Aptos"] | readonly ["Near"] | undefined; | ||
}; | ||
export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const chainToPlatform: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
Acala: "Evm"; | ||
@@ -74,2 +74,3 @@ Arbitrum: "Evm"; | ||
Provenance: "Cosmwasm"; | ||
Noble: "Cosmwasm"; | ||
Btc: "Btc"; | ||
@@ -76,0 +77,0 @@ Algorand: "Algorand"; |
@@ -64,3 +64,4 @@ import { column, constMap } from "./../utils/index.js"; | ||
"Seda", | ||
"Provenance" | ||
"Provenance", | ||
"Noble" | ||
] | ||
@@ -67,0 +68,0 @@ ], [ |
import type { Network } from "./networks.js"; | ||
import type { Chain } from "./chains.js"; | ||
/** Default RPC Addresses by network and chain */ | ||
export declare const rpcAddress: (network: Network, chain: Chain) => "" | "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://rpc.ankr.com/polygon" | "https://bscrpc.com" | "https://rpc.ankr.com/avalanche" | "https://rpc.ankr.com/fantom" | "https://rpc.ankr.com/celo" | "https://rpc.ankr.com/moonbeam" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://dimension-rpc.xpla.dev" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://terra-classic-rpc.publicnode.com" | "https://terra-rpc.polkachu.com" | "https://eth-rpc-karura.aca-api.network" | "https://eth-rpc-acala.aca-api.network" | "https://emerald.oasis.dev" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.blast.io" | "https://rpc.provenance.io/" | "https://rpc.linea.build" | "https://rpc.ankr.com/scroll" | "https://xlayerrpc.okx.com/" | "https://rpc.ankr.com/gnosis" | "https://public-node.rsk.co" | "https://rpc.mantle.xyz" | "https://rpc.ankr.com/klaytn" | "https://mainnet.snaxchain.io" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://eth-goerli.public.blastapi.io" | "https://rpc-mumbai.polygon.technology" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.ankr.com/fantom_testnet" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://testnet.emerald.oasis.io" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://arbitrum-goerli.public.blastapi.io" | "https://optimism-goerli.public.blastapi.io" | "https://base-goerli.public.blastapi.io" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://cube-rpc.xpla.dev" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://bombay.stakesystems.io" | "https://terra-testnet-rpc.polkachu.com" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://mantle-sepolia.drpc.org" | "https://eth-rpc-karura-testnet.aca-staging.network" | "https://eth-rpc-acala-testnet.aca-staging.network" | "https://sepolia.blast.io" | "https://artio.rpc.berachain.com" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://rpc.ankr.com/scroll_sepolia_testnet" | "https://public-node.testnet.rsk.co" | "https://rpc.chiadochain.net" | "https://rpc.ankr.com/klaytn_testnet" | "https://testnet.snaxchain.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899"; | ||
export declare const rpcAddress: (network: Network, chain: Chain) => "" | "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://rpc.ankr.com/polygon" | "https://bscrpc.com" | "https://rpc.ankr.com/avalanche" | "https://rpc.ankr.com/fantom" | "https://rpc.ankr.com/celo" | "https://rpc.ankr.com/moonbeam" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://dimension-rpc.xpla.dev" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://terra-classic-rpc.publicnode.com" | "https://terra-rpc.polkachu.com" | "https://eth-rpc-karura.aca-api.network" | "https://eth-rpc-acala.aca-api.network" | "https://emerald.oasis.dev" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.blast.io" | "https://rpc.provenance.io/" | "https://noble-rpc.polkachu.com/" | "https://rpc.linea.build" | "https://rpc.ankr.com/scroll" | "https://xlayerrpc.okx.com/" | "https://rpc.ankr.com/gnosis" | "https://public-node.rsk.co" | "https://rpc.mantle.xyz" | "https://rpc.ankr.com/klaytn" | "https://mainnet.snaxchain.io" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://eth-goerli.public.blastapi.io" | "https://rpc-mumbai.polygon.technology" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.ankr.com/fantom_testnet" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://testnet.emerald.oasis.io" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://arbitrum-goerli.public.blastapi.io" | "https://optimism-goerli.public.blastapi.io" | "https://base-goerli.public.blastapi.io" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://cube-rpc.xpla.dev" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://bombay.stakesystems.io" | "https://terra-testnet-rpc.polkachu.com" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://mantle-sepolia.drpc.org" | "https://eth-rpc-karura-testnet.aca-staging.network" | "https://eth-rpc-acala-testnet.aca-staging.network" | "https://sepolia.blast.io" | "https://artio.rpc.berachain.com" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://rpc.ankr.com/scroll_sepolia_testnet" | "https://public-node.testnet.rsk.co" | "https://rpc.chiadochain.net" | "https://rpc.ankr.com/klaytn_testnet" | "https://testnet.snaxchain.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "https://noble-testnet-rpc.polkachu.com/" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899"; | ||
//# sourceMappingURL=rpc.d.ts.map |
@@ -37,2 +37,3 @@ import { constMap } from "./../utils/index.js"; | ||
["Provenance", "https://rpc.provenance.io/"], | ||
["Noble", "https://noble-rpc.polkachu.com/"], | ||
["Linea", "https://rpc.linea.build"], | ||
@@ -95,2 +96,3 @@ ["Scroll", "https://rpc.ankr.com/scroll"], | ||
["MonadDevnet", ""], // TODO: No public rpc is currently available, override with a custom rpc for now. | ||
["Noble", "https://noble-testnet-rpc.polkachu.com/"], | ||
] | ||
@@ -97,0 +99,0 @@ ], [ |
{ | ||
"name": "@wormhole-foundation/sdk-base", | ||
"version": "1.3.0-beta.3", | ||
"version": "1.3.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4122164
75339
0