Skip to main content
This reference is generated from the checked-out TypeScript exports. Types and signatures describe the package contract; source presence does not establish deployment or service availability. Error expressions below are direct throws, not an exhaustive list of failures from dependencies. Source module. See the reference index for package import boundaries and verification scope.

buildInitializeOneTimeTipInstruction

Import from @trustlink/tsn-sdk. Implementation, line 182.

buildInitializeOneTimeTipLiabilityInstruction

Creates only the empty liability slot; the subsequent credit still requires TSN authorization. Import from @trustlink/tsn-sdk. Implementation, line 107.

buildTcapDepositAssetV2Instruction

Builds TCAP’s sender-authorized reserve deposit. Account addresses must come from the governed on-chain asset registry, not caller-invented PDAs. Import from @trustlink/tsn-sdk. Implementation, line 30.
Direct failure expressions:

buildTcapTinWalletDepositTransaction

Builds the wallet transaction for first funding of a TIN’s TCAP TIP. The Node/Cranker flow still validates and submits the fully wallet-signed transaction; this helper does not send or sign it. Import from @trustlink/tsn-sdk. Implementation, line 64.

buildTsnRegisterOneTimeCreditInstruction

Builds the exact TSN CPI wrapper for TCAP credit_one_time_tip. Import from @trustlink/tsn-sdk. Implementation, line 151.

deriveOneTimeCreditPermitDigest

Import from @trustlink/tsn-sdk. Implementation, line 130.

deriveOneTimeTipLiabilityPda

Import from @trustlink/tsn-sdk. Implementation, line 99.

deriveOneTimeTipPda

Import from @trustlink/tsn-sdk. Implementation, line 92.

TCAP_PROGRAM_ID

Import from @trustlink/tsn-sdk. Implementation, line 6.

TsnOneTimeCreditInstructionParams

Import from @trustlink/tsn-sdk. Implementation, line 141.