Explore the S4 Ledger Python SDK — hash, anchor, and verify defense records with live API calls
/api/*
Requires Python 3.8+ and xrpl-py
| Method | Description |
|---|---|
| hash_record() | SHA-256 hash of record content |
| anchor_record() | Anchor hash to XRPL with $SLS fee |
| verify_record() | Verify record against anchored hash |
| batch_anchor() | Anchor multiple records in one call |
| get_transaction() | Look up anchored transaction |
| list_records() | List all anchored records |
| Endpoint | Method |
|---|---|
| /api/hash | POST — compute SHA-256 |
| /api/anchor | POST — anchor record |
| /api/metrics | GET — dashboard data |
| /api/transactions | GET — recent activity |
| /api/record-types | GET — 130+ types |