@nitin-spheron/desub-js
Version:
Typescript library for working with the decentralised subscription contracts in Spheron
22 lines (21 loc) • 415 B
TypeScript
import { Nos } from '../@types';
export interface TransactOpts {
to?: string;
from?: string;
gasPrice?: Nos;
gasLimit?: Nos;
value?: Nos;
data?: any;
}
export interface TxResponse {
hash: string;
wait: (confirmations?: number) => Promise<any>;
}
export interface Uint256Response {
hash: string;
}
export interface SignatureParams {
r: string;
s: string;
v: number;
}