@tangany/waas
Version:
node.js SDK for Tangany Wallet as a Service API
28 lines (27 loc) • 985 B
TypeScript
import { ITransactionEvent } from "./interfaces/ethereum-contract";
import { Waas } from "./waas";
import { IWaasMethod } from "./waas-method";
export declare class EthTransactionEvent implements IWaasMethod {
waas: Waas;
private readonly _hash;
private readonly _index;
private readonly _name;
/**
* Returns the transaction hash or throws an error if this optional property is not set.
*/
get hash(): string;
/**
* Returns the Ethereum event log index or throws an error if this optional property is not set.
*/
get index(): number;
/**
* Returns the event name or throws an error if this optional property is not set.
*/
get name(): string;
constructor(waas: Waas, _hash: string, _index: number, _name: string);
/**
* Requests details for the given event index.
* @see [docs]{@link https://docs.tangany.com/#43f498df-e261-4d17-8ab0-499f060313b5}
*/
get(): Promise<ITransactionEvent>;
}