Contains
Check if a geometry is inside a container geometry.Request body
The containing geometry (typically a polygon). See Input types for accepted formats.
Example request
Response
Returns a BooleanComputeResponse.Signed EAS attestation. See AttestationData.
Signature for delegated onchain submission. See DelegatedAttestationData.
Example response
Notes
- Uses PostGIS
ST_Containsfunction - The container must completely contain the geometry for
true - Points on the boundary may return
false— use intersects for boundary cases
The field for the inner geometry is
containee, not geometry. This naming distinguishes the two inputs unambiguously.SDK Method
See
astral.compute.contains()