@keetanetwork/keetanet-client 0.10.2 → 0.10.4

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 (431) hide show
  1. package/README.md +7 -0
  2. package/api/node.d.ts +2 -0
  3. package/client/builder.d.ts +42 -2
  4. package/client/client_common_tests.d.ts +6 -5
  5. package/client/index-browser.d.ts +908 -27
  6. package/client/index-browser.js +3075 -1723
  7. package/client/index.d.ts +908 -27
  8. package/client/index.js +85673 -83037
  9. package/config/index.d.ts +16 -0
  10. package/docs/assets/fonts/Surt-Expanded-Bold.woff2 +0 -0
  11. package/docs/assets/fonts/Surt-Expanded-Medium.woff2 +0 -0
  12. package/docs/assets/fonts/Surt-Expanded-Regular.woff2 +0 -0
  13. package/docs/assets/fonts/Surt-Expanded-Semibold.woff2 +0 -0
  14. package/docs/assets/fonts/Surt-Normal-Bold.woff2 +0 -0
  15. package/docs/assets/fonts/Surt-Normal-Medium.woff2 +0 -0
  16. package/docs/assets/fonts/Surt-Normal-Regular.woff2 +0 -0
  17. package/docs/assets/fonts/Surt-Normal-Semibold.woff2 +0 -0
  18. package/docs/assets/fonts/UbuntuMono-Regular.ttf +0 -0
  19. package/docs/assets/hierarchy.js +1 -0
  20. package/docs/assets/highlight.css +134 -0
  21. package/docs/assets/icons.js +18 -0
  22. package/docs/assets/icons.svg +1 -0
  23. package/docs/assets/logo-keeta-dark.svg +14 -0
  24. package/docs/assets/logo-keeta-light.svg +14 -0
  25. package/docs/assets/main.js +60 -0
  26. package/docs/assets/navigation.js +1 -0
  27. package/docs/assets/search.js +1 -0
  28. package/docs/assets/style.css +1640 -0
  29. package/docs/assets/typedoc-github-style.css +557 -0
  30. package/docs/classes/KeetaNetSDK.Client.html +288 -0
  31. package/docs/classes/KeetaNetSDK.Referenced.Account.html +107 -0
  32. package/docs/classes/KeetaNetSDK.Referenced.BaseSet.html +13 -0
  33. package/docs/classes/KeetaNetSDK.Referenced.Block.html +36 -0
  34. package/docs/classes/KeetaNetSDK.Referenced.BlockBuilder.html +26 -0
  35. package/docs/classes/KeetaNetSDK.Referenced.BlockHash.html +18 -0
  36. package/docs/classes/KeetaNetSDK.Referenced.BlockOperation.html +6 -0
  37. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationCREATE_IDENTIFIER.html +10 -0
  38. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationMODIFY_PERMISSIONS.html +13 -0
  39. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationRECEIVE.html +13 -0
  40. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationSEND.html +12 -0
  41. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationSET_INFO.html +13 -0
  42. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationSET_REP.html +10 -0
  43. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationTOKEN_ADMIN_MODIFY_BALANCE.html +11 -0
  44. package/docs/classes/KeetaNetSDK.Referenced.BlockOperationTOKEN_ADMIN_SUPPLY.html +11 -0
  45. package/docs/classes/KeetaNetSDK.Referenced.ECDSAKeyPair.html +30 -0
  46. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256K1KeyPair.html +33 -0
  47. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256K1PrivateKey.html +12 -0
  48. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256K1PublicKey.html +13 -0
  49. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256K1Signature.html +12 -0
  50. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256R1KeyPair.html +34 -0
  51. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256R1PrivateKey.html +12 -0
  52. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256R1PublicKey.html +13 -0
  53. package/docs/classes/KeetaNetSDK.Referenced.ECDSASECP256R1Signature.html +12 -0
  54. package/docs/classes/KeetaNetSDK.Referenced.ED25519KeyPair.html +28 -0
  55. package/docs/classes/KeetaNetSDK.Referenced.ED25519PrivateKey.html +12 -0
  56. package/docs/classes/KeetaNetSDK.Referenced.ED25519PublicKey.html +13 -0
  57. package/docs/classes/KeetaNetSDK.Referenced.ED25519Signature.html +12 -0
  58. package/docs/classes/KeetaNetSDK.Referenced.ExternalKeyPair.html +28 -0
  59. package/docs/classes/KeetaNetSDK.Referenced.ExternalSet.html +16 -0
  60. package/docs/classes/KeetaNetSDK.Referenced.IdentifierKey.html +13 -0
  61. package/docs/classes/KeetaNetSDK.Referenced.IdentifierKeyPair.html +28 -0
  62. package/docs/classes/KeetaNetSDK.Referenced.KeetaNetError.html +5 -0
  63. package/docs/classes/KeetaNetSDK.Referenced.KeyInterface.html +26 -0
  64. package/docs/classes/KeetaNetSDK.Referenced.KeyStorage.html +12 -0
  65. package/docs/classes/KeetaNetSDK.Referenced.Ledger.html +41 -0
  66. package/docs/classes/KeetaNetSDK.Referenced.LedgerAtomicInterface.html +27 -0
  67. package/docs/classes/KeetaNetSDK.Referenced.LedgerRequestCache.html +7 -0
  68. package/docs/classes/KeetaNetSDK.Referenced.Node.html +21 -0
  69. package/docs/classes/KeetaNetSDK.Referenced.P2PSwitch.html +40 -0
  70. package/docs/classes/KeetaNetSDK.Referenced.PendingAccount.html +5 -0
  71. package/docs/classes/KeetaNetSDK.Referenced.PermissionSetHolder.html +6 -0
  72. package/docs/classes/KeetaNetSDK.Referenced.Permissions.html +20 -0
  73. package/docs/classes/KeetaNetSDK.Referenced.PossiblyExpiredVote.html +26 -0
  74. package/docs/classes/KeetaNetSDK.Referenced.PublicKeyString.html +8 -0
  75. package/docs/classes/KeetaNetSDK.Referenced.RequestTiming.html +8 -0
  76. package/docs/classes/KeetaNetSDK.Referenced.SignatureStorage.html +12 -0
  77. package/docs/classes/KeetaNetSDK.Referenced.Stats.html +13 -0
  78. package/docs/classes/KeetaNetSDK.Referenced.UserClientBuilder.html +29 -0
  79. package/docs/classes/KeetaNetSDK.Referenced.Vote.html +31 -0
  80. package/docs/classes/KeetaNetSDK.Referenced.VoteBlockHash.html +20 -0
  81. package/docs/classes/KeetaNetSDK.Referenced.VoteBlockHashMap.html +26 -0
  82. package/docs/classes/KeetaNetSDK.Referenced.VoteBuilder.html +8 -0
  83. package/docs/classes/KeetaNetSDK.Referenced.VoteHash.html +11 -0
  84. package/docs/classes/KeetaNetSDK.Referenced.VoteStaple.html +40 -0
  85. package/docs/classes/KeetaNetSDK.Referenced.VoteStapleHash.html +14 -0
  86. package/docs/classes/KeetaNetSDK.Referenced.default.html +9 -0
  87. package/docs/classes/KeetaNetSDK.Referenced.src_lib_utils_asn1.BufferStorageASN1.html +9 -0
  88. package/docs/classes/KeetaNetSDK.Referenced.src_lib_utils_asn1.ValidateASN1.html +19 -0
  89. package/docs/classes/KeetaNetSDK.Referenced.src_lib_utils_buffer.BufferStorage.html +11 -0
  90. package/docs/classes/KeetaNetSDK.Referenced.src_lib_utils_certificate.Certificate.html +79 -0
  91. package/docs/classes/KeetaNetSDK.Referenced.src_lib_utils_certificate.CertificateBuilder.html +9 -0
  92. package/docs/classes/KeetaNetSDK.UserClient.html +254 -0
  93. package/docs/documents/GETTING-STARTED.html +268 -0
  94. package/docs/enums/KeetaNetSDK.Referenced.AccountKeyAlgorithm.html +9 -0
  95. package/docs/enums/KeetaNetSDK.Referenced.AdjustMethod.html +4 -0
  96. package/docs/enums/KeetaNetSDK.Referenced.BaseFlag.html +15 -0
  97. package/docs/enums/KeetaNetSDK.Referenced.BasePermissionGroup.html +9 -0
  98. package/docs/enums/KeetaNetSDK.Referenced.LedgerKind.html +4 -0
  99. package/docs/enums/KeetaNetSDK.Referenced.NodeKind.html +5 -0
  100. package/docs/enums/KeetaNetSDK.Referenced.OperationType.html +10 -0
  101. package/docs/functions/KeetaNetSDK.Referenced.src_config.getDefaultConfig.html +2 -0
  102. package/docs/functions/KeetaNetSDK.Referenced.src_config.getNetworkAlias.html +1 -0
  103. package/docs/functions/KeetaNetSDK.Referenced.src_config.getValidation.html +1 -0
  104. package/docs/functions/KeetaNetSDK.Referenced.src_config.isNetwork.html +1 -0
  105. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_asn1.isValidSequenceSchema.html +2 -0
  106. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_bloom.deserializeBloomFilter.html +1 -0
  107. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_bloom.serializeBloomFilter.html +1 -0
  108. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_buffer.DecodeBase32.html +2 -0
  109. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_buffer.DecodeBase64.html +1 -0
  110. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_buffer.EncodeBase32.html +2 -0
  111. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_buffer.EncodeBase64.html +1 -0
  112. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_buffer.ZlibDeflate.html +1 -0
  113. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_buffer.ZlibInflate.html +1 -0
  114. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_conversion.RegisterSerializable.html +2 -0
  115. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_conversion.objectToBuffer.html +1 -0
  116. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_conversion.parseHexBigIntString.html +1 -0
  117. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_conversion.toJSONSerializable.html +1 -0
  118. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_hash.Hash.html +4 -0
  119. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.arrayRepeat.html +1 -0
  120. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.asleep.html +1 -0
  121. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.bufferToArrayBuffer.html +1 -0
  122. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.checkableGenerator.html +1 -0
  123. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.debugPrintableObject.html +1 -0
  124. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.env.html +3 -0
  125. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.internalLogger.html +1 -0
  126. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.isBuffer.html +6 -0
  127. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.isIntegerOrBigInt.html +2 -0
  128. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.objectToBuffer.html +1 -0
  129. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.promiseGenerator.html +1 -0
  130. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.randomInt.html +1 -0
  131. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.randomString.html +2 -0
  132. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.setGenerator.html +1 -0
  133. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_helper.waitTicks.html +2 -0
  134. package/docs/functions/KeetaNetSDK.Referenced.src_lib_utils_initial.generateInitialVoteStaple.html +1 -0
  135. package/docs/hierarchy.html +1 -0
  136. package/docs/index.html +4 -0
  137. package/docs/interfaces/KeetaNetSDK.Referenced.ACLEntry.html +10 -0
  138. package/docs/interfaces/KeetaNetSDK.Referenced.ACLRow.html +10 -0
  139. package/docs/interfaces/KeetaNetSDK.Referenced.ACLUpdate.html +12 -0
  140. package/docs/interfaces/KeetaNetSDK.Referenced.APIOptions.html +10 -0
  141. package/docs/interfaces/KeetaNetSDK.Referenced.ASN1ExplicitContextTag.html +5 -0
  142. package/docs/interfaces/KeetaNetSDK.Referenced.ASN1ImplicitContextTag.html +5 -0
  143. package/docs/interfaces/KeetaNetSDK.Referenced.ASN1Object.html +2 -0
  144. package/docs/interfaces/KeetaNetSDK.Referenced.AccountInfo.html +12 -0
  145. package/docs/interfaces/KeetaNetSDK.Referenced.AccountSignerOptions.html +3 -0
  146. package/docs/interfaces/KeetaNetSDK.Referenced.AccountSignerOptionsJSON.html +3 -0
  147. package/docs/interfaces/KeetaNetSDK.Referenced.AllPendingJSON.html +5 -0
  148. package/docs/interfaces/KeetaNetSDK.Referenced.BaseExternalKeyPairFunctions.html +6 -0
  149. package/docs/interfaces/KeetaNetSDK.Referenced.BaseFlagRule.html +5 -0
  150. package/docs/interfaces/KeetaNetSDK.Referenced.BaseGenerationConfig.html +4 -0
  151. package/docs/interfaces/KeetaNetSDK.Referenced.BlockCanonical.html +10 -0
  152. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSON.html +11 -0
  153. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperation.html +2 -0
  154. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationCREATE_IDENTIFIER.html +4 -0
  155. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationMODIFY_PERMISSIONS.html +7 -0
  156. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationRECEIVE.html +7 -0
  157. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationSEND.html +6 -0
  158. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationSET_INFO.html +7 -0
  159. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationSET_REP.html +4 -0
  160. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationTOKEN_ADMIN_MODIFY_BALANCE.html +5 -0
  161. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOperationTOKEN_ADMIN_SUPPLY.html +5 -0
  162. package/docs/interfaces/KeetaNetSDK.Referenced.BlockJSONOutput.html +5 -0
  163. package/docs/interfaces/KeetaNetSDK.Referenced.BlockOperationValidateContext.html +3 -0
  164. package/docs/interfaces/KeetaNetSDK.Referenced.BlockUnsignedCanonical.html +11 -0
  165. package/docs/interfaces/KeetaNetSDK.Referenced.ComputeBlocksResponse.html +3 -0
  166. package/docs/interfaces/KeetaNetSDK.Referenced.ComputedBlockEffect.html +4 -0
  167. package/docs/interfaces/KeetaNetSDK.Referenced.ComputedBlocksEffectFields.html +8 -0
  168. package/docs/interfaces/KeetaNetSDK.Referenced.ComputedBlocksEffectTokenChangesField.html +1 -0
  169. package/docs/interfaces/KeetaNetSDK.Referenced.Constructor.html +2 -0
  170. package/docs/interfaces/KeetaNetSDK.Referenced.ExternalKeyPairFunctionsNoEncryption.html +6 -0
  171. package/docs/interfaces/KeetaNetSDK.Referenced.ExternalKeyPairFunctionsSupportsEncryption.html +8 -0
  172. package/docs/interfaces/KeetaNetSDK.Referenced.GetPeersAPIResponse.html +9 -0
  173. package/docs/interfaces/KeetaNetSDK.Referenced.GetPeersOptions.html +11 -0
  174. package/docs/interfaces/KeetaNetSDK.Referenced.GetRepresentativeAPIResponse.html +5 -0
  175. package/docs/interfaces/KeetaNetSDK.Referenced.HTTPConfig.html +2 -0
  176. package/docs/interfaces/KeetaNetSDK.Referenced.IdentifierCreateRequest.html +3 -0
  177. package/docs/interfaces/KeetaNetSDK.Referenced.InitialConfigSupply.html +5 -0
  178. package/docs/interfaces/KeetaNetSDK.Referenced.KVSetOptionsType.html +3 -0
  179. package/docs/interfaces/KeetaNetSDK.Referenced.KVStorageProviderAPI.html +8 -0
  180. package/docs/interfaces/KeetaNetSDK.Referenced.LedgerConfig.html +21 -0
  181. package/docs/interfaces/KeetaNetSDK.Referenced.LedgerStatistics.html +8 -0
  182. package/docs/interfaces/KeetaNetSDK.Referenced.LedgerStorageAPI.html +69 -0
  183. package/docs/interfaces/KeetaNetSDK.Referenced.ModifyTokenBalanceEntry.html +6 -0
  184. package/docs/interfaces/KeetaNetSDK.Referenced.NodeConfig.html +32 -0
  185. package/docs/interfaces/KeetaNetSDK.Referenced.NumericValueEntry.html +2 -0
  186. package/docs/interfaces/KeetaNetSDK.Referenced.P2PConfig.html +24 -0
  187. package/docs/interfaces/KeetaNetSDK.Referenced.P2PConnection.html +27 -0
  188. package/docs/interfaces/KeetaNetSDK.Referenced.P2PPeerBase.html +4 -0
  189. package/docs/interfaces/KeetaNetSDK.Referenced.P2PPeerListener.html +5 -0
  190. package/docs/interfaces/KeetaNetSDK.Referenced.P2PPeerRepBase.html +7 -0
  191. package/docs/interfaces/KeetaNetSDK.Referenced.P2PSwitchStatistics.html +7 -0
  192. package/docs/interfaces/KeetaNetSDK.Referenced.PeerInfo.html +10 -0
  193. package/docs/interfaces/KeetaNetSDK.Referenced.PendingOperations.html +9 -0
  194. package/docs/interfaces/KeetaNetSDK.Referenced.PendingOperationsJSON.html +9 -0
  195. package/docs/interfaces/KeetaNetSDK.Referenced.PrincipalACLWithInfoParsed.html +24 -0
  196. package/docs/interfaces/KeetaNetSDK.Referenced.PublicKeyStorage.html +11 -0
  197. package/docs/interfaces/KeetaNetSDK.Referenced.PublicKeyStringMapping.html +7 -0
  198. package/docs/interfaces/KeetaNetSDK.Referenced.RenderOptions.html +3 -0
  199. package/docs/interfaces/KeetaNetSDK.Referenced.RepresentativeInfo.html +5 -0
  200. package/docs/interfaces/KeetaNetSDK.Referenced.RequestTokenReceiveEntry.html +5 -0
  201. package/docs/interfaces/KeetaNetSDK.Referenced.StatsConfig.html +2 -0
  202. package/docs/interfaces/KeetaNetSDK.Referenced.TextValidationRule.html +4 -0
  203. package/docs/interfaces/KeetaNetSDK.Referenced.TokenNumericEntry.html +4 -0
  204. package/docs/interfaces/KeetaNetSDK.Referenced.UserClientConfig.html +26 -0
  205. package/docs/interfaces/KeetaNetSDK.Referenced.UserClientListenerTypes.html +2 -0
  206. package/docs/interfaces/KeetaNetSDK.Referenced.UserClientOptions.html +16 -0
  207. package/docs/interfaces/KeetaNetSDK.Referenced.ValidationOptions.html +3 -0
  208. package/docs/interfaces/KeetaNetSDK.Referenced.VoteJSON.html +8 -0
  209. package/docs/interfaces/KeetaNetSDK.Referenced.VoteJSONOutput.html +4 -0
  210. package/docs/interfaces/KeetaNetSDK.Referenced.VoteStapleJSON.html +3 -0
  211. package/docs/interfaces/KeetaNetSDK.Referenced.WithConversionClass.html +6 -0
  212. package/docs/interfaces/KeetaNetSDK.Referenced.WithIsInstance.html +3 -0
  213. package/docs/interfaces/KeetaNetSDK.Referenced.signOptionsType.html +9 -0
  214. package/docs/interfaces/KeetaNetSDK.Referenced.src_config.ValidationConfig.html +4 -0
  215. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1BitString.html +4 -0
  216. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1Date.html +4 -0
  217. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1OID.html +3 -0
  218. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1Set.html +4 -0
  219. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1String.html +4 -0
  220. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_helper.InstanceSet.html +10 -0
  221. package/docs/interfaces/KeetaNetSDK.Referenced.src_lib_utils_helper.InstanceSetConstructor.html +2 -0
  222. package/docs/media/index-1.js +517 -0
  223. package/docs/media/index.js +82 -0
  224. package/docs/modules/KeetaNetSDK.Referenced.html +1 -0
  225. package/docs/modules/KeetaNetSDK.Referenced.src_config.html +1 -0
  226. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_asn1.ValidateASN1.html +1 -0
  227. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_asn1.html +1 -0
  228. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_bloom.html +1 -0
  229. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_buffer.html +1 -0
  230. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_certificate.html +1 -0
  231. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_conversion.html +1 -0
  232. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_hash.html +1 -0
  233. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_helper.html +1 -0
  234. package/docs/modules/KeetaNetSDK.Referenced.src_lib_utils_initial.html +1 -0
  235. package/docs/modules/KeetaNetSDK.html +8 -0
  236. package/docs/modules.html +1 -0
  237. package/docs/types/KeetaNetSDK.Referenced.ACLEntryUnparsed.html +5 -0
  238. package/docs/types/KeetaNetSDK.Referenced.ASN1AnyASN.html +1 -0
  239. package/docs/types/KeetaNetSDK.Referenced.AcceptedPermissionTypes.html +1 -0
  240. package/docs/types/KeetaNetSDK.Referenced.AccountBalancesUnparsed.html +1 -0
  241. package/docs/types/KeetaNetSDK.Referenced.AccountErrorCode.html +1 -0
  242. package/docs/types/KeetaNetSDK.Referenced.AccountInfoResponse.html +6 -0
  243. package/docs/types/KeetaNetSDK.Referenced.AccountOrPending.html +1 -0
  244. package/docs/types/KeetaNetSDK.Referenced.AccountPrefix.html +1 -0
  245. package/docs/types/KeetaNetSDK.Referenced.AccountPublicKeyString.html +1 -0
  246. package/docs/types/KeetaNetSDK.Referenced.AllPending.html +1 -0
  247. package/docs/types/KeetaNetSDK.Referenced.BaseFlagName.html +1 -0
  248. package/docs/types/KeetaNetSDK.Referenced.BaseFlagNames.html +1 -0
  249. package/docs/types/KeetaNetSDK.Referenced.BasePermissionOffsetSet.html +1 -0
  250. package/docs/types/KeetaNetSDK.Referenced.BasicSchemaMap.html +14 -0
  251. package/docs/types/KeetaNetSDK.Referenced.BlockErrorCode.html +1 -0
  252. package/docs/types/KeetaNetSDK.Referenced.BlockJSONIncomplete.html +1 -0
  253. package/docs/types/KeetaNetSDK.Referenced.BlockOperations.html +1 -0
  254. package/docs/types/KeetaNetSDK.Referenced.BlocksAlwaysReturn.html +4 -0
  255. package/docs/types/KeetaNetSDK.Referenced.BlocksWithAddSupply.html +1 -0
  256. package/docs/types/KeetaNetSDK.Referenced.BuilderOptions.html +2 -0
  257. package/docs/types/KeetaNetSDK.Referenced.CanBeArray.html +1 -0
  258. package/docs/types/KeetaNetSDK.Referenced.CertificateBuilderParams.html +23 -0
  259. package/docs/types/KeetaNetSDK.Referenced.CertificateExtensions.html +5 -0
  260. package/docs/types/KeetaNetSDK.Referenced.CertificateIssuerOrSubject.html +4 -0
  261. package/docs/types/KeetaNetSDK.Referenced.CertificateOID.html +3 -0
  262. package/docs/types/KeetaNetSDK.Referenced.CertificateOptions.html +15 -0
  263. package/docs/types/KeetaNetSDK.Referenced.CertificatePublicKeyInfo.html +1 -0
  264. package/docs/types/KeetaNetSDK.Referenced.CertificateSchema.html +1 -0
  265. package/docs/types/KeetaNetSDK.Referenced.CertificateValidity.html +1 -0
  266. package/docs/types/KeetaNetSDK.Referenced.CertificateVersionInfo.html +5 -0
  267. package/docs/types/KeetaNetSDK.Referenced.ClientErrorCode.html +1 -0
  268. package/docs/types/KeetaNetSDK.Referenced.ClientRepresentative.html +3 -0
  269. package/docs/types/KeetaNetSDK.Referenced.ComputedEffectOfBlocks.html +4 -0
  270. package/docs/types/KeetaNetSDK.Referenced.ComputedEffectOfBlocksByAccount.html +2 -0
  271. package/docs/types/KeetaNetSDK.Referenced.CreateIdentifierRequest.html +6 -0
  272. package/docs/types/KeetaNetSDK.Referenced.DecodeFunc.html +1 -0
  273. package/docs/types/KeetaNetSDK.Referenced.DelegationUpdate.html +2 -0
  274. package/docs/types/KeetaNetSDK.Referenced.DeserializerCallback.html +2 -0
  275. package/docs/types/KeetaNetSDK.Referenced.DurationBreakdowns.html +1 -0
  276. package/docs/types/KeetaNetSDK.Referenced.ED25519PublicKeyString.html +1 -0
  277. package/docs/types/KeetaNetSDK.Referenced.EncodeFunc.html +1 -0
  278. package/docs/types/KeetaNetSDK.Referenced.ErrorCode.html +1 -0
  279. package/docs/types/KeetaNetSDK.Referenced.ExternalFlagName.html +1 -0
  280. package/docs/types/KeetaNetSDK.Referenced.ExternalKeyPairFunctions.html +1 -0
  281. package/docs/types/KeetaNetSDK.Referenced.ExternalPermissionOffsetSet.html +1 -0
  282. package/docs/types/KeetaNetSDK.Referenced.FlagGroupType.html +1 -0
  283. package/docs/types/KeetaNetSDK.Referenced.FlagOrExternalName.html +1 -0
  284. package/docs/types/KeetaNetSDK.Referenced.FlagOrExternalNames.html +1 -0
  285. package/docs/types/KeetaNetSDK.Referenced.GenericAccount.html +1 -0
  286. package/docs/types/KeetaNetSDK.Referenced.GetAccountStateAPIResponse.html +1 -0
  287. package/docs/types/KeetaNetSDK.Referenced.GetAccountStateAPIResponseFailure.html +3 -0
  288. package/docs/types/KeetaNetSDK.Referenced.GetAccountStateAPIResponseFormatted.html +28 -0
  289. package/docs/types/KeetaNetSDK.Referenced.GetAccountStateAPIResponseSuccess.html +6 -0
  290. package/docs/types/KeetaNetSDK.Referenced.GetAllBalancesResponse.html +6 -0
  291. package/docs/types/KeetaNetSDK.Referenced.GetPrevFunction.html +1 -0
  292. package/docs/types/KeetaNetSDK.Referenced.GetVotesAfterOptions.html +8 -0
  293. package/docs/types/KeetaNetSDK.Referenced.IdentifierAddress.html +1 -0
  294. package/docs/types/KeetaNetSDK.Referenced.IdentifierKeyAlgorithm.html +1 -0
  295. package/docs/types/KeetaNetSDK.Referenced.IdentifierPublicKeyString.html +1 -0
  296. package/docs/types/KeetaNetSDK.Referenced.InitialGenResponse.html +3 -0
  297. package/docs/types/KeetaNetSDK.Referenced.JSONMessage.html +7 -0
  298. package/docs/types/KeetaNetSDK.Referenced.JSONSupportedObject.html +1 -0
  299. package/docs/types/KeetaNetSDK.Referenced.JSONSupportedValue.html +1 -0
  300. package/docs/types/KeetaNetSDK.Referenced.JSONUnsupportedTypes.html +1 -0
  301. package/docs/types/KeetaNetSDK.Referenced.KVErrorCode.html +1 -0
  302. package/docs/types/KeetaNetSDK.Referenced.KeyPairTypes.html +2 -0
  303. package/docs/types/KeetaNetSDK.Referenced.LedgerErrorCode.html +1 -0
  304. package/docs/types/KeetaNetSDK.Referenced.LedgerSelector.html +2 -0
  305. package/docs/types/KeetaNetSDK.Referenced.LedgerStorage.html +2 -0
  306. package/docs/types/KeetaNetSDK.Referenced.Mutable.html +4 -0
  307. package/docs/types/KeetaNetSDK.Referenced.NetworkAddress.html +1 -0
  308. package/docs/types/KeetaNetSDK.Referenced.NetworkPublicKeyString.html +1 -0
  309. package/docs/types/KeetaNetSDK.Referenced.NodeLike.html +2 -0
  310. package/docs/types/KeetaNetSDK.Referenced.P2PPeer.html +1 -0
  311. package/docs/types/KeetaNetSDK.Referenced.P2PPeerRep.html +4 -0
  312. package/docs/types/KeetaNetSDK.Referenced.PaginatedVotes.html +4 -0
  313. package/docs/types/KeetaNetSDK.Referenced.PerAccount.html +1 -0
  314. package/docs/types/KeetaNetSDK.Referenced.PermissionOffsetSet.html +1 -0
  315. package/docs/types/KeetaNetSDK.Referenced.PermissionsErrorCode.html +1 -0
  316. package/docs/types/KeetaNetSDK.Referenced.PublicKeyStringPrefixed.html +4 -0
  317. package/docs/types/KeetaNetSDK.Referenced.Secp256K1PublicKeyString.html +1 -0
  318. package/docs/types/KeetaNetSDK.Referenced.Secp256R1PublicKeyString.html +1 -0
  319. package/docs/types/KeetaNetSDK.Referenced.SerializedConnection.html +3 -0
  320. package/docs/types/KeetaNetSDK.Referenced.StoragePublicKeyString.html +1 -0
  321. package/docs/types/KeetaNetSDK.Referenced.TimeStat.html +3 -0
  322. package/docs/types/KeetaNetSDK.Referenced.TimeStats.html +1 -0
  323. package/docs/types/KeetaNetSDK.Referenced.TokenAddress.html +1 -0
  324. package/docs/types/KeetaNetSDK.Referenced.TokenEntry.html +1 -0
  325. package/docs/types/KeetaNetSDK.Referenced.TokenOrPending.html +1 -0
  326. package/docs/types/KeetaNetSDK.Referenced.TokenPublicKeyString.html +1 -0
  327. package/docs/types/KeetaNetSDK.Referenced.UserClientIntervals.html +1 -0
  328. package/docs/types/KeetaNetSDK.Referenced.UserClientListeners.html +1 -0
  329. package/docs/types/KeetaNetSDK.Referenced.UserClientOptionsReadOnly.html +2 -0
  330. package/docs/types/KeetaNetSDK.Referenced.UserClientOrClientAndNetwork.html +5 -0
  331. package/docs/types/KeetaNetSDK.Referenced.Vote.html +1 -0
  332. package/docs/types/KeetaNetSDK.Referenced.VoteErrorCode.html +1 -0
  333. package/docs/types/KeetaNetSDK.Referenced.VoteJSONOutput.html +1 -0
  334. package/docs/types/KeetaNetSDK.Referenced.VoteOptions.html +4 -0
  335. package/docs/types/KeetaNetSDK.Referenced.decryptFunctionType.html +2 -0
  336. package/docs/types/KeetaNetSDK.Referenced.encryptFunctionType.html +2 -0
  337. package/docs/types/KeetaNetSDK.Referenced.fromSeedFunctionType.html +2 -0
  338. package/docs/types/KeetaNetSDK.Referenced.publicKeyASN1.html +3 -0
  339. package/docs/types/KeetaNetSDK.Referenced.seedDerivationFunction.html +2 -0
  340. package/docs/types/KeetaNetSDK.Referenced.signFunctionType.html +2 -0
  341. package/docs/types/KeetaNetSDK.Referenced.src_config.Endpoints.html +6 -0
  342. package/docs/types/KeetaNetSDK.Referenced.src_config.NetworkConfig.html +11 -0
  343. package/docs/types/KeetaNetSDK.Referenced.src_config.NetworkOrID.html +1 -0
  344. package/docs/types/KeetaNetSDK.Referenced.src_config.Networks.html +1 -0
  345. package/docs/types/KeetaNetSDK.Referenced.src_config.Representative.html +9 -0
  346. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1AnyJS.html +1 -0
  347. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1ContextTag.html +1 -0
  348. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1SequenceValidation.html +2 -0
  349. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_asn1.ValidateASN1.Schema.html +1 -0
  350. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_asn1.ValidateASN1.SchemaMap.html +1 -0
  351. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_conversion.JSONSerializable.html +1 -0
  352. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_conversion.JSONSerializableObject.html +1 -0
  353. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_conversion.JSONSupported.html +1 -0
  354. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_conversion.ToJSONSerializable.html +1 -0
  355. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_conversion.ToJSONSerializableOptions.html +3 -0
  356. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_helper.DeepMutable.html +1 -0
  357. package/docs/types/KeetaNetSDK.Referenced.src_lib_utils_helper.DistributiveOmit.html +1 -0
  358. package/docs/types/KeetaNetSDK.Referenced.verifyFunctionType.html +2 -0
  359. package/docs/variables/KeetaNetSDK.Referenced.AccountErrorCodes.html +1 -0
  360. package/docs/variables/KeetaNetSDK.Referenced.AccountErrorType.html +1 -0
  361. package/docs/variables/KeetaNetSDK.Referenced.AccountPrefixes.html +2 -0
  362. package/docs/variables/KeetaNetSDK.Referenced.BlockErrorCodes.html +1 -0
  363. package/docs/variables/KeetaNetSDK.Referenced.BlockErrorType.html +1 -0
  364. package/docs/variables/KeetaNetSDK.Referenced.ClientErrorCodes.html +1 -0
  365. package/docs/variables/KeetaNetSDK.Referenced.ClientErrorType.html +1 -0
  366. package/docs/variables/KeetaNetSDK.Referenced.KVErrorCodes.html +1 -0
  367. package/docs/variables/KeetaNetSDK.Referenced.KVErrorType.html +1 -0
  368. package/docs/variables/KeetaNetSDK.Referenced.LedgerErrorCodes.html +1 -0
  369. package/docs/variables/KeetaNetSDK.Referenced.LedgerErrorType.html +1 -0
  370. package/docs/variables/KeetaNetSDK.Referenced.Operation.html +2 -0
  371. package/docs/variables/KeetaNetSDK.Referenced.PermissionsErrorCodes.html +1 -0
  372. package/docs/variables/KeetaNetSDK.Referenced.PermissionsErrorType.html +1 -0
  373. package/docs/variables/KeetaNetSDK.Referenced.VoteErrorCodes.html +1 -0
  374. package/docs/variables/KeetaNetSDK.Referenced.VoteErrorType.html +1 -0
  375. package/docs/variables/KeetaNetSDK.Referenced.default.html +3 -0
  376. package/docs/variables/KeetaNetSDK.Referenced.durationRanges.html +1 -0
  377. package/docs/variables/KeetaNetSDK.Referenced.externalFlagPrefix.html +1 -0
  378. package/docs/variables/KeetaNetSDK.Referenced.identifierKeyTypes.html +1 -0
  379. package/docs/variables/KeetaNetSDK.Referenced.src_config.NetworkIDs.html +1 -0
  380. package/docs/variables/KeetaNetSDK.Referenced.src_config.baseValidationConfig.html +1 -0
  381. package/docs/variables/KeetaNetSDK.Referenced.src_config.networksArray.html +2 -0
  382. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1BigIntToBuffer.html +1 -0
  383. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1IntegerToBigInt.html +1 -0
  384. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_asn1.ASN1toJS.html +1 -0
  385. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_asn1.JStoASN1.html +1 -0
  386. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_asn1.asn1.html +1 -0
  387. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_hash.HashFunctionLength.html +2 -0
  388. package/docs/variables/KeetaNetSDK.Referenced.src_lib_utils_hash.HashFunctionName.html +2 -0
  389. package/docs/variables/KeetaNetSDK.lib.html +4 -0
  390. package/examples/basic/index.js +82 -0
  391. package/examples/basic/package-lock.json +126 -0
  392. package/examples/basic/package.json +14 -0
  393. package/examples/rwa-nft/index.js +517 -0
  394. package/examples/rwa-nft/package-lock.json +126 -0
  395. package/examples/rwa-nft/package.json +14 -0
  396. package/lib/account.d.ts +2 -2
  397. package/lib/block/index.d.ts +1 -1
  398. package/lib/block/operations.d.ts +1 -1
  399. package/lib/error/account.d.ts +1 -1
  400. package/lib/error/block.d.ts +1 -1
  401. package/lib/error/client.d.ts +2 -2
  402. package/lib/error/index.d.ts +1 -1
  403. package/lib/error/kv.d.ts +1 -1
  404. package/lib/error/ledger.d.ts +1 -1
  405. package/lib/error/permissions.d.ts +1 -1
  406. package/lib/error/vote.d.ts +1 -1
  407. package/lib/index.d.ts +6 -2
  408. package/lib/kv/index.d.ts +2 -3
  409. package/lib/kv/kv_dynamodb.d.ts +1 -1
  410. package/lib/kv/kv_memory.d.ts +1 -1
  411. package/lib/kv/kv_redis.d.ts +1 -5
  412. package/lib/ledger/common.d.ts +2 -0
  413. package/lib/ledger/db_dynamodb.d.ts +2 -2
  414. package/lib/ledger/db_postgres.d.ts +1 -1
  415. package/lib/ledger/db_spanner.d.ts +5 -4
  416. package/lib/ledger/db_spanner_helper.d.ts +1 -2
  417. package/lib/ledger/db_sqlite.d.ts +1 -1
  418. package/lib/ledger/index.d.ts +6 -5
  419. package/lib/ledger/types.d.ts +53 -1
  420. package/lib/p2p.d.ts +1 -1
  421. package/lib/permissions.d.ts +1 -1
  422. package/lib/stats.d.ts +1 -1
  423. package/lib/utils/asn1.d.ts +0 -14
  424. package/lib/utils/buffer.d.ts +0 -1
  425. package/lib/utils/certificate.d.ts +2 -2
  426. package/lib/utils/conversion.d.ts +1 -1
  427. package/lib/utils/hash.d.ts +0 -1
  428. package/lib/vote.d.ts +1 -1
  429. package/package.json +5 -2
  430. package/version.d.ts +1 -1
  431. package/._version.d.ts +0 -0
@@ -0,0 +1,268 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GETTING-STARTED | @keetanetwork/keetanet-client</title><meta name="description" content="Documentation for @keetanetwork/keetanet-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script><link rel="stylesheet" href="../assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title"><img src="../assets/logo-keeta-light.svg" alt="Keeta Logo" class="keeta-logo-light" width="50" height="20"/><img src="../assets/logo-keeta-dark.svg" alt="Keeta Logo" class="keeta-logo-dark" width="50" height="20"/>@keetanetwork/keetanet-client</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.9421 17.0578L14.0304 13.1469C15.1642 11.7857 15.7295 10.0398 15.6089 8.27245C15.4882 6.50506 14.6908 4.85223 13.3825 3.65779C12.0743 2.46335 10.3559 1.81926 8.58486 1.85951C6.81382 1.89976 5.12647 2.62125 3.87383 3.87389C2.62118 5.12653 1.89969 6.81388 1.85944 8.58493C1.8192 10.356 2.46328 12.0744 3.65772 13.3826C4.85217 14.6909 6.50499 15.4883 8.27238 15.6089C10.0398 15.7296 11.7856 15.1642 13.1468 14.0305L17.0577 17.9422C17.1158 18.0003 17.1848 18.0463 17.2606 18.0777C17.3365 18.1092 17.4178 18.1253 17.4999 18.1253C17.5821 18.1253 17.6634 18.1092 17.7392 18.0777C17.8151 18.0463 17.8841 18.0003 17.9421 17.9422C18.0002 17.8841 18.0463 17.8152 18.0777 17.7393C18.1091 17.6634 18.1253 17.5821 18.1253 17.5C18.1253 17.4179 18.1091 17.3366 18.0777 17.2607C18.0463 17.1848 18.0002 17.1159 17.9421 17.0578ZM3.12493 8.75C3.12493 7.63748 3.45483 6.54994 4.07292 5.62492C4.691 4.69989 5.56951 3.97892 6.59734 3.55318C7.62517 3.12743 8.75617 3.01604 9.84732 3.23308C10.9385 3.45012 11.9407 3.98585 12.7274 4.77252C13.5141 5.55919 14.0498 6.56147 14.2669 7.65262C14.4839 8.74376 14.3725 9.87476 13.9468 10.9026C13.521 11.9304 12.8 12.8089 11.875 13.427C10.95 14.0451 9.86245 14.375 8.74993 14.375C7.2586 14.3733 5.82882 13.7802 4.77429 12.7256C3.71975 11.6711 3.12659 10.2413 3.12493 8.75Z" fill="var(--color-icon-text)"></path></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">GETTING-STARTED</a></li></ul></div><div class="tsd-panel tsd-typography"><h1 id="keetanet-client-sdk-getting-started" class="tsd-anchor-link">KeetaNet Client SDK Getting Started<a href="#keetanet-client-sdk-getting-started" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h1><h2 id="installation" class="tsd-anchor-link">Installation<a href="#installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h2><p>The KeetaNet Client JavaScript/TypeScript SDK can be loaded with:</p>
2
+ <pre><code class="bash"><span class="hl-0">$</span><span class="hl-1"> </span><span class="hl-2">npm</span><span class="hl-1"> </span><span class="hl-2">install</span><span class="hl-1"> </span><span class="hl-2">@keetanetwork/keetanet-client</span>
3
+ </code><button type="button">Copy</button></pre>
4
+
5
+ <h2 id="concepts" class="tsd-anchor-link">Concepts<a href="#concepts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h2><h3 id="accounts" class="tsd-anchor-link">Accounts<a href="#accounts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.Referenced.Account.html" class="tsd-kind-class">Accounts</a> in the KeetaNet SDK are the way in which key pairs or identifiers are
6
+ represented.</p>
7
+ <p>For key pairs, they securely store the private key (where applicable) and
8
+ provide operations like <a href="../classes/KeetaNetSDK.Referenced.Account.html#sign" class="tsd-kind-method">digital signing</a> and <a href="../classes/KeetaNetSDK.Referenced.Account.html#verify" class="tsd-kind-method">verification</a>,
9
+ <a href="../classes/KeetaNetSDK.Referenced.Account.html#fromseed" class="tsd-kind-method">key derivation from seed</a> and <a href="../classes/KeetaNetSDK.Referenced.Account.html#seedfrompassphrase" class="tsd-kind-method">passphrase</a>, and
10
+ <a href="../classes/KeetaNetSDK.Referenced.Account.html#encrypt" class="tsd-kind-method">encryption</a> and <a href="../classes/KeetaNetSDK.Referenced.Account.html#decrypt" class="tsd-kind-method">decryption</a> using ECIES.</p>
11
+ <p>For identifiers, they are used to represent the identity of a specific kind of
12
+ address, such as a Token, the Network Address, or a Storage account.</p>
13
+ <p>Additionally, for key pair accounts the key may be held internally or
14
+ externally using an external key provider. No particular external key provider
15
+ interface (e.g. PKCS#11) is specified but users may implement their own
16
+ provider using the <a href="../classes/KeetaNetSDK.Referenced.ExternalKeyPair.html" class="tsd-kind-class">ExternalKeyPair</a> interface.</p>
17
+ <h3 id="blocks" class="tsd-anchor-link">Blocks<a href="#blocks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.Referenced.Block.html" class="tsd-kind-class">Blocks</a> are used within KeetaNet to represent a collection of operations
18
+ (transactions) by an account. They contain the <a href="../classes/KeetaNetSDK.Referenced.Block.html#account" class="tsd-kind-property">account identifier</a>, the
19
+ <a href="../classes/KeetaNetSDK.Referenced.Block.html#network" class="tsd-kind-property">network identifier</a>, the <a href="../classes/KeetaNetSDK.Referenced.Block.html#previous" class="tsd-kind-property">previous block identifier</a>, an optional
20
+ <a href="../classes/KeetaNetSDK.Referenced.Block.html#signer" class="tsd-kind-property">signer</a> (if different from the account), a <a href="../classes/KeetaNetSDK.Referenced.Block.html#date" class="tsd-kind-property">timestamp</a>, and a list of
21
+ <a href="../classes/KeetaNetSDK.Referenced.Block.html#operations" class="tsd-kind-property">operations</a>.</p>
22
+ <p>The block is digitally signed by the signer (if present, otherwise the account)
23
+ and the signature is included in the block. The block is identified by its
24
+ <a href="../classes/KeetaNetSDK.Referenced.Block.html#hash-1" class="tsd-kind-accessor">hash</a> which is the hash of the block
25
+ not including the signature.</p>
26
+ <p>The KeetaNet SDK also provides a block builder method which allows the user to
27
+ create blocks in an incremental fashion. The block builder is created using the
28
+ <a href="../classes/KeetaNetSDK.Referenced.BlockBuilder.html" class="tsd-kind-class">BlockBuilder</a> class, however in
29
+ most cases a <a href="../classes/KeetaNetSDK.Referenced.UserClientBuilder.html" class="tsd-kind-class">UserClientBuilder</a>
30
+ from a <a href="../classes/KeetaNetSDK.UserClient.html#initbuilder" class="tsd-kind-method">UserClient</a> should be used
31
+ because it will handle things like getting the correct network and previous
32
+ block hash.</p>
33
+ <h3 id="operations" class="tsd-anchor-link">Operations<a href="#operations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.Referenced.BlockOperation.html" class="tsd-kind-class">Operations</a> describe the actions performed by an account on the ledger. They
34
+ are fundamentally composed of effects, which are the specific changes or
35
+ constraints performed on the ledger.</p>
36
+ <p>An example operation is a <a href="../classes/KeetaNetSDK.Referenced.BlockOperationSEND.html" class="tsd-kind-class">Send</a>
37
+ operation which has the effects of decrementing the balance of the sender,
38
+ incrementing the balance of the receiver, and validating that the sender's
39
+ balance does not drop below zero.</p>
40
+ <p>The KeetaNet SDK provides <a href="../classes/KeetaNetSDK.Referenced.BlockOperation.html" class="tsd-kind-class">a number of operations</a>
41
+ which are used to perform actions on the ledger.</p>
42
+ <h3 id="votes" class="tsd-anchor-link">Votes<a href="#votes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.Referenced.Vote.html" class="tsd-kind-class">Votes</a> in KeetaNet are used for consensus forming among &quot;representatives&quot;.
43
+ Each vote is an assertion by a representative that a specific group of blocks
44
+ (identified by their hashes) are valid and conform to the rules of the
45
+ ledger of that representative.</p>
46
+ <p>Votes are used to form a consensus on the state of the ledger and are
47
+ aggregated by the representatives to form a &quot;vote staple&quot;. A vote staple is
48
+ a collection of votes and the blocks which are referenced by those vote.</p>
49
+ <p>Votes come in two flavors: temporary and permanent. Temporary votes are
50
+ used to get initial consensus on a set of blocks. A quorum of temporary votes
51
+ can be &quot;traded in&quot; for permanent votes.</p>
52
+ <p>When a temporary vote is issued by a representative the vote and block are
53
+ stored on the representative's &quot;side ledger&quot;, which is a non-synchronized
54
+ portion of the ledger. The client can request a copy of the block from the
55
+ representative <a href="../classes/KeetaNetSDK.Client.html#getpendingblock" class="tsd-kind-method">Client.getPendingBlock</a>
56
+ or <a href="../classes/KeetaNetSDK.UserClient.html#pendingblock" class="tsd-kind-method">UserClient.pendingBlock</a> method,
57
+ or the <a href="../classes/KeetaNetSDK.Client.html#getvotestaple" class="tsd-kind-method">Client.getVoteStaple</a> method to
58
+ with the &quot;<code>side</code>&quot; parameter set to <code>side</code> to retrieve the vote staple from the
59
+ representative's side ledger.</p>
60
+ <p>Additionally, the <a href="../classes/KeetaNetSDK.UserClient.html#recover" class="tsd-kind-method">UserClient.recover</a> method
61
+ can be used to query all known representatives for side ledger vote staples
62
+ to complete any partially completed consensus rounds.</p>
63
+ <h3 id="vote-staples" class="tsd-anchor-link">Vote Staples<a href="#vote-staples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.Referenced.VoteStaple.html" class="tsd-kind-class">Vote Staples</a>, as discussed above, are a
64
+ collection of votes and the blocks. Every vote in a vote staple must be for the same
65
+ set of blocks in the same order.</p>
66
+ <p>Vote Staples are the unit of transaction in the KeetaNet network. The set of
67
+ blocks in a vote staple are applied altogether as a single atomic transaction
68
+ acting on the ledger.</p>
69
+ <h3 id="networks" class="tsd-anchor-link">Networks<a href="#networks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../variables/KeetaNetSDK.Referenced.src_config.networksArray.html" class="tsd-kind-variable">Networks</a> in KeetaNet
70
+ a group of representative nodes and clients which all agree to a common set of
71
+ rules and initial ledger state. There can be many different networks, such as
72
+ the &quot;test&quot; network, &quot;main&quot; network, and &quot;dev&quot; network. Each network has its
73
+ own set of representatives and clients.</p>
74
+ <p>The network is identified within each block by the <a href="../classes/KeetaNetSDK.Referenced.Block.html#network" class="tsd-kind-property">network identifier</a>
75
+ property, which is an integer.</p>
76
+ <p>Each network also has a <a href="../classes/KeetaNetSDK.UserClient.html#networkaddress" class="tsd-kind-property">Network Address</a>,
77
+ which is a special kind of account derived from the network identifier. The
78
+ purpose of the network address is to define permissions which apply to the
79
+ network as a whole, such as the permission to create tokens, or create storage
80
+ accounts.</p>
81
+ <h3 id="tokens" class="tsd-anchor-link">Tokens<a href="#tokens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../modules/KeetaNetSDK.Referenced.html#token" class="tsd-kind-enum-member">Tokens</a> in KeetaNet are a
82
+ special kind of account which is used to represent a fungible asset. Tokens can be
83
+ created using the <a href="../classes/KeetaNetSDK.Referenced.BlockOperationCREATE_IDENTIFIER.html" class="tsd-kind-class">Create Identifier</a>
84
+ method though the <a href="../classes/KeetaNetSDK.Referenced.UserClientBuilder.html#generateidentifier" class="tsd-kind-method">UserClientBuilder.generateIdentifier</a>
85
+ method is recommended.</p>
86
+ <p>Each network also has a base token which is used for consensus and other
87
+ management functions. The base token can be thought of as the native currency
88
+ of the network and is derived from the network identifier.</p>
89
+ <h3 id="ledger" class="tsd-anchor-link">Ledger<a href="#ledger" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p>The ledger within KeetaNet refers to a couple of different things:</p>
90
+ <ul>
91
+ <li>The live state of accounts and their balances of tokens, as well as other attributes</li>
92
+ <li>The record of how that state came to be, represented by vote staples</li>
93
+ </ul>
94
+ <h4 id="the-ledger-state" class="tsd-anchor-link">The ledger state<a href="#the-ledger-state" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h4><p>The ledger state is the current state of all accounts and their balances of tokens,
95
+ it can be thought of like this:</p>
96
+ <table>
97
+ <thead>
98
+ <tr>
99
+ <th>Account</th>
100
+ <th>Base Token</th>
101
+ <th>Token 1</th>
102
+ <th>Token 2</th>
103
+ <th>Token 3</th>
104
+ </tr>
105
+ </thead>
106
+ <tbody>
107
+ <tr>
108
+ <td>kta1</td>
109
+ <td>1</td>
110
+ <td>100</td>
111
+ <td>200</td>
112
+ <td>300</td>
113
+ </tr>
114
+ <tr>
115
+ <td>kta2</td>
116
+ <td>5</td>
117
+ <td></td>
118
+ <td>0</td>
119
+ <td>3</td>
120
+ </tr>
121
+ <tr>
122
+ <td>kta3</td>
123
+ <td></td>
124
+ <td>90</td>
125
+ <td></td>
126
+ <td></td>
127
+ </tr>
128
+ </tbody>
129
+ </table>
130
+ <p>Where <code>kta1</code>, <code>kta2</code>, and <code>kta3</code> are the account identifiers, and the columns
131
+ represent the balance of that account for the base token and other tokens.</p>
132
+ <h4 id="the-ledger-history" class="tsd-anchor-link">The ledger history<a href="#the-ledger-history" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h4><p>The ledger history is the record of how the ledger state came to be. It is
133
+ represented by the set of vote staples which have been applied to the ledger.</p>
134
+ <p>This is expressed in two different ways in the KeetaNet SDK</p>
135
+ <ul>
136
+ <li>The <a href="../classes/KeetaNetSDK.UserClient.html#history" class="tsd-kind-method">UserClient.history</a> method which returns a list of
137
+ <a href="../classes/KeetaNetSDK.Referenced.VoteStaple.html" class="tsd-kind-class">vote staples</a> which have affected
138
+ the given account.</li>
139
+ <li>The <a href="../classes/KeetaNetSDK.UserClient.html#chain" class="tsd-kind-method">UserClient.chain</a> method which returns a list of
140
+ <a href="../classes/KeetaNetSDK.Referenced.Block.html" class="tsd-kind-class">blocks</a> which have been applied for a given
141
+ account.</li>
142
+ </ul>
143
+ <p>These two differ in that the history method returns all vote staples which
144
+ affected an account, even if they were not issued by the account -- for
145
+ example if a transfer was made to the account, the history method would return
146
+ the vote staple which included the transfer, but the chain method would not
147
+ because it was not issued by the account.</p>
148
+ <p>Additionally there is a method to <a href="../classes/KeetaNetSDK.UserClient.html#filterstapleoperations-2" class="tsd-kind-method">filter a list of vote staples</a>
149
+ to a list of operations which are relevant to a specific account. This is useful
150
+ because the list of operations in a vote staple may include changes that are uninteresting
151
+ from an account perspective.</p>
152
+ <h3 id="permissions" class="tsd-anchor-link">Permissions<a href="#permissions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.Referenced.Permissions.html" class="tsd-kind-class">Permissions</a> in KeetaNet are used
153
+ to allow users and operators to manage access to resources on the network.
154
+ They are used to control who can create tokens, create storage accounts, as well
155
+ as delegate permissions to other accounts.</p>
156
+ <p>There are two kinds of permissions:</p>
157
+ <ul>
158
+ <li><a href="../classes/KeetaNetSDK.Referenced.BaseSet.html" class="tsd-kind-class">Base</a> permissions are the permissions which are
159
+ defined by the network. These are the permissions which the network representatives
160
+ will look at to grant or deny access</li>
161
+ <li><a href="../classes/KeetaNetSDK.Referenced.ExternalSet.html" class="tsd-kind-class">External</a> permissions are the permissions which
162
+ applications can define. These are the permissions which are defined by the
163
+ users of KeetaNet and the network representatives will not process them.
164
+ These are useful for applications which want to define their own permissions and in
165
+ the future may be used with Smart Contracts.</li>
166
+ </ul>
167
+ <p>Additionally, permissions may be applied to a specific account or set as
168
+ default permissions on some the following resources:</p>
169
+ <ul>
170
+ <li>Network Account: <code>ACCESS</code>, <code>STORAGE_CREATE</code>, <code>TOKEN_ADMIN_CREATE</code></li>
171
+ <li>Token Accounts: <code>ACCESS</code></li>
172
+ <li>Storage Accounts: <code>ACCESS</code>, <code>STORAGE_CAN_HOLD</code>, <code>STORAGE_DEPOSIT</code></li>
173
+ </ul>
174
+ <p>Setting default permissions is done with the <a href="../classes/KeetaNetSDK.UserClient.html#setinfo" class="tsd-kind-method">UserClient.setInfo</a>
175
+ method. Setting permission on an account are set with the
176
+ <a href="../classes/KeetaNetSDK.UserClient.html#updatepermissions" class="tsd-kind-method">UserClient.updatePermissions</a> method.</p>
177
+ <h4 id="base-permissions" class="tsd-anchor-link">Base Permissions<a href="#base-permissions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h4><p>The base permissions are defined by the network and are used to control access
178
+ to the network. Each base permission has a <a href="../enums/KeetaNetSDK.Referenced.BaseFlag.html" class="tsd-kind-enum">flag name</a>
179
+ which can be used to identify the permission. The base permissions are:</p>
180
+ <ul>
181
+ <li><code>ACCESS</code> - The permission to access the resource it is granted on -- if this
182
+ permission is missing then no access to the resource is granted, this is
183
+ useful as to create deny-list or permit-list resources.</li>
184
+ <li><code>ADMIN</code> - The <code>ADMIN</code> permission allows the <code>principal</code> to perform all actions
185
+ on the resource, excluding deleting the resource and transferring ownership.
186
+ For example, administrators of Token resources can mint and burn tokens and
187
+ set the permissions of the token.</li>
188
+ <li><code>OWNER</code> - The owner permission grants all the privileges of the <code>ADMIN</code>
189
+ permission but also the ability to delete the resource and transfer
190
+ ownership. All resources have exactly 1 owner.</li>
191
+ <li><code>UPDATE_INFO</code> - The update info permission allows the <code>principal</code> to update the
192
+ information of the resource. See <a href="../classes/KeetaNetSDK.UserClient.html#setinfo" class="tsd-kind-method">UserClient.setInfo</a>
193
+ for more information on how to set the info.</li>
194
+ <li><code>STORAGE_CREATE</code> - This permission on the network account allows the
195
+ specified account to create storage accounts. As a default permission it
196
+ allows everyone to create storage accounts.</li>
197
+ <li><code>TOKEN_ADMIN_CREATE</code> - This permission on the network account allows the
198
+ specified account to create token accounts. As a default permission it
199
+ allows everyone to create token accounts.</li>
200
+ <li><code>TOKEN_ADMIN_SUPPLY</code> - This permission on a token account allows the specified
201
+ specified account to mint and burn tokens. This is useful for fungible tokens
202
+ where the supply can be changed.</li>
203
+ <li><code>TOKEN_ADMIN_MODIFY_BALANCE</code> - This permission on a token account allows the
204
+ specified specified account to modify the balance of holders of this token's
205
+ balance.</li>
206
+ <li><code>STORAGE_DEPOSIT</code> - This permission on a storage account allows the specified
207
+ specified account to deposit the specified tokens into the storage account.</li>
208
+ <li><code>STORAGE_CAN_HOLD</code> - This permission on a storage account allows the specified
209
+ specified account to hold the specified token in the storage account.</li>
210
+ <li><code>SEND_ON_BEHALF</code> - This permission of an account allows the specified principal
211
+ account to send the specified token on behalf of the account. This is useful for
212
+ shared accounts where multiple accounts can send on behalf of the account.
213
+ To use this feature see the <a href="../interfaces/KeetaNetSDK.Referenced.UserClientConfig.html#signer" class="tsd-kind-property">signer</a> option
214
+ to specify a different signatory for the transaction from the specified
215
+ <a href="../interfaces/KeetaNetSDK.Referenced.UserClientConfig.html#account" class="tsd-kind-property">account</a>.</li>
216
+ <li><code>PERMISSION_DELEGATE_ADD</code> - This permission grants a subset of the abilities
217
+ of the current account to some other account. Must be used with
218
+ <a href="../enums/KeetaNetSDK.Referenced.AdjustMethod.html#add" class="tsd-kind-enum-member">AdjustMethod.ADD</a>.</li>
219
+ <li><code>PERMISSION_DELEGATE_REMOVE</code> - This permission revokes a subset of the abilities
220
+ that have been delegated. Must be used with <a href="../enums/KeetaNetSDK.Referenced.AdjustMethod.html#subtract" class="tsd-kind-enum-member">AdjustMethod.SUBTRACT</a></li>
221
+ </ul>
222
+ <h3 id="clients" class="tsd-anchor-link">Clients<a href="#clients" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p><a href="../classes/KeetaNetSDK.UserClient.html" class="tsd-kind-class">Clients</a> in the KeetaNet SDK are the ways in
223
+ which applications primarily interact with the KeetaNet network. There are
224
+ two different clients supported:</p>
225
+ <ul>
226
+ <li><a href="../classes/KeetaNetSDK.UserClient.html" class="tsd-kind-class">UserClient</a> is the main client which is used to
227
+ interact with the network. It is used to send transactions, query the ledger,
228
+ and perform other operations through the <a href="../classes/KeetaNetSDK.Referenced.UserClientBuilder.html" class="tsd-kind-class">UserClientBuilder</a>.</li>
229
+ <li><a href="../classes/KeetaNetSDK.Client.html" class="tsd-kind-class">Client</a> is a lower level client which is used to
230
+ by the <a href="../classes/KeetaNetSDK.UserClient.html" class="tsd-kind-class">UserClient</a> to interact with the
231
+ network.</li>
232
+ </ul>
233
+ <h2 id="usage" class="tsd-anchor-link">Usage<a href="#usage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h2><p>The KeetaNet SDK is designed to be used in a variety of environments, including
234
+ NodeJS, the browser, and other JavaScript environments. It has TypeScript
235
+ type definitions.</p>
236
+ <h3 id="nodejs" class="tsd-anchor-link">NodeJS<a href="#nodejs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p>The KeetaNet SDK can be used in NodeJS by importing the package:</p>
237
+ <pre><code class="javascript"><span class="hl-3">import</span><span class="hl-1"> </span><span class="hl-4">*</span><span class="hl-1"> </span><span class="hl-3">as</span><span class="hl-1"> </span><span class="hl-5">KeetaNet</span><span class="hl-1"> </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">&#39;@keetanetwork/keetanet-client&#39;</span><span class="hl-1">;</span>
238
+ </code><button type="button">Copy</button></pre>
239
+
240
+ <p>From there, the SDK can be used to create a <a href="../classes/KeetaNetSDK.UserClient.html" class="tsd-kind-class">UserClient</a> and
241
+ interact with the KeetaNet network. See the <a href="../classes/KeetaNetSDK.UserClient.html" class="tsd-kind-class">UserClient</a>
242
+ documentation for more information on how to use the client.</p>
243
+ <p>Many other functions needed to support usage of the SDK are also in the
244
+ <code>@keetanetwork/keetanet-client</code> package, such as the <a href="../classes/KeetaNetSDK.Referenced.Account.html" class="tsd-kind-class">Account</a>
245
+ class, which is used to represent key pairs and identifiers, and the
246
+ <a href="../classes/KeetaNetSDK.Referenced.Block.html" class="tsd-kind-class">Block</a> class, which is used to represent
247
+ blocks on the ledger -- these are all imported with the <code>KeetaNet</code> import
248
+ and accessed with the <a href="../variables/KeetaNetSDK.lib.html" class="tsd-kind-variable"> KeetaNetSDK.lib</a> namespace.</p>
249
+ <h3 id="browser" class="tsd-anchor-link">Browser<a href="#browser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p>The KeetaNet SDK can be used in the browser by including the script tag:</p>
250
+ <pre><code class="html"><span class="hl-6">&lt;</span><span class="hl-7">script</span><span class="hl-8"> </span><span class="hl-9">src</span><span class="hl-8">=</span><span class="hl-10">&quot;https://static.test.keeta.com/keetanet-browser.js&quot;</span><span class="hl-6">&gt;&lt;/</span><span class="hl-7">script</span><span class="hl-6">&gt;</span>
251
+ </code><button type="button">Copy</button></pre>
252
+
253
+ <p>The KeetaNet SDK can then be accessed using the <code>KeetaNet</code> global variable.</p>
254
+ <h2 id="examples" class="tsd-anchor-link">Examples<a href="#examples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h2><h3 id="basic-usage-nodejs" class="tsd-anchor-link">Basic usage (NodeJS)<a href="#basic-usage-nodejs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p>The <a href="../classes/KeetaNetSDK.UserClient.html" class="tsd-kind-class"> KeetaNetSDK.UserClient</a> is the main entry point to interact with
255
+ the KeetaNet network. It is initialized with a network name and an account
256
+ using the <a href="../classes/KeetaNetSDK.UserClient.html#fromnetwork" class="tsd-kind-method"> KeetaNetSDK.UserClient.fromNetwork</a> constructor.</p>
257
+ <pre><code class="javascript"><span class="hl-3">import</span><span class="hl-1"> </span><span class="hl-4">*</span><span class="hl-1"> </span><span class="hl-3">as</span><span class="hl-1"> </span><span class="hl-5">KeetaNet</span><span class="hl-1"> </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">&#39;@keetanetwork/keetanet-client&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-11">seed</span><span class="hl-1"> = </span><span class="hl-5">KeetaNet</span><span class="hl-1">.</span><span class="hl-5">lib</span><span class="hl-1">.</span><span class="hl-5">Account</span><span class="hl-1">.</span><span class="hl-0">generateRandomSeed</span><span class="hl-1">({ </span><span class="hl-5">asString:</span><span class="hl-1"> </span><span class="hl-4">true</span><span class="hl-1"> });</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-11">account</span><span class="hl-1"> = </span><span class="hl-5">KeetaNet</span><span class="hl-1">.</span><span class="hl-5">lib</span><span class="hl-1">.</span><span class="hl-5">Account</span><span class="hl-1">.</span><span class="hl-0">fromSeed</span><span class="hl-1">(</span><span class="hl-5">seed</span><span class="hl-1">, </span><span class="hl-12">0</span><span class="hl-1">);</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-11">client</span><span class="hl-1"> = </span><span class="hl-5">KeetaNet</span><span class="hl-1">.</span><span class="hl-5">UserClient</span><span class="hl-1">.</span><span class="hl-0">fromNetwork</span><span class="hl-1">(</span><span class="hl-2">&#39;test&#39;</span><span class="hl-1">, </span><span class="hl-5">account</span><span class="hl-1">);</span><br/><br/><span class="hl-4">async</span><span class="hl-1"> </span><span class="hl-4">function</span><span class="hl-1"> </span><span class="hl-0">main</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-5">console</span><span class="hl-1">.</span><span class="hl-0">debug</span><span class="hl-1">(</span><span class="hl-3">await</span><span class="hl-1"> </span><span class="hl-5">client</span><span class="hl-1">.</span><span class="hl-0">chain</span><span class="hl-1">());</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-0">main</span><span class="hl-1">().</span><span class="hl-0">then</span><span class="hl-1">(</span><span class="hl-4">function</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-5">process</span><span class="hl-1">.</span><span class="hl-0">exit</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><span class="hl-1">}, </span><span class="hl-4">function</span><span class="hl-1">(</span><span class="hl-5">error</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-5">console</span><span class="hl-1">.</span><span class="hl-0">error</span><span class="hl-1">(</span><span class="hl-5">error</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-5">process</span><span class="hl-1">.</span><span class="hl-0">exit</span><span class="hl-1">(</span><span class="hl-12">1</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
258
+ </code><button type="button">Copy</button></pre>
259
+
260
+ <h3 id="basic-usage-browser" class="tsd-anchor-link">Basic usage (Browser)<a href="#basic-usage-browser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><p>The SDK can be loaded in the browser with a script tag:</p>
261
+ <pre><code class="html"><span class="hl-6">&lt;</span><span class="hl-7">html</span><span class="hl-6">&gt;</span><br/><span class="hl-1"> </span><span class="hl-6">&lt;</span><span class="hl-7">head</span><span class="hl-6">&gt;</span><br/><span class="hl-1"> </span><span class="hl-6">&lt;</span><span class="hl-7">script</span><span class="hl-8"> </span><span class="hl-9">src</span><span class="hl-8">=</span><span class="hl-10">&quot;https://static.test.keeta.com/keetanet-browser.js&quot;</span><span class="hl-6">&gt;&lt;/</span><span class="hl-7">script</span><span class="hl-6">&gt;</span><br/><span class="hl-1"> </span><span class="hl-6">&lt;/</span><span class="hl-7">head</span><span class="hl-6">&gt;</span><br/><span class="hl-1"> </span><span class="hl-6">&lt;</span><span class="hl-7">body</span><span class="hl-6">&gt;</span><br/><span class="hl-1"> </span><span class="hl-6">&lt;</span><span class="hl-7">script</span><span class="hl-6">&gt;</span><br/><span class="hl-8"> </span><span class="hl-4">const</span><span class="hl-8"> </span><span class="hl-11">seed</span><span class="hl-8"> </span><span class="hl-1">=</span><span class="hl-8"> </span><span class="hl-5">KeetaNet</span><span class="hl-8">.</span><span class="hl-5">lib</span><span class="hl-8">.</span><span class="hl-5">Account</span><span class="hl-8">.</span><span class="hl-0">generateRandomSeed</span><span class="hl-8">({ </span><span class="hl-5">asString:</span><span class="hl-8"> </span><span class="hl-4">true</span><span class="hl-8"> });</span><br/><span class="hl-8"> </span><span class="hl-4">const</span><span class="hl-8"> </span><span class="hl-11">account</span><span class="hl-8"> </span><span class="hl-1">=</span><span class="hl-8"> </span><span class="hl-5">KeetaNet</span><span class="hl-8">.</span><span class="hl-5">lib</span><span class="hl-8">.</span><span class="hl-5">Account</span><span class="hl-8">.</span><span class="hl-0">fromSeed</span><span class="hl-8">(</span><span class="hl-5">seed</span><span class="hl-8">, </span><span class="hl-12">0</span><span class="hl-8">);</span><br/><span class="hl-8"> </span><span class="hl-4">const</span><span class="hl-8"> </span><span class="hl-11">client</span><span class="hl-8"> </span><span class="hl-1">=</span><span class="hl-8"> </span><span class="hl-5">KeetaNet</span><span class="hl-8">.</span><span class="hl-5">UserClient</span><span class="hl-8">.</span><span class="hl-0">fromNetwork</span><span class="hl-8">(</span><span class="hl-2">&#39;test&#39;</span><span class="hl-8">, </span><span class="hl-5">account</span><span class="hl-8">);</span><br/><br/><span class="hl-8"> </span><span class="hl-5">client</span><span class="hl-8">.</span><span class="hl-0">chain</span><span class="hl-8">().</span><span class="hl-0">then</span><span class="hl-8">(</span><span class="hl-5">console</span><span class="hl-8">.</span><span class="hl-5">debug</span><span class="hl-8">);</span><br/><span class="hl-8"> </span><span class="hl-6">&lt;/</span><span class="hl-7">script</span><span class="hl-6">&gt;</span><br/><span class="hl-1"> </span><span class="hl-6">&lt;/</span><span class="hl-7">body</span><span class="hl-6">&gt;</span><br/><span class="hl-6">&lt;/</span><span class="hl-7">html</span><span class="hl-6">&gt;</span>
262
+ </code><button type="button">Copy</button></pre>
263
+
264
+ <h3 id="full-examples" class="tsd-anchor-link">Full examples<a href="#full-examples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><ul>
265
+ <li><a href="../media/index.js">Basic Example</a></li>
266
+ <li><a href="../media/index-1.js">Real World Assets with NFT</a></li>
267
+ </ul>
268
+ </div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h3>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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#keetanet-client-sdk-getting-started"><span>Keeta<wbr/>Net <wbr/>Client <wbr/>SDK <wbr/>Getting <wbr/>Started</span></a><ul><li><a href="#installation"><span>Installation</span></a></li><li><a href="#concepts"><span>Concepts</span></a></li><li><ul><li><a href="#accounts"><span>Accounts</span></a></li><li><a href="#blocks"><span>Blocks</span></a></li><li><a href="#operations"><span>Operations</span></a></li><li><a href="#votes"><span>Votes</span></a></li><li><a href="#vote-staples"><span>Vote <wbr/>Staples</span></a></li><li><a href="#networks"><span>Networks</span></a></li><li><a href="#tokens"><span>Tokens</span></a></li><li><a href="#ledger"><span>Ledger</span></a></li><li><ul><li><a href="#the-ledger-state"><span>The ledger state</span></a></li><li><a href="#the-ledger-history"><span>The ledger history</span></a></li></ul></li><li><a href="#permissions"><span>Permissions</span></a></li><li><ul><li><a href="#base-permissions"><span>Base <wbr/>Permissions</span></a></li></ul></li><li><a href="#clients"><span>Clients</span></a></li></ul></li><li><a href="#usage"><span>Usage</span></a></li><li><ul><li><a href="#nodejs"><span>Node<wbr/>JS</span></a></li><li><a href="#browser"><span>Browser</span></a></li></ul></li><li><a href="#examples"><span>Examples</span></a></li><li><ul><li><a href="#basic-usage-nodejs"><span>Basic usage (<wbr/>Node<wbr/>JS)</span></a></li><li><a href="#basic-usage-browser"><span>Basic usage (<wbr/>Browser)</span></a></li><li><a href="#full-examples"><span>Full examples</span></a></li></ul></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@keetanetwork/keetanet-client</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">KeetaSDK Documentation</p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,9 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AccountKeyAlgorithm | @keetanetwork/keetanet-client</title><meta name="description" content="Documentation for @keetanetwork/keetanet-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script><link rel="stylesheet" href="../assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title"><img src="../assets/logo-keeta-light.svg" alt="Keeta Logo" class="keeta-logo-light" width="50" height="20"/><img src="../assets/logo-keeta-dark.svg" alt="Keeta Logo" class="keeta-logo-dark" width="50" height="20"/>@keetanetwork/keetanet-client</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.9421 17.0578L14.0304 13.1469C15.1642 11.7857 15.7295 10.0398 15.6089 8.27245C15.4882 6.50506 14.6908 4.85223 13.3825 3.65779C12.0743 2.46335 10.3559 1.81926 8.58486 1.85951C6.81382 1.89976 5.12647 2.62125 3.87383 3.87389C2.62118 5.12653 1.89969 6.81388 1.85944 8.58493C1.8192 10.356 2.46328 12.0744 3.65772 13.3826C4.85217 14.6909 6.50499 15.4883 8.27238 15.6089C10.0398 15.7296 11.7856 15.1642 13.1468 14.0305L17.0577 17.9422C17.1158 18.0003 17.1848 18.0463 17.2606 18.0777C17.3365 18.1092 17.4178 18.1253 17.4999 18.1253C17.5821 18.1253 17.6634 18.1092 17.7392 18.0777C17.8151 18.0463 17.8841 18.0003 17.9421 17.9422C18.0002 17.8841 18.0463 17.8152 18.0777 17.7393C18.1091 17.6634 18.1253 17.5821 18.1253 17.5C18.1253 17.4179 18.1091 17.3366 18.0777 17.2607C18.0463 17.1848 18.0002 17.1159 17.9421 17.0578ZM3.12493 8.75C3.12493 7.63748 3.45483 6.54994 4.07292 5.62492C4.691 4.69989 5.56951 3.97892 6.59734 3.55318C7.62517 3.12743 8.75617 3.01604 9.84732 3.23308C10.9385 3.45012 11.9407 3.98585 12.7274 4.77252C13.5141 5.55919 14.0498 6.56147 14.2669 7.65262C14.4839 8.74376 14.3725 9.87476 13.9468 10.9026C13.521 11.9304 12.8 12.8089 11.875 13.427C10.95 14.0451 9.86245 14.375 8.74993 14.375C7.2586 14.3733 5.82882 13.7802 4.77429 12.7256C3.71975 11.6711 3.12659 10.2413 3.12493 8.75Z" fill="var(--color-icon-text)"></path></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/KeetaNetSDK.html">KeetaNetSDK</a></li><li><a href="../modules/KeetaNetSDK.Referenced.html">Referenced</a></li><li><a href="" aria-current="page">AccountKeyAlgorithm</a></li></ul><h1>Enumeration AccountKeyAlgorithm</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Account key algorithms specify how the key should be used for validation,
2
+ signing, and encoding.</p>
3
+ </div><div class="tsd-comment tsd-typography"></div></section><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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">References</h3><div class="tsd-index-list"><a href="#ecdsa_secp256k1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>ECDSA_<wbr/>SECP256<wbr/>K1</span></a>
4
+ <a href="#ecdsa_secp256r1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>ECDSA_<wbr/>SECP256<wbr/>R1</span></a>
5
+ <a href="#ed25519" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>ED25519</span></a>
6
+ <a href="#network" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>NETWORK</span></a>
7
+ <a href="#storage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>STORAGE</span></a>
8
+ <a href="#token" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>TOKEN</span></a>
9
+ </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-References"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h2>References</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ecdsa_secp256k1"><span>ECDSA_<wbr/>SECP256<wbr/>K1</span><a href="#ecdsa_secp256k1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">ECDSA_SECP256K1</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ecdsa_secp256r1"><span>ECDSA_<wbr/>SECP256<wbr/>R1</span><a href="#ecdsa_secp256r1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">ECDSA_SECP256R1</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ed25519"><span>ED25519</span><a href="#ed25519" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">ED25519</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="network"><span>NETWORK</span><a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">NETWORK</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="storage"><span>STORAGE</span><a href="#storage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">STORAGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="token"><span>TOKEN</span><a href="#token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">TOKEN</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div></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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h3>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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h3>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="section-References"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg>References</summary><div><a href="#ecdsa_secp256k1"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>ECDSA_<wbr/>SECP256<wbr/>K1</span></a><a href="#ecdsa_secp256r1"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>ECDSA_<wbr/>SECP256<wbr/>R1</span></a><a href="#ed25519"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>ED25519</span></a><a href="#network"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>NETWORK</span></a><a href="#storage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>STORAGE</span></a><a href="#token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Reference" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">R</text></svg><span>TOKEN</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@keetanetwork/keetanet-client</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">KeetaSDK Documentation</p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,4 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AdjustMethod | @keetanetwork/keetanet-client</title><meta name="description" content="Documentation for @keetanetwork/keetanet-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script><link rel="stylesheet" href="../assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title"><img src="../assets/logo-keeta-light.svg" alt="Keeta Logo" class="keeta-logo-light" width="50" height="20"/><img src="../assets/logo-keeta-dark.svg" alt="Keeta Logo" class="keeta-logo-dark" width="50" height="20"/>@keetanetwork/keetanet-client</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.9421 17.0578L14.0304 13.1469C15.1642 11.7857 15.7295 10.0398 15.6089 8.27245C15.4882 6.50506 14.6908 4.85223 13.3825 3.65779C12.0743 2.46335 10.3559 1.81926 8.58486 1.85951C6.81382 1.89976 5.12647 2.62125 3.87383 3.87389C2.62118 5.12653 1.89969 6.81388 1.85944 8.58493C1.8192 10.356 2.46328 12.0744 3.65772 13.3826C4.85217 14.6909 6.50499 15.4883 8.27238 15.6089C10.0398 15.7296 11.7856 15.1642 13.1468 14.0305L17.0577 17.9422C17.1158 18.0003 17.1848 18.0463 17.2606 18.0777C17.3365 18.1092 17.4178 18.1253 17.4999 18.1253C17.5821 18.1253 17.6634 18.1092 17.7392 18.0777C17.8151 18.0463 17.8841 18.0003 17.9421 17.9422C18.0002 17.8841 18.0463 17.8152 18.0777 17.7393C18.1091 17.6634 18.1253 17.5821 18.1253 17.5C18.1253 17.4179 18.1091 17.3366 18.0777 17.2607C18.0463 17.1848 18.0002 17.1159 17.9421 17.0578ZM3.12493 8.75C3.12493 7.63748 3.45483 6.54994 4.07292 5.62492C4.691 4.69989 5.56951 3.97892 6.59734 3.55318C7.62517 3.12743 8.75617 3.01604 9.84732 3.23308C10.9385 3.45012 11.9407 3.98585 12.7274 4.77252C13.5141 5.55919 14.0498 6.56147 14.2669 7.65262C14.4839 8.74376 14.3725 9.87476 13.9468 10.9026C13.521 11.9304 12.8 12.8089 11.875 13.427C10.95 14.0451 9.86245 14.375 8.74993 14.375C7.2586 14.3733 5.82882 13.7802 4.77429 12.7256C3.71975 11.6711 3.12659 10.2413 3.12493 8.75Z" fill="var(--color-icon-text)"></path></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/KeetaNetSDK.html">KeetaNetSDK</a></li><li><a href="../modules/KeetaNetSDK.Referenced.html">Referenced</a></li><li><a href="" aria-current="page">AdjustMethod</a></li></ul><h1>Enumeration AdjustMethod</h1></div><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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Enumeration Members</h3><div class="tsd-index-list"><a href="#add" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">P</text></svg><span>ADD</span></a>
2
+ <a href="#set" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">P</text></svg><span>SET</span></a>
3
+ <a href="#subtract" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">P</text></svg><span>SUBTRACT</span></a>
4
+ </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-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h2>Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="add"><span>ADD</span><a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">ADD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set"><span>SET</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">SET</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="subtract"><span>SUBTRACT</span><a href="#subtract" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">SUBTRACT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div></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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h3>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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg><h3>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="section-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></svg>Enumeration Members</summary><div><a href="#add"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">P</text></svg><span>ADD</span></a><a href="#set"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">P</text></svg><span>SET</span></a><a href="#subtract"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member" stroke="black"><rect fill="var(--color-icon-background)" stroke="black" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle" stroke-width="0">P</text></svg><span>SUBTRACT</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@keetanetwork/keetanet-client</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">KeetaSDK Documentation</p></footer><div class="overlay"></div></body></html>