@turnkey/eip-1193-provider
Version:
EIP-1193 Provider for Turnkey.
33 lines • 1.33 kB
TypeScript
import { Hex, ProviderRpcError } from "viem";
declare class UnrecognizedChainError extends ProviderRpcError {
constructor(chainId: string);
}
declare class ChainIdMismatchError extends ProviderRpcError {
constructor(providerChainId: Hex, rpcChainId: Hex);
}
declare class BlockExplorerUrlError extends ProviderRpcError {
constructor();
}
declare class RpcUrlsRequiredError extends ProviderRpcError {
constructor();
}
declare class ChainIdAlreadyAddedError extends ProviderRpcError {
constructor();
}
declare class InvalidChainIdFormatError extends ProviderRpcError {
constructor(chainId: string);
}
declare class ChainIdValueExceedsError extends ProviderRpcError {
constructor(chainId: string);
}
declare class InvalidRpcUrlError extends ProviderRpcError {
constructor();
}
declare class NativeCurrencySymbolLengthError extends ProviderRpcError {
constructor(symbol: string);
}
declare class NativeCurrencySymbolMismatchError extends ProviderRpcError {
constructor(symbol: string);
}
export { UnrecognizedChainError, ChainIdMismatchError, BlockExplorerUrlError, RpcUrlsRequiredError, ChainIdAlreadyAddedError, InvalidChainIdFormatError, ChainIdValueExceedsError, InvalidRpcUrlError, NativeCurrencySymbolLengthError, NativeCurrencySymbolMismatchError, };
//# sourceMappingURL=errors.d.ts.map