@kaiachain/ethers-ext
Version:
ethers.js extension for kaia blockchain
15 lines (14 loc) • 691 B
TypeScript
import { TransactionRequest as EthersTransactionRequest } from "@ethersproject/abstract-provider";
import { ExternallyOwnedAccount } from "@ethersproject/abstract-signer";
import { BytesLike } from "@ethersproject/bytes";
import { ExternalProvider as EthersExternalProvider } from "@ethersproject/providers";
import { SigningKey } from "@ethersproject/signing-key";
export interface TransactionRequest extends EthersTransactionRequest {
txSignatures?: any[];
feePayer?: string;
feePayerSignatures?: any[];
}
export type PrivateKeyLike = BytesLike | ExternallyOwnedAccount | SigningKey;
export interface ExternalProvider extends EthersExternalProvider {
isKaikas?: boolean;
}