Skip to main content

@reactive-dot/core

Index

Type Aliases

AsyncValue

AsyncValue<TResult, TError>: typeof idle | typeof pending | TError | TResult

Type parameters

  • TResult
  • TError: Error = Error

ChainConfig

ChainConfig: { descriptor: ChainDefinition; provider: Gettable<JsonRpcProvider> }

Type declaration

  • readonlydescriptor: ChainDefinition
  • readonlyprovider: Gettable<JsonRpcProvider>

ChainId

ChainId: keyof Chains

Config

Config<TChains, TTargetChainIds>: { chains: TChains; targetChains?: TTargetChainIds; wallets?: ReadonlyArray<WalletProvider | Wallet> }

Type parameters

  • TChains: Readonly<Record<string, ChainConfig>> = Readonly<Record<string, ChainConfig>>
  • TTargetChainIds: ReadonlyArray<Extract<keyof TChains, string>> = ReadonlyArray<Extract<keyof TChains, string>>

Type declaration

  • readonlychains: TChains
  • optionalreadonlytargetChains?: TTargetChainIds
  • optionalreadonlywallets?: ReadonlyArray<WalletProvider | Wallet>

Variables

constidle

idle: typeof idle = ...

constpending

pending: typeof pending = ...