logistics_issue_pod_attestation
Verifies terminal discharge, GPS geofence arrival, customs clearance, and environmental telemetry, then issues an EIP-712 ProofOfDelivery signature to unlock freight escrow.
Instructions
Verifies terminal discharge, port GPS geofence arrival (< 500m), customs clearance, and environmental telemetry Merkle root. Issues an EIP-712 'ProofOfDelivery' signature that autonomously unlocks freight/commodity escrow funds on LogisticsPoDEscrow / SecurityGateEscrowRouter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealId | Yes | 32-byte hex escrow deal ID | |
| vesselImo | Yes | 7-digit IMO vessel number | |
| sensorLogs | Yes | Array of static/hydrostatic/temp environmental telemetry records with GPS | |
| containerId | Yes | ISO 6346 Container Number | |
| destUnlocode | Yes | 5-letter UN/LOCODE (e.g. KRPUS, NLRTM) | |
| blDocumentHash | Yes | 32-byte hex hash from logistics_verify_ebl | |
| maxAllowedTempC | No | Maximum allowed temperature in Celsius | |
| minAllowedTempC | No | Minimum allowed temperature in Celsius (optional) | |
| maxGeofenceMeters | No | Maximum allowed arrival geofence distance in meters |