| type | OnChainEventType | | The type of onchain event |
| chain_id | uint32 | | The chain id for the event |
| block_number | uint32 | | The block number for the event |
| block_hash | bytes | | The block hash for the event |
| block_timestamp | uint64 | | The block timestamp for the event |
| transaction_hash | bytes | | The transaction hash for the event |
| log_index | uint32 | | The log index for the event |
| fid | uint64 | | The fid the event is associated with |
| body | SignerEventBody, SignerMigratedEventBody, IdRegisterEventBody, StorageRentEventBody, TierPurchaseBody | oneOf | |
| tx_index | uint32 | | The tx index for the event |