Intersects
Check if two geometries intersect (share any portion of space).Request body
number
required
Target chain ID (e.g.,
84532 for Base Sepolia).Input
required
First geometry to check. See Input types for accepted formats.
Input
required
Second geometry to check.
string
EAS schema UID. The server uses a default schema if not provided.
string
Ethereum address to receive the attestation. Defaults to the zero address.
Example request
Response
Returns a BooleanComputeResponse.boolean
required
true if the geometries share any space.string
required
Always
"intersects".number
required
Unix timestamp of computation.
string[]
required
Array containing
[geometry1Ref, geometry2Ref].AttestationData
required
Signed EAS attestation. See AttestationData.
DelegatedAttestationData
required
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()