MyCrypto/common/containers/Tabs/SendTransaction/types.ts

8 lines
200 B
TypeScript

export interface Transaction {
to: string;
value: number;
unit: string; // 'ether' or token symbol
gasLimit: number;
data?: string; // supported only in case of eth transfers, union type?
}