@airgap/etherlink
Version:
The @airgap/etherlink package is an implementation of the ICoinProtocol interface from @airgap/coinlib-core.
9 lines (8 loc) • 398 B
TypeScript
import { AirGapInterface } from '../types/airgap';
import { BlockExplorerMetadata } from '../types/block-explorer';
export interface BlockExplorer {
getMetadata(): Promise<BlockExplorerMetadata>;
createAddressUrl(address: string): Promise<string>;
createTransactionUrl(transactionId: string): Promise<string>;
}
export declare type AirGapBlockExplorer = AirGapInterface<BlockExplorer>;