@oobe-protocol-labs/synapse-client-sdk 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/cjs/ai/index.d.ts +2 -0
  3. package/dist/cjs/ai/index.d.ts.map +1 -1
  4. package/dist/cjs/ai/index.js +37 -1
  5. package/dist/cjs/ai/index.js.map +1 -1
  6. package/dist/cjs/ai/lazy.d.ts +40 -0
  7. package/dist/cjs/ai/lazy.d.ts.map +1 -0
  8. package/dist/cjs/ai/lazy.js +98 -0
  9. package/dist/cjs/ai/lazy.js.map +1 -0
  10. package/dist/cjs/ai/tools/protocols/jupiter/schemas.d.ts.map +1 -1
  11. package/dist/cjs/ai/tools/protocols/jupiter/schemas.js +29 -10
  12. package/dist/cjs/ai/tools/protocols/jupiter/schemas.js.map +1 -1
  13. package/dist/cjs/ai/tools/protocols/jupiter/tools.d.ts +2 -2
  14. package/dist/cjs/ai/tools/protocols/jupiter/tools.d.ts.map +1 -1
  15. package/dist/cjs/ai/tools/protocols/jupiter/tools.js +7 -10
  16. package/dist/cjs/ai/tools/protocols/jupiter/tools.js.map +1 -1
  17. package/dist/cjs/ai/tools/protocols/raydium/tools.d.ts.map +1 -1
  18. package/dist/cjs/ai/tools/protocols/raydium/tools.js +1 -0
  19. package/dist/cjs/ai/tools/protocols/raydium/tools.js.map +1 -1
  20. package/dist/cjs/ai/tools/protocols/shared.d.ts +34 -2
  21. package/dist/cjs/ai/tools/protocols/shared.d.ts.map +1 -1
  22. package/dist/cjs/ai/tools/protocols/shared.js +22 -8
  23. package/dist/cjs/ai/tools/protocols/shared.js.map +1 -1
  24. package/dist/docs/classes/AccountReader.html +18 -18
  25. package/dist/docs/classes/AccountsClient.html +10 -10
  26. package/dist/docs/classes/DasClient.html +13 -13
  27. package/dist/docs/classes/GeyserParser.html +17 -17
  28. package/dist/docs/classes/GrpcTransport.html +6 -6
  29. package/dist/docs/classes/HttpTransport.html +4 -4
  30. package/dist/docs/classes/NetworkError.html +5 -5
  31. package/dist/docs/classes/RpcMethodNotFoundError.html +4 -4
  32. package/dist/docs/classes/SolanaRpc.html +55 -55
  33. package/dist/docs/classes/SynapseClient.html +13 -13
  34. package/dist/docs/classes/SynapseError.html +4 -4
  35. package/dist/docs/classes/TimeoutError.html +4 -4
  36. package/dist/docs/classes/UpstreamError.html +6 -6
  37. package/dist/docs/classes/WsClient.html +10 -10
  38. package/dist/docs/enums/SynapseNetwork.html +2 -2
  39. package/dist/docs/enums/SynapseRegion.html +2 -2
  40. package/dist/docs/enums/TokenExtensionType.html +2 -2
  41. package/dist/docs/functions/Epoch-1.html +1 -1
  42. package/dist/docs/functions/Lamports-2.html +1 -1
  43. package/dist/docs/functions/Pubkey-1.html +1 -1
  44. package/dist/docs/functions/Sig.html +1 -1
  45. package/dist/docs/functions/Slot-1.html +1 -1
  46. package/dist/docs/functions/UnixTs.html +1 -1
  47. package/dist/docs/functions/autoSelectRegion.html +1 -1
  48. package/dist/docs/functions/base58Encode.html +1 -1
  49. package/dist/docs/functions/base64ToBytes.html +1 -1
  50. package/dist/docs/functions/chunk.html +1 -1
  51. package/dist/docs/functions/computeBalanceChanges.html +1 -1
  52. package/dist/docs/functions/computeTokenBalanceChanges.html +1 -1
  53. package/dist/docs/functions/createSynapse.html +1 -1
  54. package/dist/docs/functions/decodeLookupTable.html +1 -1
  55. package/dist/docs/functions/decodeMint.html +1 -1
  56. package/dist/docs/functions/decodeMultisig.html +1 -1
  57. package/dist/docs/functions/decodeNonceAccount.html +1 -1
  58. package/dist/docs/functions/decodeStakeAccount.html +1 -1
  59. package/dist/docs/functions/decodeToken2022Account.html +1 -1
  60. package/dist/docs/functions/decodeToken2022Mint.html +1 -1
  61. package/dist/docs/functions/decodeTokenAccount.html +1 -1
  62. package/dist/docs/functions/encodeBase58.html +1 -1
  63. package/dist/docs/functions/fetchLookupTable.html +1 -1
  64. package/dist/docs/functions/fetchMint.html +1 -1
  65. package/dist/docs/functions/fetchNonceAccount.html +1 -1
  66. package/dist/docs/functions/fetchStakeAccount.html +1 -1
  67. package/dist/docs/functions/fetchTokenAccount.html +1 -1
  68. package/dist/docs/functions/fetchTokenAccountsByOwner.html +1 -1
  69. package/dist/docs/functions/fromKitAddress.html +1 -1
  70. package/dist/docs/functions/getAccountInfo.html +1 -1
  71. package/dist/docs/functions/getAsset.html +1 -1
  72. package/dist/docs/functions/getAssetBatch.html +1 -1
  73. package/dist/docs/functions/getAssetProof.html +1 -1
  74. package/dist/docs/functions/getAssetProofBatch.html +1 -1
  75. package/dist/docs/functions/getAssetsByAuthority.html +1 -1
  76. package/dist/docs/functions/getAssetsByCreator.html +1 -1
  77. package/dist/docs/functions/getAssetsByGroup.html +1 -1
  78. package/dist/docs/functions/getAssetsByOwner.html +1 -1
  79. package/dist/docs/functions/getBalance.html +1 -1
  80. package/dist/docs/functions/getBlock.html +1 -1
  81. package/dist/docs/functions/getBlockCommitment.html +1 -1
  82. package/dist/docs/functions/getBlockHeight.html +1 -1
  83. package/dist/docs/functions/getBlockProduction.html +1 -1
  84. package/dist/docs/functions/getBlockTime.html +1 -1
  85. package/dist/docs/functions/getBlocks.html +1 -1
  86. package/dist/docs/functions/getBlocksWithLimit.html +1 -1
  87. package/dist/docs/functions/getClusterNodes.html +1 -1
  88. package/dist/docs/functions/getDecodedAccount.html +1 -1
  89. package/dist/docs/functions/getDecodedAccounts.html +1 -1
  90. package/dist/docs/functions/getEnvironment.html +1 -1
  91. package/dist/docs/functions/getEpochInfo.html +1 -1
  92. package/dist/docs/functions/getEpochSchedule.html +1 -1
  93. package/dist/docs/functions/getFeeForMessage.html +1 -1
  94. package/dist/docs/functions/getFirstAvailableBlock.html +1 -1
  95. package/dist/docs/functions/getGenesisHash.html +1 -1
  96. package/dist/docs/functions/getHealth.html +1 -1
  97. package/dist/docs/functions/getHighestSnapshotSlot.html +1 -1
  98. package/dist/docs/functions/getIdentity.html +1 -1
  99. package/dist/docs/functions/getInflationGovernor.html +1 -1
  100. package/dist/docs/functions/getInflationRate.html +1 -1
  101. package/dist/docs/functions/getInflationReward.html +1 -1
  102. package/dist/docs/functions/getLargestAccounts.html +1 -1
  103. package/dist/docs/functions/getLatestBlockhash.html +1 -1
  104. package/dist/docs/functions/getLeaderSchedule.html +1 -1
  105. package/dist/docs/functions/getMaxRetransmitSlot.html +1 -1
  106. package/dist/docs/functions/getMaxShredInsertSlot.html +1 -1
  107. package/dist/docs/functions/getMinimumBalanceForRentExemption.html +1 -1
  108. package/dist/docs/functions/getMultipleAccounts.html +1 -1
  109. package/dist/docs/functions/getProgramAccounts.html +1 -1
  110. package/dist/docs/functions/getProgramCategory.html +1 -1
  111. package/dist/docs/functions/getRecentPerformanceSamples.html +1 -1
  112. package/dist/docs/functions/getRecentPrioritizationFees.html +1 -1
  113. package/dist/docs/functions/getSignatureStatuses.html +1 -1
  114. package/dist/docs/functions/getSignaturesForAddress.html +1 -1
  115. package/dist/docs/functions/getSignaturesForAsset.html +1 -1
  116. package/dist/docs/functions/getSlot.html +1 -1
  117. package/dist/docs/functions/getSlotLeader.html +1 -1
  118. package/dist/docs/functions/getSlotLeaders.html +1 -1
  119. package/dist/docs/functions/getStakeActivation.html +1 -1
  120. package/dist/docs/functions/getStakeMinimumDelegation.html +1 -1
  121. package/dist/docs/functions/getSupply.html +1 -1
  122. package/dist/docs/functions/getTokenAccountBalance.html +1 -1
  123. package/dist/docs/functions/getTokenAccounts.html +1 -1
  124. package/dist/docs/functions/getTokenAccountsByDelegate.html +1 -1
  125. package/dist/docs/functions/getTokenAccountsByOwner.html +1 -1
  126. package/dist/docs/functions/getTokenLargestAccounts.html +1 -1
  127. package/dist/docs/functions/getTokenSupply.html +1 -1
  128. package/dist/docs/functions/getTransaction.html +1 -1
  129. package/dist/docs/functions/getTransactionCount.html +1 -1
  130. package/dist/docs/functions/getVersion.html +1 -1
  131. package/dist/docs/functions/getVoteAccounts.html +1 -1
  132. package/dist/docs/functions/isBlockhashValid.html +1 -1
  133. package/dist/docs/functions/isBrowser.html +1 -1
  134. package/dist/docs/functions/isProgramInCategory.html +1 -1
  135. package/dist/docs/functions/isServer.html +1 -1
  136. package/dist/docs/functions/isValidPubkey.html +1 -1
  137. package/dist/docs/functions/isValidSignature.html +1 -1
  138. package/dist/docs/functions/lamportsToSol.html +1 -1
  139. package/dist/docs/functions/listEndpoints.html +1 -1
  140. package/dist/docs/functions/listNetworks.html +1 -1
  141. package/dist/docs/functions/listRegions.html +1 -1
  142. package/dist/docs/functions/minimumLedgerSlot.html +1 -1
  143. package/dist/docs/functions/parseAccountUpdate.html +1 -1
  144. package/dist/docs/functions/parseBlockMeta.html +1 -1
  145. package/dist/docs/functions/parseEntry.html +1 -1
  146. package/dist/docs/functions/parseGeyserUpdate.html +1 -1
  147. package/dist/docs/functions/parseSlotUpdate.html +1 -1
  148. package/dist/docs/functions/parseTimestamp.html +1 -1
  149. package/dist/docs/functions/parseTransaction.html +1 -1
  150. package/dist/docs/functions/probeLatency.html +1 -1
  151. package/dist/docs/functions/rawBufferToBase58.html +1 -1
  152. package/dist/docs/functions/rawBufferToBase64.html +1 -1
  153. package/dist/docs/functions/rawBufferToBytes.html +1 -1
  154. package/dist/docs/functions/rawBufferToHex.html +1 -1
  155. package/dist/docs/functions/requestAirdrop.html +1 -1
  156. package/dist/docs/functions/resolveEndpoint.html +1 -1
  157. package/dist/docs/functions/resolveProgram.html +1 -1
  158. package/dist/docs/functions/resolveProgramBatch.html +1 -1
  159. package/dist/docs/functions/retry.html +1 -1
  160. package/dist/docs/functions/searchAssets.html +1 -1
  161. package/dist/docs/functions/sendTransaction.html +1 -1
  162. package/dist/docs/functions/simulateTransaction.html +1 -1
  163. package/dist/docs/functions/sleep.html +1 -1
  164. package/dist/docs/functions/solToLamports.html +1 -1
  165. package/dist/docs/functions/toClientConfig.html +1 -1
  166. package/dist/docs/functions/toKitAddress.html +1 -1
  167. package/dist/docs/functions/toKitLamports.html +1 -1
  168. package/dist/docs/functions/toKitSignatureString.html +1 -1
  169. package/dist/docs/interfaces/AccountInfo.html +7 -7
  170. package/dist/docs/interfaces/AccountNotification.html +2 -2
  171. package/dist/docs/interfaces/AccountSubParams.html +2 -2
  172. package/dist/docs/interfaces/AssetSignatureInfo.html +2 -2
  173. package/dist/docs/interfaces/AssetSignaturesPage.html +2 -2
  174. package/dist/docs/interfaces/BalanceChange.html +6 -6
  175. package/dist/docs/interfaces/BlockProduction.html +3 -3
  176. package/dist/docs/interfaces/BlockResult.html +2 -2
  177. package/dist/docs/interfaces/BlockReward.html +2 -2
  178. package/dist/docs/interfaces/BlockhashResult.html +2 -2
  179. package/dist/docs/interfaces/CallOptions.html +6 -6
  180. package/dist/docs/interfaces/ConfirmedTransaction.html +6 -6
  181. package/dist/docs/interfaces/ContactInfo.html +2 -2
  182. package/dist/docs/interfaces/DasAsset.html +2 -2
  183. package/dist/docs/interfaces/DasAssetProof.html +2 -2
  184. package/dist/docs/interfaces/DasAuthority.html +2 -2
  185. package/dist/docs/interfaces/DasCompression.html +2 -2
  186. package/dist/docs/interfaces/DasContent.html +2 -2
  187. package/dist/docs/interfaces/DasCreator.html +2 -2
  188. package/dist/docs/interfaces/DasFile.html +2 -2
  189. package/dist/docs/interfaces/DasGrouping.html +2 -2
  190. package/dist/docs/interfaces/DasOpts.html +2 -2
  191. package/dist/docs/interfaces/DasOwnership.html +2 -2
  192. package/dist/docs/interfaces/DasPage.html +2 -2
  193. package/dist/docs/interfaces/DasRoyalty.html +2 -2
  194. package/dist/docs/interfaces/DasSearchParams.html +2 -2
  195. package/dist/docs/interfaces/DasSupply.html +2 -2
  196. package/dist/docs/interfaces/DataSlice.html +3 -3
  197. package/dist/docs/interfaces/DecodedAccountResult.html +4 -4
  198. package/dist/docs/interfaces/DecodedLookupTable.html +8 -8
  199. package/dist/docs/interfaces/DecodedMint.html +6 -6
  200. package/dist/docs/interfaces/DecodedMultisig.html +5 -5
  201. package/dist/docs/interfaces/DecodedNonceAccount.html +6 -6
  202. package/dist/docs/interfaces/DecodedStakeAccount.html +2 -2
  203. package/dist/docs/interfaces/DecodedToken2022Account.html +9 -9
  204. package/dist/docs/interfaces/DecodedToken2022Mint.html +6 -6
  205. package/dist/docs/interfaces/DecodedTokenAccount.html +9 -9
  206. package/dist/docs/interfaces/DefaultAccountStateExt.html +2 -2
  207. package/dist/docs/interfaces/EndpointConnectConfig.html +5 -5
  208. package/dist/docs/interfaces/EpochInfo.html +7 -7
  209. package/dist/docs/interfaces/EpochSchedule.html +2 -2
  210. package/dist/docs/interfaces/FetchedMint.html +6 -6
  211. package/dist/docs/interfaces/FetchedTokenAccount.html +6 -6
  212. package/dist/docs/interfaces/GetAccountInfoOpts.html +6 -6
  213. package/dist/docs/interfaces/GetAssetsByAuthorityParams.html +2 -2
  214. package/dist/docs/interfaces/GetAssetsByCreatorParams.html +2 -2
  215. package/dist/docs/interfaces/GetAssetsByGroupParams.html +2 -2
  216. package/dist/docs/interfaces/GetAssetsByOwnerParams.html +2 -2
  217. package/dist/docs/interfaces/GetBlockOpts.html +6 -6
  218. package/dist/docs/interfaces/GetBlockProductionOpts.html +6 -6
  219. package/dist/docs/interfaces/GetMultipleAccountsOpts.html +6 -6
  220. package/dist/docs/interfaces/GetProgramAccountsOpts.html +6 -6
  221. package/dist/docs/interfaces/GetSignatureStatusesOpts.html +6 -6
  222. package/dist/docs/interfaces/GetSignaturesOpts.html +7 -7
  223. package/dist/docs/interfaces/GetTokenAccountsParams.html +2 -2
  224. package/dist/docs/interfaces/GetTransactionOpts.html +6 -6
  225. package/dist/docs/interfaces/GeyserParserConfig.html +6 -6
  226. package/dist/docs/interfaces/GeyserParserEvents.html +9 -9
  227. package/dist/docs/interfaces/GeyserParserStats.html +2 -2
  228. package/dist/docs/interfaces/GrpcCallOptions.html +2 -2
  229. package/dist/docs/interfaces/GrpcTransportConfig.html +6 -6
  230. package/dist/docs/interfaces/ImmutableOwnerExt.html +2 -2
  231. package/dist/docs/interfaces/InflationGovernor.html +2 -2
  232. package/dist/docs/interfaces/InflationRate.html +2 -2
  233. package/dist/docs/interfaces/InflationReward.html +2 -2
  234. package/dist/docs/interfaces/InterestBearingConfigExt.html +2 -2
  235. package/dist/docs/interfaces/LatencyProbeResult.html +2 -2
  236. package/dist/docs/interfaces/LogsNotification.html +2 -2
  237. package/dist/docs/interfaces/LogsSubParams.html +2 -2
  238. package/dist/docs/interfaces/MemoTransferExt.html +2 -2
  239. package/dist/docs/interfaces/MetadataPointerExt.html +2 -2
  240. package/dist/docs/interfaces/MintCloseAuthorityExt.html +2 -2
  241. package/dist/docs/interfaces/NonTransferableExt.html +2 -2
  242. package/dist/docs/interfaces/PaginationOpts.html +2 -2
  243. package/dist/docs/interfaces/ParsedAccountUpdate.html +16 -16
  244. package/dist/docs/interfaces/ParsedBlockMeta.html +2 -2
  245. package/dist/docs/interfaces/ParsedEntry.html +2 -2
  246. package/dist/docs/interfaces/ParsedInstruction.html +9 -9
  247. package/dist/docs/interfaces/ParsedSlotUpdate.html +3 -3
  248. package/dist/docs/interfaces/ParsedTransaction.html +19 -19
  249. package/dist/docs/interfaces/PerfSample.html +2 -2
  250. package/dist/docs/interfaces/PermanentDelegateExt.html +2 -2
  251. package/dist/docs/interfaces/ProgramAccount.html +2 -2
  252. package/dist/docs/interfaces/ProgramNotification.html +2 -2
  253. package/dist/docs/interfaces/ProgramSubParams.html +2 -2
  254. package/dist/docs/interfaces/RawAccountInfo.html +2 -2
  255. package/dist/docs/interfaces/RawBlockMeta.html +2 -2
  256. package/dist/docs/interfaces/RawBuffer.html +2 -2
  257. package/dist/docs/interfaces/RawCompiledInstruction.html +2 -2
  258. package/dist/docs/interfaces/RawEntry.html +2 -2
  259. package/dist/docs/interfaces/RawGeyserUpdate.html +2 -2
  260. package/dist/docs/interfaces/RawInnerInstruction.html +2 -2
  261. package/dist/docs/interfaces/RawSlotInfo.html +2 -2
  262. package/dist/docs/interfaces/RawTimestamp.html +2 -2
  263. package/dist/docs/interfaces/RawTokenBalance.html +2 -2
  264. package/dist/docs/interfaces/RawTransactionInfo.html +2 -2
  265. package/dist/docs/interfaces/RootNotification.html +2 -2
  266. package/dist/docs/interfaces/RootSubParams.html +1 -1
  267. package/dist/docs/interfaces/RpcContext.html +2 -2
  268. package/dist/docs/interfaces/RpcError.html +4 -4
  269. package/dist/docs/interfaces/RpcRequest.html +2 -2
  270. package/dist/docs/interfaces/RpcResponse.html +2 -2
  271. package/dist/docs/interfaces/SendTransactionOpts.html +6 -6
  272. package/dist/docs/interfaces/SignatureInfo.html +7 -7
  273. package/dist/docs/interfaces/SignatureNotification.html +2 -2
  274. package/dist/docs/interfaces/SignatureStatus.html +5 -5
  275. package/dist/docs/interfaces/SignatureSubParams.html +2 -2
  276. package/dist/docs/interfaces/SignaturesForAssetParams.html +2 -2
  277. package/dist/docs/interfaces/SimulateResult.html +2 -2
  278. package/dist/docs/interfaces/SimulateTransactionOpts.html +7 -7
  279. package/dist/docs/interfaces/SlotNotification.html +2 -2
  280. package/dist/docs/interfaces/SlotSubParams.html +1 -1
  281. package/dist/docs/interfaces/SortOpts.html +2 -2
  282. package/dist/docs/interfaces/StakeAuthorized.html +2 -2
  283. package/dist/docs/interfaces/StakeDelegation.html +3 -3
  284. package/dist/docs/interfaces/StakeLockup.html +4 -4
  285. package/dist/docs/interfaces/StakeMeta.html +2 -2
  286. package/dist/docs/interfaces/Supply.html +5 -5
  287. package/dist/docs/interfaces/SynapseClientConfig.html +9 -9
  288. package/dist/docs/interfaces/SynapseEndpoint.html +7 -7
  289. package/dist/docs/interfaces/TokenAccount.html +3 -3
  290. package/dist/docs/interfaces/TokenAccountsByOwnerResult.html +2 -2
  291. package/dist/docs/interfaces/TokenAmount.html +5 -5
  292. package/dist/docs/interfaces/TokenBalanceChange.html +2 -2
  293. package/dist/docs/interfaces/TransactionMeta.html +11 -11
  294. package/dist/docs/interfaces/TransferFeeAmount.html +2 -2
  295. package/dist/docs/interfaces/TransferFeeConfig.html +2 -2
  296. package/dist/docs/interfaces/TransportConfig.html +7 -7
  297. package/dist/docs/interfaces/UnknownExtension.html +2 -2
  298. package/dist/docs/interfaces/VoteAccount.html +9 -9
  299. package/dist/docs/interfaces/VoteAccountsResult.html +3 -3
  300. package/dist/docs/interfaces/WsConfig.html +6 -6
  301. package/dist/docs/media/CHANGELOG.md +63 -0
  302. package/dist/docs/types/AccountFetchOpts.html +1 -1
  303. package/dist/docs/types/AccountFilter.html +1 -1
  304. package/dist/docs/types/Base58.html +1 -1
  305. package/dist/docs/types/Brand.html +1 -1
  306. package/dist/docs/types/Commitment.html +1 -1
  307. package/dist/docs/types/DasSortBy.html +1 -1
  308. package/dist/docs/types/DasSortDirection.html +1 -1
  309. package/dist/docs/types/DataSizeFilter.html +1 -1
  310. package/dist/docs/types/DecodedExtension.html +1 -1
  311. package/dist/docs/types/Encoding.html +1 -1
  312. package/dist/docs/types/Epoch.html +1 -1
  313. package/dist/docs/types/Lamports.html +1 -1
  314. package/dist/docs/types/LogsFilter.html +1 -1
  315. package/dist/docs/types/MemcmpFilter.html +1 -1
  316. package/dist/docs/types/NonceState.html +1 -1
  317. package/dist/docs/types/ParsedGeyserUpdate.html +1 -1
  318. package/dist/docs/types/Pubkey.html +1 -1
  319. package/dist/docs/types/RuntimeEnv.html +1 -1
  320. package/dist/docs/types/Signature.html +1 -1
  321. package/dist/docs/types/Slot.html +1 -1
  322. package/dist/docs/types/StakeAccountType.html +1 -1
  323. package/dist/docs/types/SubscriptionId.html +1 -1
  324. package/dist/docs/types/TokenAccountState.html +1 -1
  325. package/dist/docs/types/TransactionDetail.html +1 -1
  326. package/dist/docs/types/UnaryMethod.html +1 -1
  327. package/dist/docs/types/UnixTimestamp.html +1 -1
  328. package/dist/docs/types/WsNotification.html +1 -1
  329. package/dist/docs/variables/JUPITER_PROGRAMS.html +1 -1
  330. package/dist/docs/variables/KNOWN_PROGRAMS.html +1 -1
  331. package/dist/docs/variables/KNOWN_PROGRAMS_COUNT.html +1 -1
  332. package/dist/docs/variables/LOOKUP_TABLE_HEADER_SIZE.html +1 -1
  333. package/dist/docs/variables/LOOKUP_TABLE_PROGRAM_ID.html +1 -1
  334. package/dist/docs/variables/MARINADE_PROGRAMS.html +1 -1
  335. package/dist/docs/variables/MAX_MULTISIG_SIGNERS.html +1 -1
  336. package/dist/docs/variables/METAPLEX_PROGRAMS.html +1 -1
  337. package/dist/docs/variables/METEORA_PROGRAMS.html +1 -1
  338. package/dist/docs/variables/MINT_SIZE.html +1 -1
  339. package/dist/docs/variables/MULTISIG_SIZE.html +1 -1
  340. package/dist/docs/variables/NONCE_ACCOUNT_SIZE.html +1 -1
  341. package/dist/docs/variables/ORCA_PROGRAMS.html +1 -1
  342. package/dist/docs/variables/OTHER_PROGRAMS.html +1 -1
  343. package/dist/docs/variables/RAYDIUM_PROGRAMS.html +1 -1
  344. package/dist/docs/variables/SDK_USER_AGENT.html +1 -1
  345. package/dist/docs/variables/SPL_PROGRAMS.html +1 -1
  346. package/dist/docs/variables/STAKE_PROGRAM_ID.html +1 -1
  347. package/dist/docs/variables/SYNAPSE_DEVNET_EU.html +1 -1
  348. package/dist/docs/variables/SYNAPSE_DEVNET_US.html +1 -1
  349. package/dist/docs/variables/SYNAPSE_ENDPOINTS.html +1 -1
  350. package/dist/docs/variables/SYNAPSE_MAINNET_EU.html +1 -1
  351. package/dist/docs/variables/SYNAPSE_MAINNET_US.html +1 -1
  352. package/dist/docs/variables/SYSTEM_PROGRAMS.html +1 -1
  353. package/dist/docs/variables/SYSTEM_PROGRAM_ID.html +1 -1
  354. package/dist/docs/variables/TOKEN_2022_PROGRAM_ID.html +1 -1
  355. package/dist/docs/variables/TOKEN_ACCOUNT_SIZE.html +1 -1
  356. package/dist/docs/variables/TOKEN_PROGRAM_ID.html +1 -1
  357. package/dist/esm/ai/index.d.ts +2 -0
  358. package/dist/esm/ai/index.d.ts.map +1 -1
  359. package/dist/esm/ai/index.js +12 -0
  360. package/dist/esm/ai/index.js.map +1 -1
  361. package/dist/esm/ai/lazy.d.ts +40 -0
  362. package/dist/esm/ai/lazy.d.ts.map +1 -0
  363. package/dist/esm/ai/lazy.js +61 -0
  364. package/dist/esm/ai/lazy.js.map +1 -0
  365. package/dist/esm/ai/tools/protocols/jupiter/schemas.d.ts.map +1 -1
  366. package/dist/esm/ai/tools/protocols/jupiter/schemas.js +29 -10
  367. package/dist/esm/ai/tools/protocols/jupiter/schemas.js.map +1 -1
  368. package/dist/esm/ai/tools/protocols/jupiter/tools.d.ts +2 -2
  369. package/dist/esm/ai/tools/protocols/jupiter/tools.d.ts.map +1 -1
  370. package/dist/esm/ai/tools/protocols/jupiter/tools.js +7 -10
  371. package/dist/esm/ai/tools/protocols/jupiter/tools.js.map +1 -1
  372. package/dist/esm/ai/tools/protocols/raydium/tools.d.ts.map +1 -1
  373. package/dist/esm/ai/tools/protocols/raydium/tools.js +1 -0
  374. package/dist/esm/ai/tools/protocols/raydium/tools.js.map +1 -1
  375. package/dist/esm/ai/tools/protocols/shared.d.ts +34 -2
  376. package/dist/esm/ai/tools/protocols/shared.d.ts.map +1 -1
  377. package/dist/esm/ai/tools/protocols/shared.js +22 -8
  378. package/dist/esm/ai/tools/protocols/shared.js.map +1 -1
  379. package/package.json +51 -1
@@ -79,9 +79,16 @@ export interface ProtocolClientConfig {
79
79
  export declare class ProtocolHttpClient {
80
80
  readonly baseUrl: string;
81
81
  private readonly timeout;
82
- private readonly headers;
82
+ /** Common headers sent on every request (Accept, auth). */
83
+ private readonly _commonHeaders;
83
84
  private readonly _fetch;
84
85
  constructor(config: ProtocolClientConfig);
86
+ /**
87
+ * Returns a copy of the auth/common headers configured on this client.
88
+ * Useful for consumers who need to make direct `fetch` calls to
89
+ * endpoints not covered by a dedicated tool.
90
+ */
91
+ getHeaders(): Record<string, string>;
85
92
  /** HTTP GET with query-string serialisation. */
86
93
  get<T = unknown>(path: string, params?: Record<string, unknown>): Promise<T>;
87
94
  /** HTTP POST with JSON body. */
@@ -105,7 +112,7 @@ export declare class ProtocolApiError extends Error {
105
112
  export type ProtocolTool = ReturnType<typeof tool>;
106
113
  /**
107
114
  * @description Toolkit shape returned by every `createXxxTools()` factory.
108
- * Contains tools array, keyed map, and method metadata.
115
+ * Contains tools array, keyed map, method metadata, and HTTP client access.
109
116
  * @since 1.0.0
110
117
  */
111
118
  export interface ProtocolToolkit {
@@ -119,6 +126,23 @@ export interface ProtocolToolkit {
119
126
  methods: ProtocolMethod[];
120
127
  /** All method names available in this toolkit. */
121
128
  methodNames: string[];
129
+ /**
130
+ * Get a copy of the auth + common headers this toolkit uses.
131
+ * Useful for making direct `fetch` calls to uncovered endpoints.
132
+ * @since 1.0.6
133
+ */
134
+ getHeaders: () => Record<string, string>;
135
+ /**
136
+ * Get the underlying `ProtocolHttpClient` for direct REST calls
137
+ * to endpoints not covered by a dedicated tool.
138
+ *
139
+ * ```ts
140
+ * const jup = createJupiterTools({ apiKey: '...' });
141
+ * const tokenInfo = await jup.httpClient.get('/token/So111...');
142
+ * ```
143
+ * @since 1.0.6
144
+ */
145
+ httpClient: ProtocolHttpClient;
122
146
  }
123
147
  /**
124
148
  * @description Common options accepted by every `createXxxTools()` factory.
@@ -133,6 +157,13 @@ export interface CreateProtocolToolsOpts {
133
157
  exclude?: string[];
134
158
  /** Pretty-print JSON output (default: true). */
135
159
  prettyJson?: boolean;
160
+ /**
161
+ * When `true`, protocol API errors (non-2xx responses) are thrown as
162
+ * `ProtocolApiError` instead of being returned as an error-JSON string.
163
+ * Useful for try/catch-based flows. Default: `false` (LangChain-friendly).
164
+ * @since 1.0.6
165
+ */
166
+ throwOnError?: boolean;
136
167
  }
137
168
  /**
138
169
  * @description Generic factory that wires ProtocolMethod schemas into real LangChain tools.
@@ -146,5 +177,6 @@ export interface CreateProtocolToolsOpts {
146
177
  */
147
178
  export declare function buildProtocolTools(methods: readonly ProtocolMethod[], execute: (method: ProtocolMethod, input: Record<string, unknown>) => Promise<unknown>, opts?: CreateProtocolToolsOpts & {
148
179
  defaultPrefix?: string;
180
+ httpClient?: ProtocolHttpClient;
149
181
  }): ProtocolToolkit;
150
182
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/ai/tools/protocols/shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAM7C;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,KAAK,EAAE,CAAC,CAAC,UAAU,CAAC;IACpB,wDAAwD;IACxD,MAAM,EAAE,CAAC,CAAC,UAAU,CAAC;IACrB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,UAAU,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC5B,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM;wBAGjC,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,UAAU,QACxD,MAAM,SACL,CAAC,UACA,CAAC,eACI,MAAM,SACZ;QAAE,UAAU,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KACpD,cAAc;;EAelB;AASD;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,kCAAkC;IAClC,M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EAAE,SAAS,cAAc,EAAE,EAClC,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,EACrF,IAAI,GAAE,uBAAuB,GAAG;IAAE,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAAO,GAC/F,eAAe,CA0DjB"}
@@ -39,23 +39,31 @@ function createMethodRegistry(protocol) {
39
39
  class ProtocolHttpClient {
40
40
  baseUrl;
41
41
  timeout;
42
- headers;
42
+ /** Common headers sent on every request (Accept, auth). */
43
+ _commonHeaders;
43
44
  _fetch;
44
45
  constructor(config) {
45
46
  this.baseUrl = config.baseUrl.replace(/\/+$/, '');
46
47
  this.timeout = config.timeout ?? 30_000;
47
- this.headers = {
48
- 'Content-Type': 'application/json',
48
+ this._commonHeaders = {
49
49
  Accept: 'application/json',
50
50
  ...config.headers,
51
51
  };
52
52
  if (config.apiKey) {
53
53
  const headerName = config.apiKeyHeader ?? 'Authorization';
54
- this.headers[headerName] = headerName === 'Authorization'
54
+ this._commonHeaders[headerName] = headerName === 'Authorization'
55
55
  ? `Bearer ${config.apiKey}`
56
56
  : config.apiKey;
57
57
  }
58
- this._fetch = config.fetch ?? globalThis.fetch;
58
+ this._fetch = config.fetch ?? globalThis.fetch.bind(globalThis);
59
+ }
60
+ /**
61
+ * Returns a copy of the auth/common headers configured on this client.
62
+ * Useful for consumers who need to make direct `fetch` calls to
63
+ * endpoints not covered by a dedicated tool.
64
+ */
65
+ getHeaders() {
66
+ return { ...this._commonHeaders };
59
67
  }
60
68
  /** HTTP GET with query-string serialisation. */
61
69
  async get(path, params) {
@@ -77,7 +85,7 @@ class ProtocolHttpClient {
77
85
  try {
78
86
  const res = await this._fetch(url.toString(), {
79
87
  method: 'GET',
80
- headers: this.headers,
88
+ headers: this._commonHeaders,
81
89
  signal: controller.signal,
82
90
  });
83
91
  if (!res.ok)
@@ -95,7 +103,7 @@ class ProtocolHttpClient {
95
103
  try {
96
104
  const res = await this._fetch(`${this.baseUrl}${path}`, {
97
105
  method: 'POST',
98
- headers: this.headers,
106
+ headers: { ...this._commonHeaders, 'Content-Type': 'application/json' },
99
107
  body: body !== undefined ? JSON.stringify(body) : undefined,
100
108
  signal: controller.signal,
101
109
  });
@@ -145,7 +153,7 @@ exports.ProtocolApiError = ProtocolApiError;
145
153
  */
146
154
  function buildProtocolTools(methods, execute, opts = {}) {
147
155
  const protocol = methods[0]?.protocol ?? 'unknown';
148
- const { prefix = opts.defaultPrefix ?? `${protocol}_`, include, exclude, prettyJson = true, } = opts;
156
+ const { prefix = opts.defaultPrefix ?? `${protocol}_`, include, exclude, prettyJson = true, throwOnError = false, httpClient, } = opts;
149
157
  const tools = [];
150
158
  const toolMap = {};
151
159
  for (const method of methods) {
@@ -160,6 +168,8 @@ function buildProtocolTools(methods, execute, opts = {}) {
160
168
  return prettyJson ? JSON.stringify(result, null, 2) : JSON.stringify(result);
161
169
  }
162
170
  catch (err) {
171
+ if (throwOnError)
172
+ throw err;
163
173
  return JSON.stringify({
164
174
  error: true,
165
175
  protocol,
@@ -175,12 +185,16 @@ function buildProtocolTools(methods, execute, opts = {}) {
175
185
  tools.push(t);
176
186
  toolMap[method.name] = t;
177
187
  }
188
+ // Fallback httpClient when none is provided (e.g. on-chain tools)
189
+ const client = httpClient ?? new ProtocolHttpClient({ baseUrl: 'https://localhost' });
178
190
  return {
179
191
  protocol,
180
192
  tools,
181
193
  toolMap,
182
194
  methods: methods,
183
195
  methodNames: methods.map((m) => m.name),
196
+ getHeaders: () => client.getHeaders(),
197
+ httpClient: client,
184
198
  };
185
199
  }
186
200
  //# sourceMappingURL=shared.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../src/ai/tools/protocols/shared.ts"],"names":[],"mappings":";;;AAiDA,oDAwBC;AAwLD,gDAsDC;AA3SD,iDAA6C;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BACR,MAAM,EAAE,MAAM,CAAC,IAAI;oBACnB,OAAO,EAAE,GAAG,EAAE,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC;iBACrC,CAAC,CAAC;YACL,CAAC;QACH,CAAC,EACD;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,GAAG,QAAQ,KAAK,MAAM,CAAC,IAAI,EAAE;YAChE,MAAM,EAAE,MAAM,CAAC,KAAqC;SACrD,CACF,CAAC;QAEF,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACd,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED,kEAAkE;IAClE,MAAM,MAAM,GAAG,UAAU,IAAI,IAAI,kBAAkB,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC,CAAC;IAEtF,OAAO;QACL,QAAQ;QACR,KAAK;QACL,OAAO;QACP,OAAO,EAAE,OAA2B;QACpC,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QACvC,UAAU,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE;QACrC,UAAU,EAAE,MAAM;KACnB,CAAC;AACJ,CAAC"}
@@ -3,7 +3,7 @@
3
3
  from a Uint8Array with automatic offset tracking. All reads advance
4
4
  the internal cursor.</p>
5
5
  </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since" class="tsd-anchor"></a>Since<a href="#Since" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
6
- </div></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L77">packages/synapse-client-sdk/src/decoders/layout.ts:77</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="AccountReader.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
6
+ </div></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L77">packages/synapse-client-sdk/src/decoders/layout.ts:77</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="AccountReader.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
7
7
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="AccountReader.html#length" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>length</span></a>
8
8
  <a href="AccountReader.html#position" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>position</span></a>
9
9
  <a href="AccountReader.html#remaining" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>remaining</span></a>
@@ -20,15 +20,15 @@ the internal cursor.</p>
20
20
  <a href="AccountReader.html#u32" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u32</span></a>
21
21
  <a href="AccountReader.html#u64" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u64</span></a>
22
22
  <a href="AccountReader.html#u8" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u8</span></a>
23
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_AccountReader" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Account<wbr/>Reader</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AccountReader.html" class="tsd-signature-type tsd-kind-class">AccountReader</a><a href="#constructor.new_AccountReader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="AccountReader.html" class="tsd-signature-type tsd-kind-class">AccountReader</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L82">packages/synapse-client-sdk/src/decoders/layout.ts:82</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Accessors</h2></summary><section><section class="tsd-panel tsd-member"><a id="length" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="length.length-1"><span class="tsd-signature-keyword">get</span> length<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Total data length.</p>
23
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_AccountReader" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Account<wbr/>Reader</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="AccountReader.html" class="tsd-signature-type tsd-kind-class">AccountReader</a><a href="#constructor.new_AccountReader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="AccountReader.html" class="tsd-signature-type tsd-kind-class">AccountReader</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L82">packages/synapse-client-sdk/src/decoders/layout.ts:82</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Accessors</h2></summary><section><section class="tsd-panel tsd-member"><a id="length" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="length.length-1"><span class="tsd-signature-keyword">get</span> length<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Total data length.</p>
24
24
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-1" class="tsd-anchor"></a>Since<a href="#Since-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
25
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L91">packages/synapse-client-sdk/src/decoders/layout.ts:91</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="position" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>position</span><a href="#position" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="position.position-1"><span class="tsd-signature-keyword">get</span> position<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Current read position.</p>
25
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L91">packages/synapse-client-sdk/src/decoders/layout.ts:91</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="position" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>position</span><a href="#position" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="position.position-1"><span class="tsd-signature-keyword">get</span> position<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Current read position.</p>
26
26
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-2" class="tsd-anchor"></a>Since<a href="#Since-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
27
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L88">packages/synapse-client-sdk/src/decoders/layout.ts:88</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="remaining" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remaining</span><a href="#remaining" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="remaining.remaining-1"><span class="tsd-signature-keyword">get</span> remaining<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remaining bytes after current position.</p>
27
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L88">packages/synapse-client-sdk/src/decoders/layout.ts:88</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="remaining" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remaining</span><a href="#remaining" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature" id="remaining.remaining-1"><span class="tsd-signature-keyword">get</span> remaining<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remaining bytes after current position.</p>
28
28
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-3" class="tsd-anchor"></a>Since<a href="#Since-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
29
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L94">packages/synapse-client-sdk/src/decoders/layout.ts:94</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="bool" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bool</span><a href="#bool" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="bool.bool-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">bool</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#bool.bool-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a boolean (1 byte, 0 = false, non-zero = true).</p>
29
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L94">packages/synapse-client-sdk/src/decoders/layout.ts:94</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="bool" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bool</span><a href="#bool" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="bool.bool-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">bool</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#bool.bool-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a boolean (1 byte, 0 = false, non-zero = true).</p>
30
30
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-4" class="tsd-anchor"></a>Since<a href="#Since-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
31
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L139">packages/synapse-client-sdk/src/decoders/layout.ts:139</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="coption" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>coption</span><a href="#coption" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="coption.coption-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">coption</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">reader</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a><a href="#coption.coption-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a Solana COption — 4-byte discriminator (0 = None, 1 = Some)
31
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L139">packages/synapse-client-sdk/src/decoders/layout.ts:139</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="coption" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>coption</span><a href="#coption" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="coption.coption-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">coption</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">reader</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a><a href="#coption.coption-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a Solana COption — 4-byte discriminator (0 = None, 1 = Some)
32
32
  followed by the inner value.</p>
33
33
  <p><strong>Important:</strong> The reader function is ALWAYS called to advance the
34
34
  offset past the fixed-size data region (C ABI: data is always present,
@@ -36,26 +36,26 @@ only the tag indicates validity).</p>
36
36
  </div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="coption.coption-1.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">reader</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>Function to read the inner value.</p>
37
37
  </div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AccountReader.html#coption.coption-1.T">T</a></h4><p>The inner value or <code>null</code> if tag is 0 (None).</p>
38
38
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-5" class="tsd-anchor"></a>Since<a href="#Since-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
39
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L185">packages/synapse-client-sdk/src/decoders/layout.ts:185</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="f64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>f64</span><a href="#f64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="f64.f64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">f64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#f64.f64-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a 64-bit float (little-endian).</p>
39
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L185">packages/synapse-client-sdk/src/decoders/layout.ts:185</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="f64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>f64</span><a href="#f64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="f64.f64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">f64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#f64.f64-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a 64-bit float (little-endian).</p>
40
40
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-6" class="tsd-anchor"></a>Since<a href="#Since-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
41
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L132">packages/synapse-client-sdk/src/decoders/layout.ts:132</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="hash.hash-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hash</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#hash.hash-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a 32-byte hash and return as base58 string.</p>
41
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L132">packages/synapse-client-sdk/src/decoders/layout.ts:132</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="hash.hash-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hash</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#hash.hash-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a 32-byte hash and return as base58 string.</p>
42
42
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-7" class="tsd-anchor"></a>Since<a href="#Since-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
43
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L157">packages/synapse-client-sdk/src/decoders/layout.ts:157</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="i64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>i64</span><a href="#i64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="i64.i64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">i64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#i64.i64-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a signed 64-bit integer (little-endian).</p>
43
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L157">packages/synapse-client-sdk/src/decoders/layout.ts:157</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="i64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>i64</span><a href="#i64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="i64.i64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">i64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#i64.i64-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a signed 64-bit integer (little-endian).</p>
44
44
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-8" class="tsd-anchor"></a>Since<a href="#Since-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
45
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L125">packages/synapse-client-sdk/src/decoders/layout.ts:125</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="pubkey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pubkey</span><a href="#pubkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="pubkey.pubkey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">pubkey</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">never</span><a href="#pubkey.pubkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a 32-byte Solana public key and return as branded <a href="../functions/Pubkey-1.html" class="tsd-kind-function">Pubkey</a>.</p>
45
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L125">packages/synapse-client-sdk/src/decoders/layout.ts:125</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="pubkey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pubkey</span><a href="#pubkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="pubkey.pubkey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">pubkey</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">never</span><a href="#pubkey.pubkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a 32-byte Solana public key and return as branded <a href="../functions/Pubkey-1.html" class="tsd-kind-function">Pubkey</a>.</p>
46
46
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">never</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-9" class="tsd-anchor"></a>Since<a href="#Since-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
47
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L147">packages/synapse-client-sdk/src/decoders/layout.ts:147</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="seek" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>seek</span><a href="#seek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="seek.seek-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">seek</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">offset</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#seek.seek-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Seek to an absolute offset.</p>
47
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L147">packages/synapse-client-sdk/src/decoders/layout.ts:147</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="seek" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>seek</span><a href="#seek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="seek.seek-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">seek</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">offset</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#seek.seek-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Seek to an absolute offset.</p>
48
48
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-10" class="tsd-anchor"></a>Since<a href="#Since-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
49
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L203">packages/synapse-client-sdk/src/decoders/layout.ts:203</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="skip" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>skip</span><a href="#skip" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="skip.skip-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">skip</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#skip.skip-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Skip N bytes without reading.</p>
49
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L203">packages/synapse-client-sdk/src/decoders/layout.ts:203</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="skip" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>skip</span><a href="#skip" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="skip.skip-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">skip</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#skip.skip-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Skip N bytes without reading.</p>
50
50
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">n</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-11" class="tsd-anchor"></a>Since<a href="#Since-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
51
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L195">packages/synapse-client-sdk/src/decoders/layout.ts:195</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="slice" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>slice</span><a href="#slice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="slice.slice-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">slice</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">length</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">&gt;</span><a href="#slice.slice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a raw byte slice of the given length.</p>
51
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L195">packages/synapse-client-sdk/src/decoders/layout.ts:195</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="slice" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>slice</span><a href="#slice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="slice.slice-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">slice</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">length</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">&gt;</span><a href="#slice.slice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read a raw byte slice of the given length.</p>
52
52
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">length</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-12" class="tsd-anchor"></a>Since<a href="#Since-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
53
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L167">packages/synapse-client-sdk/src/decoders/layout.ts:167</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u16" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u16</span><a href="#u16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u16.u16-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u16</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#u16.u16-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 16-bit integer (little-endian).</p>
53
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L167">packages/synapse-client-sdk/src/decoders/layout.ts:167</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u16" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u16</span><a href="#u16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u16.u16-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u16</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#u16.u16-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 16-bit integer (little-endian).</p>
54
54
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-13" class="tsd-anchor"></a>Since<a href="#Since-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
55
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L104">packages/synapse-client-sdk/src/decoders/layout.ts:104</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u32" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u32</span><a href="#u32" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u32.u32-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u32</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#u32.u32-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 32-bit integer (little-endian).</p>
55
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L104">packages/synapse-client-sdk/src/decoders/layout.ts:104</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u32" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u32</span><a href="#u32" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u32.u32-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u32</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#u32.u32-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 32-bit integer (little-endian).</p>
56
56
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-14" class="tsd-anchor"></a>Since<a href="#Since-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
57
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L111">packages/synapse-client-sdk/src/decoders/layout.ts:111</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u64</span><a href="#u64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u64.u64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#u64.u64-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 64-bit integer (little-endian).</p>
57
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L111">packages/synapse-client-sdk/src/decoders/layout.ts:111</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u64</span><a href="#u64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u64.u64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#u64.u64-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 64-bit integer (little-endian).</p>
58
58
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-15" class="tsd-anchor"></a>Since<a href="#Since-15" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
59
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L118">packages/synapse-client-sdk/src/decoders/layout.ts:118</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u8" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u8</span><a href="#u8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u8.u8-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u8</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#u8.u8-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 8-bit integer.</p>
59
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L118">packages/synapse-client-sdk/src/decoders/layout.ts:118</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="u8" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>u8</span><a href="#u8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="u8.u8-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">u8</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#u8.u8-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Read an unsigned 8-bit integer.</p>
60
60
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-Since"><h4 class="tsd-anchor-link"><a id="Since-16" class="tsd-anchor"></a>Since<a href="#Since-16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>1.1.0</p>
61
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/c6e0bb4bb599c7462e5b7f8c1a895d0fdb4f83a7/src/decoders/layout.ts#L97">packages/synapse-client-sdk/src/decoders/layout.ts:97</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#length" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>length</span></a><a href="#position" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>position</span></a><a href="#remaining" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>remaining</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#bool" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bool</span></a><a href="#coption" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>coption</span></a><a href="#f64" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>f64</span></a><a href="#hash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hash</span></a><a href="#i64" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>i64</span></a><a href="#pubkey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pubkey</span></a><a href="#seek" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>seek</span></a><a href="#skip" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>skip</span></a><a href="#slice" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>slice</span></a><a href="#u16" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u16</span></a><a href="#u32" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u32</span></a><a href="#u64" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u64</span></a><a href="#u8" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u8</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@oobe-protocol-labs/synapse-client-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
61
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/1b422599e6225c939331880b04e8d05d3c7c0064/src/decoders/layout.ts#L97">packages/synapse-client-sdk/src/decoders/layout.ts:97</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#length" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>length</span></a><a href="#position" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>position</span></a><a href="#remaining" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>remaining</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#bool" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bool</span></a><a href="#coption" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>coption</span></a><a href="#f64" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>f64</span></a><a href="#hash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hash</span></a><a href="#i64" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>i64</span></a><a href="#pubkey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pubkey</span></a><a href="#seek" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>seek</span></a><a href="#skip" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>skip</span></a><a href="#slice" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>slice</span></a><a href="#u16" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u16</span></a><a href="#u32" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u32</span></a><a href="#u64" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u64</span></a><a href="#u8" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>u8</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@oobe-protocol-labs/synapse-client-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>