ZoneRpcAuthentication.getFields
Returns the 29-byte fixed field suffix for a Zone RPC authentication token.
Imports
Named
import { ZoneRpcAuthentication } from 'ox/tempo'Examples
import { ZoneRpcAuthentication } from 'ox/tempo'
const fields = ZoneRpcAuthentication.getFields({
chainId: 4217000026,
expiresAt: 1711235160,
issuedAt: 1711234560,
zoneId: 26,
})Definition
function getFields(
authentication: PartialBy<ZoneRpcAuthentication, 'version'>,
): FieldsSource: src/tempo/ZoneRpcAuthentication.ts
Parameters
authentication
- Type:
PartialBy<ZoneRpcAuthentication, 'version'>
The Zone RPC authentication token.
Return Type
The fixed 29-byte field suffix.

