@wagmi/core
Version:
VanillaJS library for Ethereum
129 lines • 7.64 kB
JavaScript
////////////////////////////////////////////////////////////////////////////////
// Actions
////////////////////////////////////////////////////////////////////////////////
// biome-ignore lint/performance/noBarrelFile: entrypoint module
export { call, } from '../actions/call.js';
export { connect, } from '../actions/connect.js';
export { deployContract, } from '../actions/deployContract.js';
export { disconnect, } from '../actions/disconnect.js';
export { estimateGas, } from '../actions/estimateGas.js';
export { estimateFeesPerGas, } from '../actions/estimateFeesPerGas.js';
export { estimateMaxPriorityFeePerGas, } from '../actions/estimateMaxPriorityFeePerGas.js';
export { getAccount, } from '../actions/getAccount.js';
export { getBalance,
/** @deprecated use `getBalance` instead */
getBalance as fetchBalance, } from '../actions/getBalance.js';
export { getBlock, } from '../actions/getBlock.js';
export { getBlockNumber,
/** @deprecated use `getBlockNumber` instead */
getBlockNumber as fetchBlockNumber, } from '../actions/getBlockNumber.js';
export { getBlockTransactionCount, } from '../actions/getBlockTransactionCount.js';
export { getBytecode, } from '../actions/getBytecode.js';
export { getChainId, } from '../actions/getChainId.js';
export { getChains, } from '../actions/getChains.js';
export { getClient, } from '../actions/getClient.js';
export { getConnections, } from '../actions/getConnections.js';
export { getConnectors, } from '../actions/getConnectors.js';
export { getConnectorClient, } from '../actions/getConnectorClient.js';
export { getEnsAddress,
/** @deprecated use `getEnsAddress` instead */
getEnsAddress as fetchEnsAddress, } from '../actions/getEnsAddress.js';
export { getEnsAvatar,
/** @deprecated use `getEnsAvatar` instead */
getEnsAvatar as fetchEnsAvatar, } from '../actions/getEnsAvatar.js';
export { getEnsName,
/** @deprecated */
getEnsName as fetchEnsName, } from '../actions/getEnsName.js';
export { getEnsResolver,
/** @deprecated use `getEnsResolver` instead */
getEnsResolver as fetchEnsResolver, } from '../actions/getEnsResolver.js';
export { getEnsText, } from '../actions/getEnsText.js';
export { getFeeHistory, } from '../actions/getFeeHistory.js';
export { getGasPrice, } from '../actions/getGasPrice.js';
export { getProof, } from '../actions/getProof.js';
export { getPublicClient, } from '../actions/getPublicClient.js';
export { getStorageAt, } from '../actions/getStorageAt.js';
export { getToken,
/** @deprecated use `getToken` instead */
getToken as fetchToken, } from '../actions/getToken.js';
export { getTransaction,
/** @deprecated use `getTransaction` instead */
getTransaction as fetchTransaction, } from '../actions/getTransaction.js';
export { getTransactionConfirmations, } from '../actions/getTransactionConfirmations.js';
export { getTransactionCount, } from '../actions/getTransactionCount.js';
export { getTransactionReceipt, } from '../actions/getTransactionReceipt.js';
export { getWalletClient, } from '../actions/getWalletClient.js';
export { multicall, } from '../actions/multicall.js';
export { prepareTransactionRequest, } from '../actions/prepareTransactionRequest.js';
export { readContract, } from '../actions/readContract.js';
export { readContracts, } from '../actions/readContracts.js';
export { reconnect, } from '../actions/reconnect.js';
export { sendTransaction, } from '../actions/sendTransaction.js';
export { signMessage, } from '../actions/signMessage.js';
export { signTypedData, } from '../actions/signTypedData.js';
export { simulateContract, } from '../actions/simulateContract.js';
export { switchAccount, } from '../actions/switchAccount.js';
export { switchChain,
/** @deprecated use `switchChain` instead */
switchChain as switchNetwork, } from '../actions/switchChain.js';
export { verifyMessage, } from '../actions/verifyMessage.js';
export { verifyTypedData, } from '../actions/verifyTypedData.js';
export { watchAccount, } from '../actions/watchAccount.js';
export { watchAsset, } from '../actions/watchAsset.js';
export { watchBlocks, } from '../actions/watchBlocks.js';
export { watchBlockNumber, } from '../actions/watchBlockNumber.js';
export { watchChainId, } from '../actions/watchChainId.js';
export { watchClient, } from '../actions/watchClient.js';
export { watchConnections, } from '../actions/watchConnections.js';
export { watchConnectors, } from '../actions/watchConnectors.js';
export { watchContractEvent, } from '../actions/watchContractEvent.js';
export { watchPendingTransactions, } from '../actions/watchPendingTransactions.js';
export { watchPublicClient, } from '../actions/watchPublicClient.js';
export { waitForTransactionReceipt,
/** @deprecated use `waitForTransactionReceipt` instead */
waitForTransactionReceipt as waitForTransaction, } from '../actions/waitForTransactionReceipt.js';
export { writeContract, } from '../actions/writeContract.js';
////////////////////////////////////////////////////////////////////////////////
// Connectors
////////////////////////////////////////////////////////////////////////////////
export { createConnector, } from '../connectors/createConnector.js';
export { injected, } from '../connectors/injected.js';
export { mock, } from '../connectors/mock.js';
////////////////////////////////////////////////////////////////////////////////
// createConfig
////////////////////////////////////////////////////////////////////////////////
export { createConfig, } from '../createConfig.js';
////////////////////////////////////////////////////////////////////////////////
// createStorage
////////////////////////////////////////////////////////////////////////////////
export { createStorage, noopStorage, } from '../createStorage.js';
////////////////////////////////////////////////////////////////////////////////
// Hydrate
////////////////////////////////////////////////////////////////////////////////
export { hydrate } from '../hydrate.js';
////////////////////////////////////////////////////////////////////////////////
// Errors
////////////////////////////////////////////////////////////////////////////////
export { BaseError } from '../errors/base.js';
export { ChainNotConfiguredError, ConnectorNotConnectedError, ConnectorAlreadyConnectedError, ConnectorNotFoundError, ConnectorAccountNotFoundError, ConnectorChainMismatchError, ConnectorUnavailableReconnectingError, } from '../errors/config.js';
export { ProviderNotFoundError, SwitchChainNotSupportedError, } from '../errors/connector.js';
////////////////////////////////////////////////////////////////////////////////
// Transports
////////////////////////////////////////////////////////////////////////////////
export { custom, http, webSocket } from 'viem';
export { unstable_connector, } from '../transports/connector.js';
export { fallback } from '../transports/fallback.js';
////////////////////////////////////////////////////////////////////////////////
// Utilities
////////////////////////////////////////////////////////////////////////////////
export { cookieStorage, cookieToInitialState, parseCookie, } from '../utils/cookie.js';
export { deepEqual } from '../utils/deepEqual.js';
export { deserialize } from '../utils/deserialize.js';
export { extractRpcUrls } from '../utils/extractRpcUrls.js';
export { normalizeChainId } from '../utils/normalizeChainId.js';
export { serialize } from '../utils/serialize.js';
////////////////////////////////////////////////////////////////////////////////
// Version
////////////////////////////////////////////////////////////////////////////////
export { version } from '../version.js';
//# sourceMappingURL=index.js.map