Test AI-powered validation for decentralized physical infrastructure sensor data
Submit sensor data to see validation results
import { URAClient } from '@ura/sdk'
const ura = new URAClient({
apiKey: 'your-api-key',
network: 'ethereum'
})
// Validate sensor data
const result = await ura.validate({
type: 'depin-sensor',
data: {
sensorData: readings,
deviceId: 'DEPIN-SENSOR-001',
location: 'San Francisco, CA'
}
})
if (result.isValid) {
// Submit to blockchain
const proof = await ura.submitValidated(result)
console.log('Validation proof:', proof.transactionHash)
}