@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
20 lines • 696 B
TypeScript
import type { FormattedTransactionRequest, JsonRpcAccount } from 'viem';
import type { EtherValue, CommonTransactionProps } from '../core/types.js';
export type WrapProps = CommonTransactionProps & {
value: EtherValue;
};
export type WrapResults = {
stethWrapped: bigint;
wstethReceived: bigint;
};
export type UnwrapResults = {
wstethUnwrapped: bigint;
stethReceived: bigint;
};
export type WrapPropsWithoutCallback = Omit<WrapProps, 'callback'>;
export type WrapInnerProps = Omit<CommonTransactionProps, 'account'> & {
value: bigint;
account: JsonRpcAccount;
};
export type PopulatedTx = Omit<FormattedTransactionRequest, 'type'>;
//# sourceMappingURL=types.d.ts.map