Kotlin Server library for Cardano Stakeholder Authenticator Service
A REST API service to verify stakeholder ownership and provide stake history for addresses
- JDK 1.8
./gradlew check assemble
This runs all tests and packages the library.
The server builds as a fat jar with a main entrypoint. To start the service, run java --Dservice-config-path=/path/to/service/config jar ./build/libs/cardano-authentication-service.jar
.
All URIs are relative to https://csas.pegasuspool.info/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AuthenticatorApi | stakehistoryAddressGet | GET /stakehistory/{address} | Get the stake history for a given address |
AuthenticatorApi | statusAddressGet | GET /status/{address} | Get the verification status for a given address |
AuthenticatorApi | verifyAddressDelete | DELETE /verify/{address} | Reset a given address’s status to unknown |
AuthenticatorApi | verifyAddressPost | POST /verify/{address} | Verify a given address. |
API endpoints must be called with a valid 'X-API-Key' header.
- Type: API key
- API key parameter name: X-API-Key
- Location: HTTP header