Skip to main content

Event

A runtime event.

argsobject

Call arguments in JSON format. Schema depends on the call's schema definition in the runtime metadata.

blockHashHash256Hex (string)required

Hash of the event's block.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
blockNumberinteger<int64>required

Number of the event's block.

Possible values: >= 0

Example: 3172595
blockStatusBlockStatus (string)required

Block status.

  • finalized: Blocks that have been finalized on chain.
  • proposed: Blocks that have been authored but not yet finalized.
  • pruned: Blocks that have been removed or are no longer accessible.

Possible values: [proposed, pruned, finalized]

Example: finalized
blockTimestampinteger<int64>

Timestamp of the event's block. Milliseconds.

Possible values: >= 0

Example: 1755773684012
extrinsicHashHash256Hex (string)

Hash of the event's extrinsic, if it was output from an extrinsic.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
extrinsicIndexinteger<int32>

Index of the event's extrinsic, if it was output from an extrinsic.

Possible values: >= 0

Example: 3
hashHash256Hex (string)required

Artificial event hash.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
indexinteger<int32>required

Index of the event in block.

Possible values: >= 0

Example: 77
palletEventIndexinteger<int32>required

Index of the event in its pallet.

Possible values: >= 0

Example: 12
palletEventNamestringrequired

Name of the event.

Example: Rewarded
palletIndexinteger<int32>required

Pallet index of the event.

Possible values: >= 0

Example: 14
palletNamestringrequired

Pallet name of the event.

Example: Staking
phasestringrequired

Event phase.

Example: ApplyExtrinsic
specVersioninteger<int32>required

Runtime spec version of the event's block.

Possible values: >= 0

Example: 2000000
traceIndexinteger<int32>

Index of the event's trace, if traces are enabled.

Possible values: >= 0

Example: 78
Event
{
"args": {
"dispatchInfo": {
"class": {
"type": "Mandatory",
"value": []
},
"paysFee": {
"type": "Yes",
"value": []
},
"weight": {
"proofSize": "0",
"refTime": "125000000"
}
}
},
"blockHash": "0x5c4de7f2cea658d5d3804d495e8246354f709735d371fd54caaf59e80181bcaa",
"blockNumber": 10758052,
"blockStatus": "proposed",
"blockTimestamp": 1765456362000,
"extrinsicHash": "0x6963ce866a54258d9d6ca9222060f7270a8f5f6b83eaac88e899bb73fbbb68cb",
"extrinsicIndex": 0,
"hash": "0x2c923bb54d06dfb649aaaf1c198eb1af9e19ec52b8e90267984496c128ee7adc",
"index": 1,
"palletEventIndex": 0,
"palletEventName": "ExtrinsicSuccess",
"palletIndex": 0,
"palletName": "System",
"phase": "ApplyExtrinsic",
"specVersion": 2000003,
"traceIndex": 78
}