Skip to content

SDK reference

Look up the TypeScript classes, functions, options and return types you use in your code. Start with the learning path if you are building your first TASRA app.

Most applications start with tasra-sdk/app. Open a module, then choose Classes, Functions, Types or Constants from its page navigation. Each group has its own lookup list.

Module Import What you will find
Application client tasra-sdk/app Connect, create slots, manage identities and run application workflows.
Local storage (Node.js) tasra-sdk/app/node Persist application state and coordinate local operations.
Core utilities tasra-sdk Signing, encryption, credentials and shared helpers.
Chain access tasra-sdk/chain Read contracts, submit transactions, discover services and fund slots.
Committee operations tasra-sdk/committee Threshold requests, approvals and operation receipts.
Credentials and OID4VP tasra-sdk/oid4vp Credential presentations, wallet flows and issuer verification.
Verifier integration tasra-sdk/verifier-agent Connect wallet and credential flows to a verifier agent.
Chain tools (Node.js) tasra-sdk/chain/node Load chain configuration from Node.js files.

Functions show their import, parameters and return value. Classes show constructors, properties and methods. Types describe the data you pass in or receive. Constants and contract ABIs link to their definitions. Follow Source for the implementation.

The declarations and descriptions are generated from the SDK source. They describe programming interfaces; use the application guides for complete runnable examples and Errors for recovery guidance.