Skip to content

Commit cddd9c8

Browse files
Actualise documentation for eventId and transformIdx
1 parent b5a49ba commit cddd9c8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,14 @@ const event = parseEventNameAndData(rawEvent, schemas);
146146

147147
Type that represents an event:
148148

149-
| Property | Type | Description |
150-
| --- | --- | --- |
151-
| `contractHash` | `Uint8Array` | Event ContractHash |
152-
| `contractPackageHash` | `Uint8Array` | Event ContractHash |
153-
| `name` | `string` | Event name |
154-
| `data` | `Record<string,CLValue>` | Event Data |
149+
| Property | Type | Description |
150+
| --- |--------------------------|-----------------------------------------------------|
151+
| `contractHash` | `Uint8Array` | Event ContractHash |
152+
| `contractPackageHash` | `Uint8Array` | Event ContractHash |
153+
| `name` | `string` | Event name |
154+
| `eventId` | `number` | Event identifier |
155+
| `transformIdx` | `number` | Transaction transform index of the event |
156+
| `data` | `Record<string,CLValue>` | Event Data |
155157

156158
### `ParseResult`
157159

0 commit comments

Comments
 (0)