ZoneRpcAuthentication.deserialize
Parses a serialized Zone RPC authentication token.
The serialized format is <signature><29-byte fields>. The signature is parsed from the prefix and the fixed-length fields are parsed from the suffix.
Imports
Named
import { ZoneRpcAuthentication } from 'ox/tempo'Examples
import { ZoneRpcAuthentication } from 'ox/tempo'
const authentication = ZoneRpcAuthentication.deserialize('0x...')Definition
function deserialize(
serialized: Serialized,
): SignedSource: src/tempo/ZoneRpcAuthentication.ts
Parameters
serialized
- Type:
Serialized
The serialized Zone RPC authentication token.
Return Type
The parsed Zone RPC authentication token.
Signed

