@hyperlane-xyz/sdk
Version:
The official SDK for the Hyperlane Network
14 lines • 849 B
TypeScript
import { Address, ProtocolType } from '@hyperlane-xyz/utils';
import type { MultiProviderAdapter } from '../../providers/MultiProviderAdapter.js';
import { SendTransactionOptions } from '../../providers/MultiProvider.js';
import { EthersV5Transaction } from '../../providers/ProviderType.js';
import { ChainName } from '../../types.js';
import { IMultiProtocolSigner } from '../types.js';
export declare class EvmMultiProtocolSignerAdapter implements IMultiProtocolSigner<ProtocolType.Ethereum> {
private readonly chainName;
private readonly multiProvider;
constructor(chainName: ChainName, privateKey: string, multiProtocolProvider: MultiProviderAdapter);
address(): Promise<Address>;
sendAndConfirmTransaction(tx: EthersV5Transaction, options?: SendTransactionOptions): Promise<string>;
}
//# sourceMappingURL=ethersv5.d.ts.map