Skip to content

Commit

Permalink
[PLA-1690] Add transaction hash to event data (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner authored Mar 29, 2024
1 parent cf8c231 commit d252954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Events/Substrate/Balances/Transfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function __construct(Model $from, Model $to, string $amount, ?Model $tran

$this->broadcastData = [
'idempotencyKey' => $transaction?->idempotency_key,
'transactionHash' => $transaction?->transaction_chain_hash,
'from' => $from->address,
'to' => $to->address,
'amount' => $amount,
Expand Down

0 comments on commit d252954

Please sign in to comment.