@axiom-crypto/keystore-sdk
Version:
Keystore Rollup SDK
20 lines • 769 B
TypeScript
import { Data, EstimateGasResponse, EstimateL1DataFeeResponse, GasPriceResponse, SendRawTransactionResponse, BlockTagOrNumber, NodeClient } from "../../types";
export interface SequencerClient extends NodeClient {
sendRawTransaction: ({ data }: {
data: Data;
}) => Promise<SendRawTransactionResponse>;
gasPrice: () => Promise<GasPriceResponse>;
estimateGas: ({ txData }: {
txData: Data;
}) => Promise<EstimateGasResponse>;
estimateL1DataFee: ({ txData, block, }: {
txData: Data;
block?: BlockTagOrNumber;
}) => Promise<EstimateL1DataFeeResponse>;
}
export interface SequencerClientConfig {
url: string;
pollingIntervalMs?: number;
pollingRetries?: number;
}
//# sourceMappingURL=sequencer.d.ts.map