wallets-wrapper
Version:
How to install
8 lines (7 loc) • 366 B
TypeScript
import { SignatureLike } from '@ethersproject/bytes';
import { ethers } from 'ethers';
import { ChainIds } from '../models';
export declare const serializeTransaction: ({ chainId, value, ...restTx }: Omit<ethers.utils.UnsignedTransaction, "value" | "chainId"> & {
value?: number | undefined;
chainId: ChainIds;
}, signature: SignatureLike) => string;