Add comment on IndexedTx.hash

This commit is contained in:
Simon Warta 2020-03-02 17:36:33 +01:00
parent 27f27d31e3
commit 23f88564e5
2 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ export interface ContractDetails extends Contract {
/** A transaction that is indexed as part of the transaction history */
export interface IndexedTx {
readonly height: number;
/** Transaction hash (might be used as transaction ID). Guaranteed to be non-empty upper-case hex */
readonly hash: string;
readonly rawLog: string;
readonly logs: readonly Log[];

View File

@ -74,6 +74,7 @@ export interface ContractDetails extends Contract {
/** A transaction that is indexed as part of the transaction history */
export interface IndexedTx {
readonly height: number;
/** Transaction hash (might be used as transaction ID). Guaranteed to be non-empty upper-case hex */
readonly hash: string;
readonly rawLog: string;
readonly logs: readonly Log[];