Andamio LogoAndamio
Andamio API/Andamioscan

Andamioscan API

Indexer API for querying Andamio on-chain data

Andamioscan API

Version: 1.0 Environment: preprod

Andamioscan is the indexer for Andamio Protocol on-chain data. It provides read-only access to indexed blockchain state including courses, students, modules, and transaction history.

Base URL: https://preprod.andamioscan.io/api

Andamioscan will be integrated into the unified Andamio API in a future release. The current endpoints are accessible directly at the base URL above.

API Categories

Courses

Query course data and enrolled students:

  • GET /v2/courses - List all courses
  • GET /v2/courses/{course_id} - Get specific course
  • GET /v2/courses/{course_id}/students - Get students in a course
  • GET /v2/courses/{course_id}/students/{alias} - Get specific student

Transactions

Query indexed transactions:

  • GET /v2/transactions - List transactions (filter by type)
  • GET /v2/transactions/count - Get transaction counts by type
  • GET /v2/transactions/{tx_hash} - Get transaction by hash

Transaction Detail Endpoints

Get decoded transaction data by type. Each endpoint links to the corresponding V2 protocol documentation:

EndpointDescriptionRelated
/v2/transactions/useraccesstoken/mint/{tx_hash}Access token mintV2 Docs
/v2/transactions/admincourse/create/{tx_hash}Course creationV2 Docs
/v2/transactions/admincourse/teachers_update/{tx_hash}Teacher updateV2 Docs
/v2/transactions/studentcourse/assignment_commit/{tx_hash}Enrollment + Assignment commitV2 Docs
/v2/transactions/studentcourse/assignment_update/{tx_hash}Assignment updateV2 Docs
/v2/transactions/studentcourse/credential_claim/{tx_hash}Credential claimV2 Docs
/v2/transactions/teachercourse/assignments_assess/{tx_hash}Assignment assessmentV2 Docs
/v2/transactions/teachercourse/modules_manage/{tx_hash}Module managementV2 Docs

Users

Query user global state:

  • GET /v2/user/all - List all users
  • GET /v2/user/global-state/{alias} - Get user's global state with courses

Transaction Types

When filtering transactions via GET /v2/transactions?type=..., use these type values:

TypeDescriptionV2 Docs
UserAccessTokenMintProtocol entry - mint access tokenView →
AdminCourseCreateAdmin creates a courseView →
AdminCourseTeachersUpdateAdmin updates course teachersView →
StudentCourseAssignmentCommitStudent enrolls and commits to assignmentView →
StudentCourseAssignmentUpdateStudent updates submissionView →
StudentCourseCredentialClaimStudent claims credentialView →
TeacherCourseAssignmentsAssessTeacher assesses assignmentsView →
TeacherCourseModulesManageTeacher manages modulesView →

Swagger UI

Interactive API documentation is available at: https://preprod.andamioscan.io/api