Skip to main content

Library Reference

Complete API reference for the Inco Lightning SDK.

Types

Encrypted data types and input functions

Operations

Arithmetic, comparison, bitwise, and control flow

Account Structs

CPI account structures for operations

Quick Reference

Types

Input Functions

Operations

Access Control

Every operation that produces a new handle requires calling allow() to grant decryption access. Use the remaining_accounts pattern to pass allowance PDAs and grant access in the same transaction. See Access Control for simulation patterns.

Account Structs