Skip to content

WithdrawalSenderTag

Utilities for deriving the sender tag that correlates a Zone withdrawal with its indexed parent-chain WithdrawalProcessed event.

The sender tag commits to the withdrawal sender, the Zone transaction hash containing the ZoneOutbox.requestWithdrawal call, and its fallback nonce.

Authenticated Withdrawals Specification

Examples

import { WithdrawalSenderTag } from 'ox/tempo'
 
const senderTag = WithdrawalSenderTag.from({
  fallbackNonce: 19n,
  sender: '0x1234567890abcdef1234567890abcdef12345678',
  transactionHash:
    '0xabababababababababababababababababababababababababababababababab'
})

Functions

NameDescription
WithdrawalSenderTag.fromDerives the sender tag that identifies the indexed parent-chain WithdrawalProcessed event for a Zone withdrawal.