Files
explore/stubs/scrollL2.ts
T
Igor StuevandGitHub 129b4f3883 Scroll views (#2418)
* Scroll views

* review fix

* fix tests
2024-12-03 11:05:28 +01:00

33 lines
904 B
TypeScript

import type { ScrollL2MessageItem, ScrollL2TxnBatch } from 'types/api/scrollL2';
import { TX_HASH } from './tx';
export const SCROLL_L2_TXN_BATCH: ScrollL2TxnBatch = {
commitment_transaction: {
block_number: 4053979,
hash: '0xd04d626495ef69abd37ae3ea585ed03319a3d3b50cf10874f7f36741c7b45a18',
timestamp: '2023-08-09T08:09:12.000000Z',
},
confirmation_transaction: {
block_number: null,
hash: null,
timestamp: null,
},
end_block: 1711,
number: 273,
start_block: 1697,
transaction_count: 15,
data_availability: {
batch_data_container: 'in_blob4844',
},
};
export const SCROLL_L2_MESSAGE_ITEM: ScrollL2MessageItem = {
id: 930795,
origination_transaction_block_number: 20639178,
origination_transaction_hash: TX_HASH,
origination_timestamp: '2024-08-30T05:03:23.000000Z',
completion_transaction_hash: 'TX_HASH',
value: '5084131319054877748',
};