@odatano/core 2.0.0-rc.5 → 2.0.0-rc.51

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 (239) hide show
  1. package/@cds-models/CardanoAgentService/index.d.ts +99 -51
  2. package/@cds-models/CardanoAgentService/index.js +15 -0
  3. package/@cds-models/CardanoBackendService/index.d.ts +358 -0
  4. package/@cds-models/CardanoBackendService/index.js +41 -0
  5. package/@cds-models/CardanoIndexerService/index.d.ts +594 -11
  6. package/@cds-models/CardanoIndexerService/index.js +74 -0
  7. package/@cds-models/CardanoODataService/index.d.ts +417 -57
  8. package/@cds-models/CardanoODataService/index.js +42 -0
  9. package/@cds-models/CardanoSignService/index.d.ts +45 -19
  10. package/@cds-models/CardanoSignService/index.js +4 -0
  11. package/@cds-models/CardanoTransactionService/index.d.ts +70 -44
  12. package/@cds-models/CardanoTransactionService/index.js +5 -0
  13. package/@cds-models/CardanoWorkerService/index.d.ts +35 -22
  14. package/@cds-models/CardanoWorkerService/index.js +2 -0
  15. package/@cds-models/index.d.ts +114 -4
  16. package/@cds-models/index.js +20 -4
  17. package/@cds-models/odatano/cardano/index.d.ts +451 -32
  18. package/@cds-models/odatano/cardano/index.js +48 -0
  19. package/README.md +103 -167
  20. package/db/schema.cds +2455 -1705
  21. package/db/types.cds +456 -295
  22. package/package.json +41 -53
  23. package/scripts/deploy-schema.mjs +113 -0
  24. package/scripts/migrate-schema.mjs +528 -0
  25. package/scripts/migrate-slot-leader.mjs +96 -0
  26. package/src/index.d.ts +20 -21
  27. package/src/index.js +45 -31
  28. package/src/plugin.js +17 -35
  29. package/srv/blockchain/asset-decimals.d.ts +7 -0
  30. package/srv/blockchain/asset-decimals.js +91 -0
  31. package/srv/blockchain/backends/blockfrost-backend.d.ts +25 -137
  32. package/srv/blockchain/backends/blockfrost-backend.js +125 -215
  33. package/srv/blockchain/backends/call-signal.d.ts +7 -0
  34. package/srv/blockchain/backends/call-signal.js +22 -0
  35. package/srv/blockchain/backends/cardano-backend.d.ts +100 -189
  36. package/srv/blockchain/backends/cardano-backend.js +29 -5
  37. package/srv/blockchain/backends/koios-backend.d.ts +108 -170
  38. package/srv/blockchain/backends/koios-backend.js +488 -482
  39. package/srv/blockchain/backends/odatano-backend.d.ts +55 -0
  40. package/srv/blockchain/backends/odatano-backend.js +211 -0
  41. package/srv/blockchain/backends/ogmios-backend.d.ts +122 -190
  42. package/srv/blockchain/backends/ogmios-backend.js +683 -327
  43. package/srv/blockchain/backends/ogmios-frame-guard.d.ts +14 -0
  44. package/srv/blockchain/backends/ogmios-frame-guard.js +89 -0
  45. package/srv/blockchain/cardano-client.d.ts +71 -241
  46. package/srv/blockchain/cardano-client.js +354 -322
  47. package/srv/blockchain/cardano-indexer.d.ts +295 -283
  48. package/srv/blockchain/cardano-indexer.js +1690 -502
  49. package/srv/blockchain/cardano-tx-builder.d.ts +25 -89
  50. package/srv/blockchain/cardano-tx-builder.js +164 -140
  51. package/srv/blockchain/circuit-breaker.d.ts +2 -13
  52. package/srv/blockchain/circuit-breaker.js +11 -15
  53. package/srv/blockchain/crawler/account-snapshots.d.ts +29 -0
  54. package/srv/blockchain/crawler/account-snapshots.js +173 -0
  55. package/srv/blockchain/crawler/asset-decimals-backfill.d.ts +17 -0
  56. package/srv/blockchain/crawler/asset-decimals-backfill.js +56 -0
  57. package/srv/blockchain/crawler/asset-registry-backfill.d.ts +46 -0
  58. package/srv/blockchain/crawler/asset-registry-backfill.js +157 -0
  59. package/srv/blockchain/crawler/asset-slice-backfill.d.ts +35 -0
  60. package/srv/blockchain/crawler/asset-slice-backfill.js +149 -0
  61. package/srv/blockchain/crawler/certificate-backfill.d.ts +56 -0
  62. package/srv/blockchain/crawler/certificate-backfill.js +174 -0
  63. package/srv/blockchain/crawler/crawler.d.ts +125 -81
  64. package/srv/blockchain/crawler/crawler.js +738 -167
  65. package/srv/blockchain/crawler/credential-backfill.d.ts +30 -0
  66. package/srv/blockchain/crawler/credential-backfill.js +101 -0
  67. package/srv/blockchain/crawler/hooks.d.ts +2 -17
  68. package/srv/blockchain/crawler/index.d.ts +1 -8
  69. package/srv/blockchain/crawler/index.js +31 -17
  70. package/srv/blockchain/crawler/input-asset-copies.d.ts +34 -0
  71. package/srv/blockchain/crawler/input-asset-copies.js +161 -0
  72. package/srv/blockchain/crawler/key-pages.d.ts +12 -0
  73. package/srv/blockchain/crawler/key-pages.js +48 -0
  74. package/srv/blockchain/crawler/metadata-position-backfill.d.ts +22 -0
  75. package/srv/blockchain/crawler/metadata-position-backfill.js +59 -0
  76. package/srv/blockchain/crawler/output-datum-backfill.d.ts +41 -0
  77. package/srv/blockchain/crawler/output-datum-backfill.js +100 -0
  78. package/srv/blockchain/crawler/sync-state.d.ts +31 -47
  79. package/srv/blockchain/crawler/sync-state.js +135 -128
  80. package/srv/blockchain/crawler/transaction-backfill.d.ts +46 -0
  81. package/srv/blockchain/crawler/transaction-backfill.js +271 -0
  82. package/srv/blockchain/crawler/utxo-set-import.d.ts +66 -0
  83. package/srv/blockchain/crawler/utxo-set-import.js +399 -0
  84. package/srv/blockchain/crawler/window-plan.d.ts +31 -0
  85. package/srv/blockchain/crawler/window-plan.js +59 -0
  86. package/srv/blockchain/ledger-state.d.ts +62 -0
  87. package/srv/blockchain/ledger-state.js +521 -0
  88. package/srv/blockchain/pending-spends.d.ts +16 -0
  89. package/srv/blockchain/pending-spends.js +81 -0
  90. package/srv/blockchain/pool-metadata.d.ts +15 -0
  91. package/srv/blockchain/pool-metadata.js +132 -0
  92. package/srv/blockchain/request-coalescer.d.ts +2 -16
  93. package/srv/blockchain/request-coalescer.js +2 -16
  94. package/srv/blockchain/signing/cose-verifier.d.ts +3 -17
  95. package/srv/blockchain/signing/cose-verifier.js +146 -70
  96. package/srv/blockchain/signing/external-signer.d.ts +15 -115
  97. package/srv/blockchain/signing/external-signer.js +22 -131
  98. package/srv/blockchain/signing/failed-recheck.d.ts +17 -0
  99. package/srv/blockchain/signing/failed-recheck.js +135 -0
  100. package/srv/blockchain/signing/hsm-signer.d.ts +10 -54
  101. package/srv/blockchain/signing/hsm-signer.js +28 -79
  102. package/srv/blockchain/signing/landing-proof.d.ts +60 -0
  103. package/srv/blockchain/signing/landing-proof.js +224 -0
  104. package/srv/blockchain/signing/signature-verifier.d.ts +9 -47
  105. package/srv/blockchain/signing/signature-verifier.js +71 -87
  106. package/srv/blockchain/signing/submission-finalizer.d.ts +37 -45
  107. package/srv/blockchain/signing/submission-finalizer.js +280 -86
  108. package/srv/blockchain/stored-chain.d.ts +19 -0
  109. package/srv/blockchain/stored-chain.js +258 -0
  110. package/srv/blockchain/transaction-building/buildooor-tx.d.ts +31 -229
  111. package/srv/blockchain/transaction-building/buildooor-tx.js +663 -421
  112. package/srv/blockchain/transaction-building/cardano-tx.d.ts +9 -37
  113. package/srv/blockchain/transaction-presence.d.ts +12 -0
  114. package/srv/blockchain/transaction-presence.js +29 -0
  115. package/srv/blockchain/transaction-rows.d.ts +12 -0
  116. package/srv/blockchain/transaction-rows.js +44 -0
  117. package/srv/blockchain/wallet-worker/build-request.d.ts +8 -23
  118. package/srv/blockchain/wallet-worker/build-request.js +40 -353
  119. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +27 -47
  120. package/srv/blockchain/wallet-worker/confirmation-tracker.js +158 -61
  121. package/srv/blockchain/wallet-worker/index.d.ts +1 -1
  122. package/srv/blockchain/wallet-worker/index.js +3 -11
  123. package/srv/blockchain/wallet-worker/invalidation.d.ts +35 -0
  124. package/srv/blockchain/wallet-worker/invalidation.js +128 -0
  125. package/srv/blockchain/wallet-worker/job-store.d.ts +58 -150
  126. package/srv/blockchain/wallet-worker/job-store.js +200 -273
  127. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +2 -26
  128. package/srv/blockchain/wallet-worker/lease-heartbeat.js +6 -28
  129. package/srv/blockchain/wallet-worker/signers.d.ts +5 -24
  130. package/srv/blockchain/wallet-worker/signers.js +4 -12
  131. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +29 -82
  132. package/srv/blockchain/wallet-worker/wallet-worker.js +334 -198
  133. package/srv/cardano-agent-service.cds +122 -84
  134. package/srv/cardano-agent-service.js +12 -9
  135. package/srv/cardano-backend-service.cds +81 -0
  136. package/srv/cardano-backend-service.d.ts +2 -0
  137. package/srv/cardano-backend-service.js +259 -0
  138. package/srv/cardano-indexer-service.cds +393 -18
  139. package/srv/cardano-indexer-service.d.ts +5 -1
  140. package/srv/cardano-indexer-service.js +477 -16
  141. package/srv/cardano-service.cds +426 -269
  142. package/srv/cardano-service.js +640 -217
  143. package/srv/cardano-sign-service.cds +211 -180
  144. package/srv/cardano-sign-service.js +210 -287
  145. package/srv/cardano-tx-service.cds +462 -370
  146. package/srv/cardano-tx-service.js +283 -800
  147. package/srv/cardano-ui.cds +16 -16
  148. package/srv/cardano-worker-service.cds +141 -125
  149. package/srv/cardano-worker-service.js +104 -61
  150. package/srv/cbor/cip68.d.ts +13 -0
  151. package/srv/cbor/cip68.js +56 -0
  152. package/srv/cbor/index.d.ts +3 -1
  153. package/srv/cbor/index.js +9 -1
  154. package/srv/cbor/parse.d.ts +30 -18
  155. package/srv/cbor/parse.js +44 -9
  156. package/srv/cbor/plutus-data-json.d.ts +20 -0
  157. package/srv/cbor/plutus-data-json.js +32 -0
  158. package/srv/config.d.ts +117 -0
  159. package/srv/config.js +419 -0
  160. package/srv/server.d.ts +15 -110
  161. package/srv/server.js +83 -405
  162. package/srv/utils/agent-access.d.ts +11 -0
  163. package/srv/utils/agent-access.js +86 -0
  164. package/srv/utils/agent-grants-config.d.ts +0 -46
  165. package/srv/utils/agent-grants-config.js +17 -85
  166. package/srv/utils/agent-grants.d.ts +106 -122
  167. package/srv/utils/agent-grants.js +538 -237
  168. package/srv/utils/agent-token-auth.d.ts +4 -99
  169. package/srv/utils/agent-token-auth.js +62 -186
  170. package/srv/utils/backend-request-handler.d.ts +3 -17
  171. package/srv/utils/backend-request-handler.js +3 -18
  172. package/srv/utils/build-request.d.ts +52 -0
  173. package/srv/utils/build-request.js +487 -0
  174. package/srv/utils/collections.d.ts +4 -10
  175. package/srv/utils/collections.js +14 -10
  176. package/srv/utils/const.d.ts +32 -75
  177. package/srv/utils/const.js +40 -80
  178. package/srv/utils/crypto.d.ts +3 -12
  179. package/srv/utils/crypto.js +11 -25
  180. package/srv/utils/db-indexes.d.ts +31 -0
  181. package/srv/utils/db-indexes.js +185 -0
  182. package/srv/utils/db-kind.d.ts +23 -0
  183. package/srv/utils/db-kind.js +42 -0
  184. package/srv/utils/db-sanitize.d.ts +20 -0
  185. package/srv/utils/db-sanitize.js +80 -0
  186. package/srv/utils/deep-json.d.ts +6 -0
  187. package/srv/utils/deep-json.js +240 -0
  188. package/srv/utils/detached-run.d.ts +41 -0
  189. package/srv/utils/detached-run.js +101 -0
  190. package/srv/utils/epoch-slots.d.ts +14 -0
  191. package/srv/utils/epoch-slots.js +45 -0
  192. package/srv/utils/error-codes.d.ts +26 -75
  193. package/srv/utils/error-codes.js +27 -72
  194. package/srv/utils/errors.d.ts +55 -187
  195. package/srv/utils/errors.js +161 -235
  196. package/srv/utils/lease.d.ts +20 -0
  197. package/srv/utils/lease.js +62 -0
  198. package/srv/utils/liveness.d.ts +12 -0
  199. package/srv/utils/liveness.js +35 -0
  200. package/srv/utils/mappers.d.ts +111 -223
  201. package/srv/utils/mappers.js +432 -371
  202. package/srv/utils/navigation.d.ts +17 -0
  203. package/srv/utils/navigation.js +52 -0
  204. package/srv/utils/network-context.d.ts +0 -1
  205. package/srv/utils/network-context.js +9 -15
  206. package/srv/utils/paging.d.ts +31 -0
  207. package/srv/utils/paging.js +43 -0
  208. package/srv/utils/pg-inline-json.d.ts +8 -0
  209. package/srv/utils/pg-inline-json.js +58 -0
  210. package/srv/utils/pg-order-nulls.d.ts +14 -0
  211. package/srv/utils/pg-order-nulls.js +54 -0
  212. package/srv/utils/plutus-placeholders.d.ts +16 -22
  213. package/srv/utils/plutus-placeholders.js +62 -33
  214. package/srv/utils/rate-limiter.d.ts +2 -21
  215. package/srv/utils/rate-limiter.js +5 -17
  216. package/srv/utils/readiness.d.ts +12 -0
  217. package/srv/utils/readiness.js +29 -0
  218. package/srv/utils/reference-script.d.ts +19 -0
  219. package/srv/utils/reference-script.js +84 -0
  220. package/srv/utils/resolution.d.ts +13 -0
  221. package/srv/utils/resolution.js +47 -0
  222. package/srv/utils/result-numbers.d.ts +15 -0
  223. package/srv/utils/result-numbers.js +61 -0
  224. package/srv/utils/row-values.d.ts +7 -0
  225. package/srv/utils/row-values.js +27 -0
  226. package/srv/utils/service-events.d.ts +0 -24
  227. package/srv/utils/service-events.js +3 -25
  228. package/srv/utils/signing-helper.d.ts +3 -20
  229. package/srv/utils/signing-helper.js +35 -64
  230. package/srv/utils/tx-build-helper.d.ts +25 -105
  231. package/srv/utils/tx-build-helper.js +108 -156
  232. package/srv/utils/tx-request-parsers.d.ts +82 -33
  233. package/srv/utils/tx-request-parsers.js +401 -49
  234. package/srv/utils/tx-utils.d.ts +3 -27
  235. package/srv/utils/tx-utils.js +32 -50
  236. package/srv/utils/types.d.ts +294 -232
  237. package/srv/utils/types.js +2 -22
  238. package/srv/utils/validators.d.ts +22 -92
  239. package/srv/utils/validators.js +60 -170
@@ -1,32 +1,13 @@
1
1
  // This is an automatically generated file. Please do not change its contents manually!
2
2
  import * as __ from './../_';
3
3
 
4
- /**
5
- * Cardano Agent Service (v2.0)
6
- *
7
- * Agent grants: scoped, budgeted bearer capabilities an Admin hands to an agent
8
- * instead of a full user (see AGENT_GRANTS_DESIGN.md).
9
- *
10
- * - CreateAgentGrant / RevokeAgentGrant: Admin-only administration. The token is
11
- * returned ONCE from CreateAgentGrant and stored as SHA-256 only.
12
- * - AgentGrants: Admin-only projection (no token hash). A request carrying a token
13
- * runs as the principal `agent:<grantId>` with the role `agent-grant` and sees
14
- * exactly its own row through the row-level restriction below.
15
- * - GetGrantStatus: token self-service — what am I allowed to do, how much budget
16
- * is left, when do I expire. What an MCP tool needs to describe itself honestly.
17
- *
18
- * A token request never inherits the operator's roles: `@requires: 'Admin'` on the
19
- * two actions, on PauseWorker / ResumeWorker / pauseCrawler / resumeCrawler and on
20
- * every other Admin surface therefore refuses it by construction. The allow list,
21
- * wallet pinning and daily budget are enforced by a before('*') hook on all six
22
- * ODATANO services (srv/utils/agent-grants.ts). The `x-agent-token` header only
23
- * reaches the services when cds.requires.odatano-core.agentGrants.enabled is set
24
- * (srv/utils/agent-token-auth.ts).
25
- */
26
4
  export default class {
27
5
  static readonly GetGrantStatus: typeof GetGrantStatus;
28
6
  static readonly CreateAgentGrant: typeof CreateAgentGrant;
29
7
  static readonly RevokeAgentGrant: typeof RevokeAgentGrant;
8
+ static readonly RotateAgentGrantToken: typeof RotateAgentGrantToken;
9
+ static readonly UpdateAgentGrant: typeof UpdateAgentGrant;
10
+ static readonly GetGrantUsage: typeof GetGrantUsage;
30
11
  }
31
12
 
32
13
  // entity 'AgentGrant'
@@ -36,8 +17,6 @@ export declare function _AgentGrantAspect<TBase extends new (...args: any[]) =>
36
17
  userId?: string
37
18
  agentLabel?: string | null
38
19
  allowedActions?: string
39
- walletId?: string | null
40
- allowedJobKinds?: string | null
41
20
  maxJobsPerDay?: number | null
42
21
  jobsUsedToday?: number | null
43
22
  budgetWindow?: string | null
@@ -52,28 +31,8 @@ export declare function _AgentGrantAspect<TBase extends new (...args: any[]) =>
52
31
  readonly elements: __.ElementsOf<AgentGrant>;
53
32
  readonly actions: globalThis.Record<never, never>;
54
33
  };
55
- /**
56
- * Agent grants (v2.0): scoped bearer capabilities an Admin hands to an agent
57
- * instead of a full user. The token is a capability, not an identity — it is
58
- * stored as SHA-256 only, and a request carrying it runs as the principal
59
- * `agent:<ID>` with the role `agent-grant`, never as the operator. Enforcement
60
- * (allow list, wallet pinning, daily budget) lives in srv/utils/agent-grants.ts;
61
- * the transport lane that admits `x-agent-token` in srv/utils/agent-token-auth.ts.
62
- * Admin-only table: creation and revocation happen through CardanoAgentService
63
- * actions, a token request may read its own row only.
64
- */
65
34
  export class AgentGrant extends _AgentGrantAspect(__.Entity) {
66
35
  }
67
- /**
68
- * Agent grants (v2.0): scoped bearer capabilities an Admin hands to an agent
69
- * instead of a full user. The token is a capability, not an identity — it is
70
- * stored as SHA-256 only, and a request carrying it runs as the principal
71
- * `agent:<ID>` with the role `agent-grant`, never as the operator. Enforcement
72
- * (allow list, wallet pinning, daily budget) lives in srv/utils/agent-grants.ts;
73
- * the transport lane that admits `x-agent-token` in srv/utils/agent-token-auth.ts.
74
- * Admin-only table: creation and revocation happen through CardanoAgentService
75
- * actions, a token request may read its own row only.
76
- */
77
36
  export class AgentGrants extends Array<AgentGrant> {
78
37
  $count?: number
79
38
  }
@@ -84,8 +43,6 @@ export declare function _GrantStatusAspect<TBase extends new (...args: any[]) =>
84
43
  grantId?: string | null
85
44
  agentLabel?: string | null
86
45
  allowedActions?: Array<string>
87
- walletId?: string | null
88
- allowedJobKinds?: Array<string>
89
46
  maxJobsPerDay?: number | null
90
47
  jobsUsedToday?: number | null
91
48
  budgetWindow?: string | null
@@ -106,8 +63,6 @@ export declare function _IssuedGrantAspect<TBase extends new (...args: any[]) =>
106
63
  grantId?: string | null
107
64
  token?: string | null
108
65
  allowedActions?: Array<string>
109
- walletId?: string | null
110
- allowedJobKinds?: Array<string>
111
66
  maxJobsPerDay?: number | null
112
67
  validUntil?: __.CdsTimestamp | null
113
68
  } & InstanceType<TBase>
@@ -119,6 +74,69 @@ export declare function _IssuedGrantAspect<TBase extends new (...args: any[]) =>
119
74
  export class IssuedGrant extends _IssuedGrantAspect(__.Entity) {
120
75
  }
121
76
 
77
+ // entity 'RotatedGrant'
78
+ export declare function _RotatedGrantAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
79
+ new (...args: any[]): {
80
+ grantId?: string | null
81
+ token?: string | null
82
+ } & InstanceType<TBase>
83
+ readonly kind: 'type';
84
+ readonly keys: __.KeysOf<RotatedGrant>;
85
+ readonly elements: __.ElementsOf<RotatedGrant>;
86
+ readonly actions: globalThis.Record<never, never>;
87
+ };
88
+ export class RotatedGrant extends _RotatedGrantAspect(__.Entity) {
89
+ }
90
+
91
+ // entity 'UpdatedGrant'
92
+ export declare function _UpdatedGrantAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
93
+ new (...args: any[]): {
94
+ grantId?: string | null
95
+ updated?: Array<string>
96
+ } & InstanceType<TBase>
97
+ readonly kind: 'type';
98
+ readonly keys: __.KeysOf<UpdatedGrant>;
99
+ readonly elements: __.ElementsOf<UpdatedGrant>;
100
+ readonly actions: globalThis.Record<never, never>;
101
+ };
102
+ export class UpdatedGrant extends _UpdatedGrantAspect(__.Entity) {
103
+ }
104
+
105
+ // entity 'GrantUsageCall'
106
+ export declare function _GrantUsageCallAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
107
+ new (...args: any[]): {
108
+ service?: string | null
109
+ action?: string | null
110
+ count?: number | null
111
+ refunded?: number | null
112
+ } & InstanceType<TBase>
113
+ readonly kind: 'type';
114
+ readonly keys: __.KeysOf<GrantUsageCall>;
115
+ readonly elements: __.ElementsOf<GrantUsageCall>;
116
+ readonly actions: globalThis.Record<never, never>;
117
+ };
118
+ export class GrantUsageCall extends _GrantUsageCallAspect(__.Entity) {
119
+ }
120
+
121
+ // entity 'GrantUsage'
122
+ export declare function _GrantUsageAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
123
+ new (...args: any[]): {
124
+ grantId?: string | null
125
+ since?: __.CdsTimestamp | null
126
+ until?: __.CdsTimestamp | null
127
+ calls?: Array<GrantUsageCall>
128
+ total?: number | null
129
+ jobsUsedToday?: number | null
130
+ maxJobsPerDay?: number | null
131
+ } & InstanceType<TBase>
132
+ readonly kind: 'type';
133
+ readonly keys: __.KeysOf<GrantUsage>;
134
+ readonly elements: __.ElementsOf<GrantUsage>;
135
+ readonly actions: globalThis.Record<never, never>;
136
+ };
137
+ export class GrantUsage extends _GrantUsageAspect(__.Entity) {
138
+ }
139
+
122
140
 
123
141
  export declare const GetGrantStatus: {
124
142
  // positional
@@ -132,11 +150,11 @@ export declare const GetGrantStatus: {
132
150
 
133
151
  export declare const CreateAgentGrant: {
134
152
  // positional
135
- (allowedActions: Array<string>, walletId: string | null, allowedJobKinds: Array<string>, maxJobsPerDay: number | null, validUntil: __.CdsTimestamp | null, agentLabel: string | null): globalThis.Promise<IssuedGrant | null> | IssuedGrant | null
153
+ (allowedActions: Array<string>, maxJobsPerDay: number | null, validUntil: __.CdsTimestamp | null, agentLabel: string | null): globalThis.Promise<IssuedGrant | null> | IssuedGrant | null
136
154
  // named
137
- ({allowedActions, walletId, allowedJobKinds, maxJobsPerDay, validUntil, agentLabel}: {allowedActions?: Array<string>, walletId?: string | null, allowedJobKinds?: Array<string>, maxJobsPerDay?: number | null, validUntil?: __.CdsTimestamp | null, agentLabel?: string | null}): globalThis.Promise<IssuedGrant | null> | IssuedGrant | null
155
+ ({allowedActions, maxJobsPerDay, validUntil, agentLabel}: {allowedActions?: Array<string>, maxJobsPerDay?: number | null, validUntil?: __.CdsTimestamp | null, agentLabel?: string | null}): globalThis.Promise<IssuedGrant | null> | IssuedGrant | null
138
156
  // metadata (do not use)
139
- __parameters: {allowedActions?: Array<string>, walletId?: string | null, allowedJobKinds?: Array<string>, maxJobsPerDay?: number | null, validUntil?: __.CdsTimestamp | null, agentLabel?: string | null}, __returns: globalThis.Promise<IssuedGrant | null> | IssuedGrant | null, __self: never
157
+ __parameters: {allowedActions?: Array<string>, maxJobsPerDay?: number | null, validUntil?: __.CdsTimestamp | null, agentLabel?: string | null}, __returns: globalThis.Promise<IssuedGrant | null> | IssuedGrant | null, __self: never
140
158
  kind: 'action'
141
159
  }
142
160
 
@@ -148,4 +166,34 @@ export declare const RevokeAgentGrant: {
148
166
  // metadata (do not use)
149
167
  __parameters: {grantId?: string | null}, __returns: globalThis.Promise<boolean | null> | boolean | null, __self: never
150
168
  kind: 'action'
169
+ }
170
+
171
+ export declare const RotateAgentGrantToken: {
172
+ // positional
173
+ (grantId: string | null): globalThis.Promise<RotatedGrant | null> | RotatedGrant | null
174
+ // named
175
+ ({grantId}: {grantId?: string | null}): globalThis.Promise<RotatedGrant | null> | RotatedGrant | null
176
+ // metadata (do not use)
177
+ __parameters: {grantId?: string | null}, __returns: globalThis.Promise<RotatedGrant | null> | RotatedGrant | null, __self: never
178
+ kind: 'action'
179
+ }
180
+
181
+ export declare const UpdateAgentGrant: {
182
+ // positional
183
+ (grantId: string | null, agentLabel: string | null, allowedActions: Array<string>, maxJobsPerDay: number | null, validUntil: __.CdsTimestamp | null): globalThis.Promise<UpdatedGrant | null> | UpdatedGrant | null
184
+ // named
185
+ ({grantId, agentLabel, allowedActions, maxJobsPerDay, validUntil}: {grantId?: string | null, agentLabel?: string | null, allowedActions?: Array<string>, maxJobsPerDay?: number | null, validUntil?: __.CdsTimestamp | null}): globalThis.Promise<UpdatedGrant | null> | UpdatedGrant | null
186
+ // metadata (do not use)
187
+ __parameters: {grantId?: string | null, agentLabel?: string | null, allowedActions?: Array<string>, maxJobsPerDay?: number | null, validUntil?: __.CdsTimestamp | null}, __returns: globalThis.Promise<UpdatedGrant | null> | UpdatedGrant | null, __self: never
188
+ kind: 'action'
189
+ }
190
+
191
+ export declare const GetGrantUsage: {
192
+ // positional
193
+ (grantId: string | null, since: __.CdsTimestamp | null, until: __.CdsTimestamp | null): globalThis.Promise<GrantUsage | null> | GrantUsage | null
194
+ // named
195
+ ({grantId, since, until}: {grantId?: string | null, since?: __.CdsTimestamp | null, until?: __.CdsTimestamp | null}): globalThis.Promise<GrantUsage | null> | GrantUsage | null
196
+ // metadata (do not use)
197
+ __parameters: {grantId?: string | null, since?: __.CdsTimestamp | null, until?: __.CdsTimestamp | null}, __returns: globalThis.Promise<GrantUsage | null> | GrantUsage | null, __self: never
198
+ kind: 'function'
151
199
  }
@@ -13,9 +13,24 @@ module.exports.__Array_GrantStatus_ = createEntityProxy(['CardanoAgentService',
13
13
  // IssuedGrant
14
14
  module.exports.IssuedGrant = createEntityProxy(['CardanoAgentService', 'IssuedGrant'], { target: { is_singular: true } })
15
15
  module.exports.__Array_IssuedGrant_ = createEntityProxy(['CardanoAgentService', 'IssuedGrant'], { target: { is_singular: false }})
16
+ // RotatedGrant
17
+ module.exports.RotatedGrant = createEntityProxy(['CardanoAgentService', 'RotatedGrant'], { target: { is_singular: true } })
18
+ module.exports.__Array_RotatedGrant_ = createEntityProxy(['CardanoAgentService', 'RotatedGrant'], { target: { is_singular: false }})
19
+ // UpdatedGrant
20
+ module.exports.UpdatedGrant = createEntityProxy(['CardanoAgentService', 'UpdatedGrant'], { target: { is_singular: true } })
21
+ module.exports.__Array_UpdatedGrant_ = createEntityProxy(['CardanoAgentService', 'UpdatedGrant'], { target: { is_singular: false }})
22
+ // GrantUsageCall
23
+ module.exports.GrantUsageCall = createEntityProxy(['CardanoAgentService', 'GrantUsageCall'], { target: { is_singular: true } })
24
+ module.exports.__Array_GrantUsageCall_ = createEntityProxy(['CardanoAgentService', 'GrantUsageCall'], { target: { is_singular: false }})
25
+ // GrantUsage
26
+ module.exports.GrantUsage = createEntityProxy(['CardanoAgentService', 'GrantUsage'], { target: { is_singular: true } })
27
+ module.exports.__Array_GrantUsage_ = createEntityProxy(['CardanoAgentService', 'GrantUsage'], { target: { is_singular: false }})
16
28
  // events
17
29
  // actions
18
30
  module.exports.GetGrantStatus = 'GetGrantStatus'
19
31
  module.exports.CreateAgentGrant = 'CreateAgentGrant'
20
32
  module.exports.RevokeAgentGrant = 'RevokeAgentGrant'
33
+ module.exports.RotateAgentGrantToken = 'RotateAgentGrantToken'
34
+ module.exports.UpdateAgentGrant = 'UpdateAgentGrant'
35
+ module.exports.GetGrantUsage = 'GetGrantUsage'
21
36
  // enums
@@ -0,0 +1,358 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
2
+ import * as __ from './../_';
3
+
4
+ export default class {
5
+ static readonly GetTransaction: typeof GetTransaction;
6
+ static readonly GetTransactionsBatch: typeof GetTransactionsBatch;
7
+ static readonly GetTransactionMetadata: typeof GetTransactionMetadata;
8
+ static readonly GetBlock: typeof GetBlock;
9
+ static readonly GetBlockByHeight: typeof GetBlockByHeight;
10
+ static readonly GetNextBlocks: typeof GetNextBlocks;
11
+ static readonly GetBlockTransactions: typeof GetBlockTransactions;
12
+ static readonly GetLatestBlock: typeof GetLatestBlock;
13
+ static readonly GetCurrentSlot: typeof GetCurrentSlot;
14
+ static readonly GetEpoch: typeof GetEpoch;
15
+ static readonly GetLatestEpoch: typeof GetLatestEpoch;
16
+ static readonly GetAddress: typeof GetAddress;
17
+ static readonly GetAddressUtxos: typeof GetAddressUtxos;
18
+ static readonly GetAddressTransactions: typeof GetAddressTransactions;
19
+ static readonly GetAddressTransactionHashes: typeof GetAddressTransactionHashes;
20
+ static readonly GetCredentialUtxos: typeof GetCredentialUtxos;
21
+ static readonly IsUtxoUnspent: typeof IsUtxoUnspent;
22
+ static readonly GetUnspentOutputs: typeof GetUnspentOutputs;
23
+ static readonly GetAccount: typeof GetAccount;
24
+ static readonly IsRewardAccountRegistered: typeof IsRewardAccountRegistered;
25
+ static readonly GetPool: typeof GetPool;
26
+ static readonly GetPoolIds: typeof GetPoolIds;
27
+ static readonly GetPools: typeof GetPools;
28
+ static readonly GetDrep: typeof GetDrep;
29
+ static readonly GetDrepIds: typeof GetDrepIds;
30
+ static readonly GetDreps: typeof GetDreps;
31
+ static readonly GetAssetInfo: typeof GetAssetInfo;
32
+ static readonly GetAssetHistory: typeof GetAssetHistory;
33
+ static readonly GetNetworkInformation: typeof GetNetworkInformation;
34
+ static readonly GetProtocolParameters: typeof GetProtocolParameters;
35
+ static readonly EvaluateTransaction: typeof EvaluateTransaction;
36
+ static readonly SubmitTransaction: typeof SubmitTransaction;
37
+ }
38
+
39
+
40
+ export declare const GetTransaction: {
41
+ // positional
42
+ (hash: string | null): globalThis.Promise<string | null> | string | null
43
+ // named
44
+ ({hash}: {hash?: string | null}): globalThis.Promise<string | null> | string | null
45
+ // metadata (do not use)
46
+ __parameters: {hash?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
47
+ kind: 'action'
48
+ }
49
+
50
+ export declare const GetTransactionsBatch: {
51
+ // positional
52
+ (hashes: string | null): globalThis.Promise<string | null> | string | null
53
+ // named
54
+ ({hashes}: {hashes?: string | null}): globalThis.Promise<string | null> | string | null
55
+ // metadata (do not use)
56
+ __parameters: {hashes?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
57
+ kind: 'action'
58
+ }
59
+
60
+ export declare const GetTransactionMetadata: {
61
+ // positional
62
+ (hash: string | null): globalThis.Promise<string | null> | string | null
63
+ // named
64
+ ({hash}: {hash?: string | null}): globalThis.Promise<string | null> | string | null
65
+ // metadata (do not use)
66
+ __parameters: {hash?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
67
+ kind: 'action'
68
+ }
69
+
70
+ export declare const GetBlock: {
71
+ // positional
72
+ (hash: string | null): globalThis.Promise<string | null> | string | null
73
+ // named
74
+ ({hash}: {hash?: string | null}): globalThis.Promise<string | null> | string | null
75
+ // metadata (do not use)
76
+ __parameters: {hash?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
77
+ kind: 'action'
78
+ }
79
+
80
+ export declare const GetBlockByHeight: {
81
+ // positional
82
+ (height: number | null): globalThis.Promise<string | null> | string | null
83
+ // named
84
+ ({height}: {height?: number | null}): globalThis.Promise<string | null> | string | null
85
+ // metadata (do not use)
86
+ __parameters: {height?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
87
+ kind: 'action'
88
+ }
89
+
90
+ export declare const GetNextBlocks: {
91
+ // positional
92
+ (afterHash: string | null, count: number | null, afterHeight: number | null): globalThis.Promise<string | null> | string | null
93
+ // named
94
+ ({afterHash, count, afterHeight}: {afterHash?: string | null, count?: number | null, afterHeight?: number | null}): globalThis.Promise<string | null> | string | null
95
+ // metadata (do not use)
96
+ __parameters: {afterHash?: string | null, count?: number | null, afterHeight?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
97
+ kind: 'action'
98
+ }
99
+
100
+ export declare const GetBlockTransactions: {
101
+ // positional
102
+ (blockHash: string | null, txCount: number | null): globalThis.Promise<string | null> | string | null
103
+ // named
104
+ ({blockHash, txCount}: {blockHash?: string | null, txCount?: number | null}): globalThis.Promise<string | null> | string | null
105
+ // metadata (do not use)
106
+ __parameters: {blockHash?: string | null, txCount?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
107
+ kind: 'action'
108
+ }
109
+
110
+ export declare const GetLatestBlock: {
111
+ // positional
112
+ (): globalThis.Promise<string | null> | string | null
113
+ // named
114
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
115
+ // metadata (do not use)
116
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
117
+ kind: 'action'
118
+ }
119
+
120
+ export declare const GetCurrentSlot: {
121
+ // positional
122
+ (): globalThis.Promise<string | null> | string | null
123
+ // named
124
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
125
+ // metadata (do not use)
126
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
127
+ kind: 'action'
128
+ }
129
+
130
+ export declare const GetEpoch: {
131
+ // positional
132
+ (epoch: number | null): globalThis.Promise<string | null> | string | null
133
+ // named
134
+ ({epoch}: {epoch?: number | null}): globalThis.Promise<string | null> | string | null
135
+ // metadata (do not use)
136
+ __parameters: {epoch?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
137
+ kind: 'action'
138
+ }
139
+
140
+ export declare const GetLatestEpoch: {
141
+ // positional
142
+ (): globalThis.Promise<string | null> | string | null
143
+ // named
144
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
145
+ // metadata (do not use)
146
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
147
+ kind: 'action'
148
+ }
149
+
150
+ export declare const GetAddress: {
151
+ // positional
152
+ (address: string | null): globalThis.Promise<string | null> | string | null
153
+ // named
154
+ ({address}: {address?: string | null}): globalThis.Promise<string | null> | string | null
155
+ // metadata (do not use)
156
+ __parameters: {address?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
157
+ kind: 'action'
158
+ }
159
+
160
+ export declare const GetAddressUtxos: {
161
+ // positional
162
+ (address: string | null): globalThis.Promise<string | null> | string | null
163
+ // named
164
+ ({address}: {address?: string | null}): globalThis.Promise<string | null> | string | null
165
+ // metadata (do not use)
166
+ __parameters: {address?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
167
+ kind: 'action'
168
+ }
169
+
170
+ export declare const GetAddressTransactions: {
171
+ // positional
172
+ (address: string | null, limit: number | null): globalThis.Promise<string | null> | string | null
173
+ // named
174
+ ({address, limit}: {address?: string | null, limit?: number | null}): globalThis.Promise<string | null> | string | null
175
+ // metadata (do not use)
176
+ __parameters: {address?: string | null, limit?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
177
+ kind: 'action'
178
+ }
179
+
180
+ export declare const GetAddressTransactionHashes: {
181
+ // positional
182
+ (address: string | null, limit: number | null): globalThis.Promise<string | null> | string | null
183
+ // named
184
+ ({address, limit}: {address?: string | null, limit?: number | null}): globalThis.Promise<string | null> | string | null
185
+ // metadata (do not use)
186
+ __parameters: {address?: string | null, limit?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
187
+ kind: 'action'
188
+ }
189
+
190
+ export declare const GetCredentialUtxos: {
191
+ // positional
192
+ (credential: string | null): globalThis.Promise<string | null> | string | null
193
+ // named
194
+ ({credential}: {credential?: string | null}): globalThis.Promise<string | null> | string | null
195
+ // metadata (do not use)
196
+ __parameters: {credential?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
197
+ kind: 'action'
198
+ }
199
+
200
+ export declare const IsUtxoUnspent: {
201
+ // positional
202
+ (txHash: string | null, outputIndex: number | null): globalThis.Promise<string | null> | string | null
203
+ // named
204
+ ({txHash, outputIndex}: {txHash?: string | null, outputIndex?: number | null}): globalThis.Promise<string | null> | string | null
205
+ // metadata (do not use)
206
+ __parameters: {txHash?: string | null, outputIndex?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
207
+ kind: 'action'
208
+ }
209
+
210
+ export declare const GetUnspentOutputs: {
211
+ // positional
212
+ (refs: string | null): globalThis.Promise<string | null> | string | null
213
+ // named
214
+ ({refs}: {refs?: string | null}): globalThis.Promise<string | null> | string | null
215
+ // metadata (do not use)
216
+ __parameters: {refs?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
217
+ kind: 'action'
218
+ }
219
+
220
+ export declare const GetAccount: {
221
+ // positional
222
+ (stakeAddress: string | null): globalThis.Promise<string | null> | string | null
223
+ // named
224
+ ({stakeAddress}: {stakeAddress?: string | null}): globalThis.Promise<string | null> | string | null
225
+ // metadata (do not use)
226
+ __parameters: {stakeAddress?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
227
+ kind: 'action'
228
+ }
229
+
230
+ export declare const IsRewardAccountRegistered: {
231
+ // positional
232
+ (stakeAddress: string | null): globalThis.Promise<string | null> | string | null
233
+ // named
234
+ ({stakeAddress}: {stakeAddress?: string | null}): globalThis.Promise<string | null> | string | null
235
+ // metadata (do not use)
236
+ __parameters: {stakeAddress?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
237
+ kind: 'action'
238
+ }
239
+
240
+ export declare const GetPool: {
241
+ // positional
242
+ (poolId: string | null): globalThis.Promise<string | null> | string | null
243
+ // named
244
+ ({poolId}: {poolId?: string | null}): globalThis.Promise<string | null> | string | null
245
+ // metadata (do not use)
246
+ __parameters: {poolId?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
247
+ kind: 'action'
248
+ }
249
+
250
+ export declare const GetPoolIds: {
251
+ // positional
252
+ (): globalThis.Promise<string | null> | string | null
253
+ // named
254
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
255
+ // metadata (do not use)
256
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
257
+ kind: 'action'
258
+ }
259
+
260
+ export declare const GetPools: {
261
+ // positional
262
+ (ids: string | null): globalThis.Promise<string | null> | string | null
263
+ // named
264
+ ({ids}: {ids?: string | null}): globalThis.Promise<string | null> | string | null
265
+ // metadata (do not use)
266
+ __parameters: {ids?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
267
+ kind: 'action'
268
+ }
269
+
270
+ export declare const GetDrep: {
271
+ // positional
272
+ (drepId: string | null): globalThis.Promise<string | null> | string | null
273
+ // named
274
+ ({drepId}: {drepId?: string | null}): globalThis.Promise<string | null> | string | null
275
+ // metadata (do not use)
276
+ __parameters: {drepId?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
277
+ kind: 'action'
278
+ }
279
+
280
+ export declare const GetDrepIds: {
281
+ // positional
282
+ (): globalThis.Promise<string | null> | string | null
283
+ // named
284
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
285
+ // metadata (do not use)
286
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
287
+ kind: 'action'
288
+ }
289
+
290
+ export declare const GetDreps: {
291
+ // positional
292
+ (ids: string | null): globalThis.Promise<string | null> | string | null
293
+ // named
294
+ ({ids}: {ids?: string | null}): globalThis.Promise<string | null> | string | null
295
+ // metadata (do not use)
296
+ __parameters: {ids?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
297
+ kind: 'action'
298
+ }
299
+
300
+ export declare const GetAssetInfo: {
301
+ // positional
302
+ (unit: string | null): globalThis.Promise<string | null> | string | null
303
+ // named
304
+ ({unit}: {unit?: string | null}): globalThis.Promise<string | null> | string | null
305
+ // metadata (do not use)
306
+ __parameters: {unit?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
307
+ kind: 'action'
308
+ }
309
+
310
+ export declare const GetAssetHistory: {
311
+ // positional
312
+ (unit: string | null, limit: number | null): globalThis.Promise<string | null> | string | null
313
+ // named
314
+ ({unit, limit}: {unit?: string | null, limit?: number | null}): globalThis.Promise<string | null> | string | null
315
+ // metadata (do not use)
316
+ __parameters: {unit?: string | null, limit?: number | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
317
+ kind: 'action'
318
+ }
319
+
320
+ export declare const GetNetworkInformation: {
321
+ // positional
322
+ (): globalThis.Promise<string | null> | string | null
323
+ // named
324
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
325
+ // metadata (do not use)
326
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
327
+ kind: 'action'
328
+ }
329
+
330
+ export declare const GetProtocolParameters: {
331
+ // positional
332
+ (): globalThis.Promise<string | null> | string | null
333
+ // named
334
+ ({}: globalThis.Record<never, never>): globalThis.Promise<string | null> | string | null
335
+ // metadata (do not use)
336
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<string | null> | string | null, __self: never
337
+ kind: 'action'
338
+ }
339
+
340
+ export declare const EvaluateTransaction: {
341
+ // positional
342
+ (cbor: string | null): globalThis.Promise<string | null> | string | null
343
+ // named
344
+ ({cbor}: {cbor?: string | null}): globalThis.Promise<string | null> | string | null
345
+ // metadata (do not use)
346
+ __parameters: {cbor?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
347
+ kind: 'action'
348
+ }
349
+
350
+ export declare const SubmitTransaction: {
351
+ // positional
352
+ (cbor: string | null): globalThis.Promise<string | null> | string | null
353
+ // named
354
+ ({cbor}: {cbor?: string | null}): globalThis.Promise<string | null> | string | null
355
+ // metadata (do not use)
356
+ __parameters: {cbor?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
357
+ kind: 'action'
358
+ }
@@ -0,0 +1,41 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
2
+ const { createEntityProxy } = require('./../_')
3
+ // service
4
+ const CardanoBackendService = { name: 'CardanoBackendService' }
5
+ module.exports = CardanoBackendService
6
+ module.exports.CardanoBackendService = CardanoBackendService
7
+ // events
8
+ // actions
9
+ module.exports.GetTransaction = 'GetTransaction'
10
+ module.exports.GetTransactionsBatch = 'GetTransactionsBatch'
11
+ module.exports.GetTransactionMetadata = 'GetTransactionMetadata'
12
+ module.exports.GetBlock = 'GetBlock'
13
+ module.exports.GetBlockByHeight = 'GetBlockByHeight'
14
+ module.exports.GetNextBlocks = 'GetNextBlocks'
15
+ module.exports.GetBlockTransactions = 'GetBlockTransactions'
16
+ module.exports.GetLatestBlock = 'GetLatestBlock'
17
+ module.exports.GetCurrentSlot = 'GetCurrentSlot'
18
+ module.exports.GetEpoch = 'GetEpoch'
19
+ module.exports.GetLatestEpoch = 'GetLatestEpoch'
20
+ module.exports.GetAddress = 'GetAddress'
21
+ module.exports.GetAddressUtxos = 'GetAddressUtxos'
22
+ module.exports.GetAddressTransactions = 'GetAddressTransactions'
23
+ module.exports.GetAddressTransactionHashes = 'GetAddressTransactionHashes'
24
+ module.exports.GetCredentialUtxos = 'GetCredentialUtxos'
25
+ module.exports.IsUtxoUnspent = 'IsUtxoUnspent'
26
+ module.exports.GetUnspentOutputs = 'GetUnspentOutputs'
27
+ module.exports.GetAccount = 'GetAccount'
28
+ module.exports.IsRewardAccountRegistered = 'IsRewardAccountRegistered'
29
+ module.exports.GetPool = 'GetPool'
30
+ module.exports.GetPoolIds = 'GetPoolIds'
31
+ module.exports.GetPools = 'GetPools'
32
+ module.exports.GetDrep = 'GetDrep'
33
+ module.exports.GetDrepIds = 'GetDrepIds'
34
+ module.exports.GetDreps = 'GetDreps'
35
+ module.exports.GetAssetInfo = 'GetAssetInfo'
36
+ module.exports.GetAssetHistory = 'GetAssetHistory'
37
+ module.exports.GetNetworkInformation = 'GetNetworkInformation'
38
+ module.exports.GetProtocolParameters = 'GetProtocolParameters'
39
+ module.exports.EvaluateTransaction = 'EvaluateTransaction'
40
+ module.exports.SubmitTransaction = 'SubmitTransaction'
41
+ // enums