- Preparing search index...
- The search index is not available
rubic-sdk
Constructors
constructor
- new Web3PrivateService(walletProvider: Partial<IWalletProvider>): Web3PrivateService
-
Parameters
-
walletProvider: Partial<IWalletProvider>
Methods
getWeb3PrivateByBlockchain
- getWeb3PrivateByBlockchain(blockchain: EvmBlockchainName): EvmWeb3Private
-
- getWeb3PrivateByBlockchain(blockchain: "SOLANA"): SolanaWeb3Private
-
- getWeb3PrivateByBlockchain(blockchain: "TRON"): TronWeb3Private
-
- getWeb3PrivateByBlockchain(blockchain: "MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "SCROLL_SEPOLIA" | "ARTHERA" | "SEPOLIA" | "BERACHAIN" | "BLAST_TESTNET" | "HOLESKY" | "ETH" | "BSC" | "POLYGON" | "POLYGON_ZKEVM" | "AVALANCHE" | "MOONRIVER" | "FANTOM" | "HARMONY" | "ARBITRUM" | "AURORA" | "TELOS" | "OPTIMISM" | "CRONOS" | "OKX" | "GNOSIS" | "FUSE" | "MOONBEAM" | "CELO" | "BOBA" | "BOBA_BSC" | "ASTAR_EVM" | "ETHW" | "KAVA" | "BITGERT" | "OASIS" | "METIS" | "DEFIKINGDOMS" | "KLAYTN" | "VELAS" | "STARKNET" | "SYSCOIN" | "ETHEREUM_CLASSIC" | "FLARE" | "IOTEX" | "THETA" | "BITCOIN_CASH" | "ZK_SYNC" | "PULSECHAIN" | "LINEA" | "BASE" | "MANTLE" | "MANTA_PACIFIC" | "SCROLL" | "ZETACHAIN" | "BLAST" | "KROMA" | "HORIZEN_EON" | "MERLIN" | "ROOTSTOCK" | "MODE" | "ZK_FAIR" | "ZK_LINK" | "XLAYER" | "TAIKO" | "SEI" | "CORE" | "BAHAMUT" | "BITLAYER" | "GRAVITY" | "SOLANA" | "TRON"): Web3Private
-
Parameters
-
blockchain: "MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "SCROLL_SEPOLIA" | "ARTHERA" | "SEPOLIA" | "BERACHAIN" | "BLAST_TESTNET" | "HOLESKY" | "ETH" | "BSC" | "POLYGON" | "POLYGON_ZKEVM" | "AVALANCHE" | "MOONRIVER" | "FANTOM" | "HARMONY" | "ARBITRUM" | "AURORA" | "TELOS" | "OPTIMISM" | "CRONOS" | "OKX" | "GNOSIS" | "FUSE" | "MOONBEAM" | "CELO" | "BOBA" | "BOBA_BSC" | "ASTAR_EVM" | "ETHW" | "KAVA" | "BITGERT" | "OASIS" | "METIS" | "DEFIKINGDOMS" | "KLAYTN" | "VELAS" | "STARKNET" | "SYSCOIN" | "ETHEREUM_CLASSIC" | "FLARE" | "IOTEX" | "THETA" | "BITCOIN_CASH" | "ZK_SYNC" | "PULSECHAIN" | "LINEA" | "BASE" | "MANTLE" | "MANTA_PACIFIC" | "SCROLL" | "ZETACHAIN" | "BLAST" | "KROMA" | "HORIZEN_EON" | "MERLIN" | "ROOTSTOCK" | "MODE" | "ZK_FAIR" | "ZK_LINK" | "XLAYER" | "TAIKO" | "SEI" | "CORE" | "BAHAMUT" | "BITLAYER" | "GRAVITY" | "SOLANA" | "TRON"
- getWeb3PrivateByBlockchain(blockchain: BlockchainName): never
-
Returns never
updateWeb3Private
- updateWeb3Private(chainType: "SOLANA" | "TRON" | "EVM", walletProviderCore: WalletProviderCore<any>): void
-
Parameters
-
chainType: "SOLANA" | "TRON" | "EVM"
-
Returns void
updateWeb3PrivateAddress
- updateWeb3PrivateAddress(chainType: "SOLANA" | "TRON" | "EVM", address: string): void
-
Parameters
-
chainType: "SOLANA" | "TRON" | "EVM"
-
address: string
Returns void
updateWeb3PrivateStorage
- updateWeb3PrivateStorage(walletProvider: Partial<IWalletProvider>): void
-
Parameters
-
walletProvider: Partial<IWalletProvider>
Returns void
Static
isSupportedChainType
- isSupportedChainType(chainType: ChainType): chainType is "SOLANA" | "TRON" | "EVM"
-
Returns chainType is "SOLANA" | "TRON" | "EVM"