@tangany/waas
Version:
node.js SDK for Tangany Wallet as a Service API
29 lines (28 loc) • 831 B
TypeScript
import { EthTransaction } from "./eth-transaction";
import { Waas } from "./waas";
/**
* Properties returned for an asynchronously executed transaction along with the link to the full details of the transaction. So this information is available without any further fetch.
*/
interface IDetails {
hash: string;
blockNr: number;
data: string;
status: string;
nonce: number;
gas: string;
gasPrice: string;
}
/**
* Represents the result that asynchronous sending Ethereum endpoints return.
*/
export declare class EthTransactionAsync extends EthTransaction {
private readonly details;
get blockNr(): number;
get data(): string;
get status(): string;
get nonce(): number;
get gas(): string;
get gasPrice(): string;
constructor(waas: Waas, details: IDetails);
}
export {};