@ticketto/protocol
Version:
Library that defines the interfaces of the ticketto protocol to be implemented on a client
14 lines (13 loc) • 459 B
TypeScript
/**
* Calls to interact with attendances module.
*/
export interface AttendancesCalls {
/**
* Updates the information of an event call to mark an attendance to an event with a valid ticket.
*
* @param input A signed call to mark the attendance.
* @returns A confirmation that the attendance was marked successfully.
* @throws An error in case the attendance is not valid.
*/
submit(input: Uint8Array): Promise<void>;
}