mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* Migrate to the props with consistent full naming in the API for address hash entity and multiple props for L2-rollups Fixes #2686 * fix test
41 lines
1.4 KiB
TypeScript
41 lines
1.4 KiB
TypeScript
import type { ZkEvmL2TxnBatch, ZkEvmL2TxnBatchesResponse } from 'types/api/zkEvmL2';
|
|
|
|
export const txnBatchData: ZkEvmL2TxnBatch = {
|
|
acc_input_hash: '0x4bf88aabe33713b7817266d7860912c58272d808da7397cdc627ca53b296fad3',
|
|
global_exit_root: '0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5',
|
|
number: 5,
|
|
sequence_transaction_hash: '0x7ae010e9758441b302db10282807358af460f38c49c618d26a897592f64977f7',
|
|
state_root: '0x183b4a38a4a6027947ceb93b323cc94c548c8c05cf605d73ca88351d77cae1a3',
|
|
status: 'Finalized',
|
|
timestamp: '2023-10-20T10:08:18.000000Z',
|
|
transactions: [
|
|
'0xb5d432c270057c223b973f3b5f00dbad32823d9ef26f3e8d97c819c7c573453a',
|
|
],
|
|
verify_transaction_hash: '0x6f7eeaa0eb966e63d127bba6bf8f9046d303c2a1185b542f0b5083f682a0e87f',
|
|
};
|
|
|
|
export const txnBatchesData: ZkEvmL2TxnBatchesResponse = {
|
|
items: [
|
|
{
|
|
timestamp: '2023-06-01T14:46:48.000000Z',
|
|
status: 'Finalized',
|
|
verify_transaction_hash: '0x48139721f792d3a68c3781b4cf50e66e8fc7dbb38adff778e09066ea5be9adb8',
|
|
sequence_transaction_hash: '0x6aa081e8e33a085e4ec7124fcd8a5f7d36aac0828f176e80d4b70e313a11695b',
|
|
number: 5218590,
|
|
transactions_count: 9,
|
|
},
|
|
{
|
|
timestamp: '2023-06-01T14:46:48.000000Z',
|
|
status: 'Unfinalized',
|
|
verify_transaction_hash: null,
|
|
sequence_transaction_hash: null,
|
|
number: 5218591,
|
|
transactions_count: 9,
|
|
},
|
|
],
|
|
next_page_params: {
|
|
number: 5902834,
|
|
items_count: 50,
|
|
},
|
|
};
|