getEventByTransactionID

Will return all events within a transactionID.

Usage

visionWeb.getEventByTransactionID(txId);

Parameters

ParameterDescriptionTypeDefault
txIdTransaction idstring-

Returns

Promise Object(Array)

Example

visionWeb.getEventByTransactionID("9f1a132ad9b77f0299f1f54b43ea8f75c2bad6beb84f54942a4deaa1a4ccfba0");
> [
  {
    block: 560311,
    timestamp: 1607003409000,
    contract: 'VUzCDX3TQccMCDhvwyo3V5CaC1zbEEmMwf',
    name: 'Transfer',
    transaction: '9f1a132ad9b77f0299f1f54b43ea8f75c2bad6beb84f54942a4deaa1a4ccfba0',
    result: {
      dst: '0x401a8da8a7fc86f0087f8c62e630d10df10a963b',
      src: '0x063cdeee289c67580b6e6093f39098f77553b3e1',
      wad: '9968'
    },
    resourceNode: 'fullNode',
    unconfirmed: true
  }
]