Skip to main content

Module timestamp

Module timestamp 

Source
Expand description

Unix timestamp utilities for x402 payment authorization windows.

This module provides the UnixTimestamp type used throughout the x402 protocol to represent time-bounded payment authorizations. Timestamps are used in ERC-3009 transferWithAuthorization messages and Solana payment instructions to specify when a payment authorization becomes valid and when it expires.

Structsยง

UnixTimestamp
A Unix timestamp representing seconds since the Unix epoch (1970-01-01T00:00:00Z).