feat: Add block number to token transfer object in API v2 endpoint (#10591)

pull/10407/head
Victor Baranov 3 months ago committed by GitHub
parent 7c4753d826
commit af88ab547f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      apps/block_scout_web/lib/block_scout_web/views/api/v2/transaction_view.ex

@ -258,6 +258,7 @@ defmodule BlockScoutWeb.API.V2.TransactionView do
),
"method" => method_name(token_transfer.transaction, decoded_input, true),
"block_hash" => to_string(token_transfer.block_hash),
"block_number" => to_string(token_transfer.block_number),
"log_index" => to_string(token_transfer.log_index)
}
end

Loading…
Cancel
Save