Intersects
Check if two geometries intersect (share any portion of space).Request body
Target chain ID (e.g.,
84532 for Base Sepolia).First geometry to check. See Input types for accepted formats.
Second geometry to check.
EAS schema UID. The server uses a default schema if not provided.
Ethereum address to receive the attestation. Defaults to the zero address.
Example request
Response
Returns a BooleanComputeResponse.true if the geometries share any space.Always
"intersects".Unix timestamp of computation.
Array containing
[geometry1Ref, geometry2Ref].Signed EAS attestation. See AttestationData.
Signature for delegated onchain submission. See DelegatedAttestationData.
Example response
Notes
- Uses PostGIS
ST_Intersectsfunction - Returns
trueif geometries share any space (including boundaries) - More permissive than contains — touching boundaries count as intersection
SDK Method
See
astral.compute.intersects()