Area
Calculate the area of a polygon in square meters.Request body
The polygon geometry to measure. See Input types for accepted formats.
Example request
Response
Returns a NumericComputeResponse.Signed EAS attestation. See AttestationData.
Signature for delegated onchain submission. See DelegatedAttestationData.
Example response
Notes
- Uses PostGIS
ST_Areawith geodetic calculation - Result is in square meters with square centimeter precision
- The onchain attested value is scaled to square centimeters (integer) for EVM compatibility
- Only valid for polygon geometries
SDK Method
See
astral.compute.area()