@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
17 lines • 662 B
TypeScript
import { SignedTx } from '../../serializable/avax';
import { Api } from '../common/baseApi';
import { ChainApi } from '../common/chainAPI';
import type { GetAtomicTxParams, GetAtomicTxStatusResponse } from './model';
export declare class EVMApi extends ChainApi {
ethAPI: EthereumAPI;
constructor(baseURL?: string);
getAtomicTx: (getTxParams: GetAtomicTxParams) => Promise<SignedTx>;
getBaseFee(): Promise<bigint>;
getAtomicTxStatus(txID: string): Promise<GetAtomicTxStatusResponse>;
}
declare class EthereumAPI extends Api {
constructor(baseURL?: string);
getBaseFee(): Promise<bigint>;
}
export {};
//# sourceMappingURL=api.d.ts.map