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.

buildTcapGpruWalletDepositTransaction

Builds only the sender-signed reserve deposit. TIP settlement is Node-owned. Import from @trustlink/tsn-sdk. Implementation, line 99.

buildTsnRegisterTcapCreditAuthorizationV2Instruction

Mother-authorized memo credit, fenced by TCAP’s shared settlement root. Import from @trustlink/tsn-sdk. Implementation, line 116.
Direct failure expressions:

GPRU_PROGRAM_ID

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

GPRU_TCAP_PROGRAM_ID

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

GpruHiddenHeadProofV1

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

resolveTcapGpruDepositAccounts

Reads the canonical reserve and vault from TCAP’s on-chain asset entry. The reserve is never derived from an assetState PDA. Import from @trustlink/tsn-sdk. Implementation, line 57.
Direct failure expressions: