@polkadot/api-provider
Version:
Transport providers for the API
13 lines (10 loc) • 368 B
TypeScript
// Copyright 2017-2018 @polkadot/api-provider authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
import { Logger } from '@polkadot/util/types';
import { RpcCoder } from '../coder/json/types';
export type HttpState = {
coder: RpcCoder,
endpoint: string,
l: Logger
};