mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import type { ArbitrumL2TxnBatchesItem, ArbitrumL2TxnBatch, ArbitrumL2MessagesItem } from 'types/api/arbitrumL2';
|
|
|
|
import { ADDRESS_HASH } from './addressParams';
|
|
import { TX_HASH } from './tx';
|
|
|
|
export const ARBITRUM_MESSAGES_ITEM: ArbitrumL2MessagesItem = {
|
|
completion_transaction_hash: TX_HASH,
|
|
id: 181920,
|
|
origination_address: ADDRESS_HASH,
|
|
origination_transaction_block_number: 123456,
|
|
origination_transaction_hash: TX_HASH,
|
|
origination_timestamp: '2023-06-01T14:46:48.000000Z',
|
|
status: 'relayed',
|
|
};
|
|
|
|
export const ARBITRUM_L2_TXN_BATCHES_ITEM: ArbitrumL2TxnBatchesItem = {
|
|
number: 12345,
|
|
blocks_count: 12345,
|
|
transactions_count: 10000,
|
|
commitment_transaction: {
|
|
block_number: 12345,
|
|
timestamp: '2024-04-17T08:51:58.000000Z',
|
|
hash: TX_HASH,
|
|
status: 'finalized',
|
|
},
|
|
};
|
|
|
|
export const ARBITRUM_L2_TXN_BATCH: ArbitrumL2TxnBatch = {
|
|
...ARBITRUM_L2_TXN_BATCHES_ITEM,
|
|
after_acc: '0xcd064f3409015e8e6407e492e5275a185e492c6b43ccf127f22092d8057a9ffb',
|
|
before_acc: '0x2ed7c4985eb778d76ec400a43805e7feecc8c2afcdb492dbe5caf227de6d37bc',
|
|
start_block: 1245209,
|
|
end_block: 1245490,
|
|
};
|