Skip to content

Commit

Permalink
add global slot to transaction data
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromtcosta committed Feb 23, 2023
1 parent 0284007 commit 3b0fb43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/neo4j/txs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ export const neo4jTxDataToResponseTxData = (records: any): any[] => {
block_hash: block.hash,
time: blockDate(block),
epoch: neo4jBigNumberAsNumber(block.epoch),
globalSlot: neo4jBigNumberAsNumber(block.slot),
slot: neo4jBigNumberAsNumber(block.epoch_slot),
inputs: inputs.map(i => ({
address: formatIOAddress(i.tx_out?.address),
Expand Down

0 comments on commit 3b0fb43

Please sign in to comment.