@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
@@ -19,6 +19,18 @@ module.exports.Pools = createEntityProxy(['CardanoODataService', 'Pools'], { tar
19
19
  // Dreps
20
20
  module.exports.Drep = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: true } })
21
21
  module.exports.Dreps = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: false }})
22
+ // PoolEpochSnapshots
23
+ module.exports.PoolEpochSnapshot = createEntityProxy(['CardanoODataService', 'PoolEpochSnapshots'], { target: { is_singular: true } })
24
+ module.exports.PoolEpochSnapshots = createEntityProxy(['CardanoODataService', 'PoolEpochSnapshots'], { target: { is_singular: false }})
25
+ // DrepEpochSnapshots
26
+ module.exports.DrepEpochSnapshot = createEntityProxy(['CardanoODataService', 'DrepEpochSnapshots'], { target: { is_singular: true } })
27
+ module.exports.DrepEpochSnapshots = createEntityProxy(['CardanoODataService', 'DrepEpochSnapshots'], { target: { is_singular: false }})
28
+ // EpochLedgerSnapshots
29
+ module.exports.EpochLedgerSnapshot = createEntityProxy(['CardanoODataService', 'EpochLedgerSnapshots'], { target: { is_singular: true } })
30
+ module.exports.EpochLedgerSnapshots = createEntityProxy(['CardanoODataService', 'EpochLedgerSnapshots'], { target: { is_singular: false }})
31
+ // AccountEpochSnapshots
32
+ module.exports.AccountEpochSnapshot = createEntityProxy(['CardanoODataService', 'AccountEpochSnapshots'], { target: { is_singular: true } })
33
+ module.exports.AccountEpochSnapshots = createEntityProxy(['CardanoODataService', 'AccountEpochSnapshots'], { target: { is_singular: false }})
22
34
  // Assets
23
35
  module.exports.Asset = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: true } })
24
36
  module.exports.Assets = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: false }})
@@ -40,6 +52,33 @@ module.exports.TransactionInputAssets = createEntityProxy(['CardanoODataService'
40
52
  // TransactionOutputAssets
41
53
  module.exports.TransactionOutputAsset = createEntityProxy(['CardanoODataService', 'TransactionOutputAssets'], { target: { is_singular: true } })
42
54
  module.exports.TransactionOutputAssets = createEntityProxy(['CardanoODataService', 'TransactionOutputAssets'], { target: { is_singular: false }})
55
+ // TransactionCertificates
56
+ module.exports.TransactionCertificate = createEntityProxy(['CardanoODataService', 'TransactionCertificates'], { target: { is_singular: true } })
57
+ module.exports.TransactionCertificates = createEntityProxy(['CardanoODataService', 'TransactionCertificates'], { target: { is_singular: false }})
58
+ // TransactionWithdrawals
59
+ module.exports.TransactionWithdrawal = createEntityProxy(['CardanoODataService', 'TransactionWithdrawals'], { target: { is_singular: true } })
60
+ module.exports.TransactionWithdrawals = createEntityProxy(['CardanoODataService', 'TransactionWithdrawals'], { target: { is_singular: false }})
61
+ // TransactionRedeemers
62
+ module.exports.TransactionRedeemer = createEntityProxy(['CardanoODataService', 'TransactionRedeemers'], { target: { is_singular: true } })
63
+ module.exports.TransactionRedeemers = createEntityProxy(['CardanoODataService', 'TransactionRedeemers'], { target: { is_singular: false }})
64
+ // TransactionDatums
65
+ module.exports.TransactionDatum = createEntityProxy(['CardanoODataService', 'TransactionDatums'], { target: { is_singular: true } })
66
+ module.exports.TransactionDatums = createEntityProxy(['CardanoODataService', 'TransactionDatums'], { target: { is_singular: false }})
67
+ // LedgerUTxOs
68
+ module.exports.LedgerUTxO = createEntityProxy(['CardanoODataService', 'LedgerUTxOs'], { target: { is_singular: true } })
69
+ module.exports.LedgerUTxOs = createEntityProxy(['CardanoODataService', 'LedgerUTxOs'], { target: { is_singular: false }})
70
+ // LedgerUTxOAssets
71
+ module.exports.LedgerUTxOAsset = createEntityProxy(['CardanoODataService', 'LedgerUTxOAssets'], { target: { is_singular: true } })
72
+ module.exports.LedgerUTxOAssets = createEntityProxy(['CardanoODataService', 'LedgerUTxOAssets'], { target: { is_singular: false }})
73
+ // LedgerAddresses
74
+ module.exports.LedgerAddress = createEntityProxy(['CardanoODataService', 'LedgerAddresses'], { target: { is_singular: true } })
75
+ module.exports.LedgerAddresses = createEntityProxy(['CardanoODataService', 'LedgerAddresses'], { target: { is_singular: false }})
76
+ // LedgerAddressAssets
77
+ module.exports.LedgerAddressAsset = createEntityProxy(['CardanoODataService', 'LedgerAddressAssets'], { target: { is_singular: true } })
78
+ module.exports.LedgerAddressAssets = createEntityProxy(['CardanoODataService', 'LedgerAddressAssets'], { target: { is_singular: false }})
79
+ // LedgerAccounts
80
+ module.exports.LedgerAccount = createEntityProxy(['CardanoODataService', 'LedgerAccounts'], { target: { is_singular: true } })
81
+ module.exports.LedgerAccounts = createEntityProxy(['CardanoODataService', 'LedgerAccounts'], { target: { is_singular: false }})
43
82
  // Accounts
44
83
  module.exports.Account = createEntityProxy(['CardanoODataService', 'Accounts'], { target: { is_singular: true } })
45
84
  module.exports.Accounts = createEntityProxy(['CardanoODataService', 'Accounts'], { target: { is_singular: false }})
@@ -75,7 +114,9 @@ module.exports.GetAssetInfo = 'GetAssetInfo'
75
114
  module.exports.GetAssetHistory = 'GetAssetHistory'
76
115
  module.exports.GetAccountByStakeAddress = 'GetAccountByStakeAddress'
77
116
  module.exports.GetTransactionByHash = 'GetTransactionByHash'
117
+ module.exports.GetTransactionConfirmations = 'GetTransactionConfirmations'
78
118
  module.exports.GetMetadataByTxHash = 'GetMetadataByTxHash'
119
+ module.exports.GetMetadataByLabel = 'GetMetadataByLabel'
79
120
  module.exports.GetAddressByBech32 = 'GetAddressByBech32'
80
121
  module.exports.GetUTxOsByAddress = 'GetUTxOsByAddress'
81
122
  module.exports.GetUTxOsByCredential = 'GetUTxOsByCredential'
@@ -85,4 +126,5 @@ module.exports.GetLatestBlock = 'GetLatestBlock'
85
126
  module.exports.GetLatestEpoch = 'GetLatestEpoch'
86
127
  module.exports.GetLedgerProtocolParameters = 'GetLedgerProtocolParameters'
87
128
  module.exports.ParseTransactionCbor = 'ParseTransactionCbor'
129
+ module.exports.DecodePlutusData = 'DecodePlutusData'
88
130
  // enums
@@ -3,18 +3,6 @@ import * as __ from './../_';
3
3
  import * as _ from './..';
4
4
  import * as _odatano_cardano from './../odatano/cardano';
5
5
 
6
- /**
7
- * Cardano Sign Service
8
- *
9
- * Handles the external signing workflow for Cardano transactions, including:
10
- * - Creating signing requests with transaction details and signing instructions
11
- * - Verifying signatures of signed transactions and storing verification results
12
- * - Submitting verified transactions to the blockchain and tracking submission status
13
- * - Providing actions for signing with a Hardware Security Module (HSM) and retrieving HSM status
14
- *
15
- * Security note: see CardanoODataService (cardano-service.cds) for the rationale
16
- * on service-level auth without per-resource ownership enforcement.
17
- */
18
6
  export default class {
19
7
  static readonly VerifySignature: typeof VerifySignature;
20
8
  static readonly SubmitVerifiedTransaction: typeof SubmitVerifiedTransaction;
@@ -24,6 +12,7 @@ export default class {
24
12
  static readonly GetSigningRequestsByAddress: typeof GetSigningRequestsByAddress;
25
13
  static readonly SignWithHsm: typeof SignWithHsm;
26
14
  static readonly SignAndSubmitWithHsm: typeof SignAndSubmitWithHsm;
15
+ static readonly ResolveSigningRequest: typeof ResolveSigningRequest;
27
16
  static readonly GetHsmStatus: typeof GetHsmStatus;
28
17
  }
29
18
 
@@ -89,6 +78,7 @@ export declare function _TransactionBuildAspect<TBase extends new (...args: any[
89
78
  createdAt?: number | null
90
79
  inputs?: __.Composition.of.many<TransactionBuildInputs>
91
80
  outputs?: __.Composition.of.many<TransactionBuildOutputs>
81
+ redeemers?: __.Composition.of.many<TransactionBuildRedeemers>
92
82
  submission?: __.Association.to<TransactionSubmission> | null
93
83
  hasInputs?: boolean | null
94
84
  hasOutputs?: boolean | null
@@ -124,6 +114,7 @@ export declare function _TransactionSubmissionAspect<TBase extends new (...args:
124
114
  status?: _.SubmissionStatus | null
125
115
  errorCode?: string | null
126
116
  errorMessage?: string | null
117
+ resolution?: string | null
127
118
  retryCount?: number | null
128
119
  errors?: __.Composition.of.many<TransactionSubmissionErrors>
129
120
  hasErrors?: boolean | null
@@ -163,6 +154,7 @@ export declare function _SigningRequestAspect<TBase extends new (...args: any[])
163
154
  submission?: __.Association.to<TransactionSubmission> | null
164
155
  submission_id?: string | null
165
156
  errorMessage?: string | null
157
+ resolution?: string | null
166
158
  } & InstanceType<TBase>
167
159
  readonly kind: 'entity';
168
160
  readonly keys: __.KeysOf<SigningRequest>;
@@ -251,6 +243,27 @@ export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {
251
243
  $count?: number
252
244
  }
253
245
 
246
+ // entity 'TransactionBuildRedeemer'
247
+ export declare function _TransactionBuildRedeemerAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
248
+ new (...args: any[]): {
249
+ build?: __.Key<__.Association.to<TransactionBuild>>
250
+ build_id?: __.Key<string>
251
+ tag?: __.Key<string>
252
+ redeemerIndex?: __.Key<number>
253
+ mem?: number | null
254
+ steps?: number | null
255
+ } & InstanceType<TBase>
256
+ readonly kind: 'entity';
257
+ readonly keys: __.KeysOf<TransactionBuildRedeemer>;
258
+ readonly elements: __.ElementsOf<TransactionBuildRedeemer>;
259
+ readonly actions: globalThis.Record<never, never>;
260
+ };
261
+ export class TransactionBuildRedeemer extends _TransactionBuildRedeemerAspect(__.Entity) {
262
+ }
263
+ export class TransactionBuildRedeemers extends Array<TransactionBuildRedeemer> {
264
+ $count?: number
265
+ }
266
+
254
267
  // entity 'TransactionSubmissionError'
255
268
  export declare function _TransactionSubmissionErrorAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
256
269
  new (...args: any[]): {
@@ -306,7 +319,7 @@ export declare function _AddressAssetAspect<TBase extends new (...args: any[]) =
306
319
  address?: __.Key<__.Association.to<Address>>
307
320
  address_address?: __.Key<_.Bech32>
308
321
  unit?: __.Key<_.AssetUnit>
309
- asset_quantity?: _.Lovelace | null
322
+ asset_quantity?: _.AssetAmount | null
310
323
  asset_policyId?: _.Blake2b224 | null
311
324
  asset_assetNameHex?: _.HexBytes | null
312
325
  asset_assetName?: string | null
@@ -336,6 +349,9 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
336
349
  utxodata_dataHash?: _.Blake2b256 | null
337
350
  utxodata_inlineDatum?: string | null
338
351
  utxodata_referenceScriptHash?: _.Blake2b256 | null
352
+ utxodata_referenceScriptSize?: number | null
353
+ utxodata_referenceScriptType?: string | null
354
+ utxodata_paymentCredential?: string | null
339
355
  lovelace?: _.Lovelace | null
340
356
  assets?: __.Composition.of.many<UTxOAssets>
341
357
  hasAssets?: boolean | null
@@ -449,11 +465,11 @@ export declare const SubmitVerifiedTransaction: {
449
465
 
450
466
  export declare const VerifyDataSignature: {
451
467
  // positional
452
- (address: _.Bech32 | null, coseSignature: string | null, coseKey: string | null, expectedPayload: string | null): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null
468
+ (address: _.Bech32 | null, coseSignature: string | null, coseKey: string | null, expectedPayload: string | null): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null
453
469
  // named
454
- ({address, coseSignature, coseKey, expectedPayload}: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null
470
+ ({address, coseSignature, coseKey, expectedPayload}: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null
455
471
  // metadata (do not use)
456
- __parameters: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}, __returns: globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null, __self: never
472
+ __parameters: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}, __returns: globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null, __self: never
457
473
  kind: 'action'
458
474
  }
459
475
 
@@ -479,11 +495,11 @@ export declare const GetSigningRequest: {
479
495
 
480
496
  export declare const GetSigningRequestsByAddress: {
481
497
  // positional
482
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
498
+ (address: _.Bech32 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
483
499
  // named
484
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
500
+ ({address, limit, skip}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
485
501
  // metadata (do not use)
486
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>, __self: never
502
+ __parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>, __self: never
487
503
  kind: 'action'
488
504
  }
489
505
 
@@ -507,6 +523,16 @@ export declare const SignAndSubmitWithHsm: {
507
523
  kind: 'action'
508
524
  }
509
525
 
526
+ export declare const ResolveSigningRequest: {
527
+ // positional
528
+ (signingRequestId: string, outcome: _.ResolvedOutcome, txHash: string | null, note: string | null): globalThis.Promise<SigningRequest | null> | SigningRequest | null
529
+ // named
530
+ ({signingRequestId, outcome, txHash, note}: {signingRequestId: string, outcome: _.ResolvedOutcome, txHash?: string | null, note?: string | null}): globalThis.Promise<SigningRequest | null> | SigningRequest | null
531
+ // metadata (do not use)
532
+ __parameters: {signingRequestId: string, outcome: _.ResolvedOutcome, txHash?: string | null, note?: string | null}, __returns: globalThis.Promise<SigningRequest | null> | SigningRequest | null, __self: never
533
+ kind: 'action'
534
+ }
535
+
510
536
  export declare const GetHsmStatus: {
511
537
  // positional
512
538
  (): globalThis.Promise<{ connected?: boolean | null, keyId?: string | null, keyLabel?: string | null, publicKeyHash?: string | null, cardanoAddress?: string | null, } | null> | { connected?: boolean | null, keyId?: string | null, keyLabel?: string | null, publicKeyHash?: string | null, cardanoAddress?: string | null, } | null
@@ -28,6 +28,9 @@ module.exports.TransactionBuildInputs = createEntityProxy(['CardanoSignService',
28
28
  // TransactionBuildOutputs
29
29
  module.exports.TransactionBuildOutput = createEntityProxy(['CardanoSignService', 'TransactionBuildOutputs'], { target: { is_singular: true } })
30
30
  module.exports.TransactionBuildOutputs = createEntityProxy(['CardanoSignService', 'TransactionBuildOutputs'], { target: { is_singular: false }})
31
+ // TransactionBuildRedeemers
32
+ module.exports.TransactionBuildRedeemer = createEntityProxy(['CardanoSignService', 'TransactionBuildRedeemers'], { target: { is_singular: true } })
33
+ module.exports.TransactionBuildRedeemers = createEntityProxy(['CardanoSignService', 'TransactionBuildRedeemers'], { target: { is_singular: false }})
31
34
  // TransactionSubmissionErrors
32
35
  module.exports.TransactionSubmissionError = createEntityProxy(['CardanoSignService', 'TransactionSubmissionErrors'], { target: { is_singular: true } })
33
36
  module.exports.TransactionSubmissionErrors = createEntityProxy(['CardanoSignService', 'TransactionSubmissionErrors'], { target: { is_singular: false }})
@@ -59,5 +62,6 @@ module.exports.GetSigningRequest = 'GetSigningRequest'
59
62
  module.exports.GetSigningRequestsByAddress = 'GetSigningRequestsByAddress'
60
63
  module.exports.SignWithHsm = 'SignWithHsm'
61
64
  module.exports.SignAndSubmitWithHsm = 'SignAndSubmitWithHsm'
65
+ module.exports.ResolveSigningRequest = 'ResolveSigningRequest'
62
66
  module.exports.GetHsmStatus = 'GetHsmStatus'
63
67
  // enums
@@ -3,17 +3,8 @@ import * as _ from './..';
3
3
  import * as __ from './../_';
4
4
  import * as _odatano_cardano from './../odatano/cardano';
5
5
 
6
- /**
7
- * Cardano Transaction Service
8
- *
9
- * Handles transaction building and submission operations.
10
- * Separate from the read-only CardanoODataService to provide
11
- * clear separation between general query and command operations.
12
- *
13
- * Security note: see CardanoODataService (cardano-service.cds) for the rationale
14
- * on service-level auth without per-resource ownership enforcement.
15
- */
16
6
  export default class {
7
+ static readonly ResolveSubmission: typeof ResolveSubmission;
17
8
  static readonly BuildSimpleAdaTransaction: typeof BuildSimpleAdaTransaction;
18
9
  static readonly BuildTransactionWithMetadata: typeof BuildTransactionWithMetadata;
19
10
  static readonly BuildMultiAssetTransaction: typeof BuildMultiAssetTransaction;
@@ -22,6 +13,7 @@ export default class {
22
13
  static readonly SubmitTransaction: typeof SubmitTransaction;
23
14
  static readonly SubmitSignedTransaction: typeof SubmitSignedTransaction;
24
15
  static readonly BuildPlutusSpendTransaction: typeof BuildPlutusSpendTransaction;
16
+ static readonly BuildPlutusTransaction: typeof BuildPlutusTransaction;
25
17
  static readonly SetCollateral: typeof SetCollateral;
26
18
  static readonly GetTransactionBuildsByAddress: typeof GetTransactionBuildsByAddress;
27
19
  static readonly DeriveScriptAddress: typeof DeriveScriptAddress;
@@ -45,6 +37,7 @@ export declare function _TransactionBuildAspect<TBase extends new (...args: any[
45
37
  createdAt?: number | null
46
38
  inputs?: __.Composition.of.many<TransactionBuildInputs>
47
39
  outputs?: __.Composition.of.many<TransactionBuildOutputs>
40
+ redeemers?: __.Composition.of.many<TransactionBuildRedeemers>
48
41
  submission?: __.Association.to<TransactionSubmission> | null
49
42
  hasInputs?: boolean | null
50
43
  hasOutputs?: boolean | null
@@ -115,6 +108,27 @@ export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {
115
108
  $count?: number
116
109
  }
117
110
 
111
+ // entity 'TransactionBuildRedeemer'
112
+ export declare function _TransactionBuildRedeemerAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
113
+ new (...args: any[]): {
114
+ build?: __.Key<__.Association.to<TransactionBuild>>
115
+ build_id?: __.Key<string>
116
+ tag?: __.Key<string>
117
+ redeemerIndex?: __.Key<number>
118
+ mem?: number | null
119
+ steps?: number | null
120
+ } & InstanceType<TBase>
121
+ readonly kind: 'entity';
122
+ readonly keys: __.KeysOf<TransactionBuildRedeemer>;
123
+ readonly elements: __.ElementsOf<TransactionBuildRedeemer>;
124
+ readonly actions: globalThis.Record<never, never>;
125
+ };
126
+ export class TransactionBuildRedeemer extends _TransactionBuildRedeemerAspect(__.Entity) {
127
+ }
128
+ export class TransactionBuildRedeemers extends Array<TransactionBuildRedeemer> {
129
+ $count?: number
130
+ }
131
+
118
132
  // entity 'TransactionBuildInputAsset'
119
133
  export declare function _TransactionBuildInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
120
134
  new (...args: any[]): {
@@ -175,6 +189,7 @@ export declare function _TransactionSubmissionAspect<TBase extends new (...args:
175
189
  status?: _.SubmissionStatus | null
176
190
  errorCode?: string | null
177
191
  errorMessage?: string | null
192
+ resolution?: string | null
178
193
  retryCount?: number | null
179
194
  errors?: __.Composition.of.many<TransactionSubmissionErrors>
180
195
  hasErrors?: boolean | null
@@ -194,20 +209,8 @@ export declare function _TransactionSubmissionAspect<TBase extends new (...args:
194
209
  }
195
210
  };
196
211
  };
197
- /**
198
- * TransactionSubmissions status flow:
199
- * pending -> [submit to chain] -> submitted (internal, in SubmitTransaction handler)
200
- * submitted -> [CheckSubmissionStatus] confirmed | stays submitted (conditional)
201
- * pending | submitted -> failed (blockchain error)
202
- */
203
212
  export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {
204
213
  }
205
- /**
206
- * TransactionSubmissions status flow:
207
- * pending -> [submit to chain] -> submitted (internal, in SubmitTransaction handler)
208
- * submitted -> [CheckSubmissionStatus] confirmed | stays submitted (conditional)
209
- * pending | submitted -> failed (blockchain error)
210
- */
211
214
  export class TransactionSubmissions extends Array<TransactionSubmission> {
212
215
  $count?: number
213
216
  }
@@ -315,7 +318,7 @@ export declare function _AddressAssetAspect<TBase extends new (...args: any[]) =
315
318
  address?: __.Key<__.Association.to<Address>>
316
319
  address_address?: __.Key<_.Bech32>
317
320
  unit?: __.Key<_.AssetUnit>
318
- asset_quantity?: _.Lovelace | null
321
+ asset_quantity?: _.AssetAmount | null
319
322
  asset_policyId?: _.Blake2b224 | null
320
323
  asset_assetNameHex?: _.HexBytes | null
321
324
  asset_assetName?: string | null
@@ -345,6 +348,9 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
345
348
  utxodata_dataHash?: _.Blake2b256 | null
346
349
  utxodata_inlineDatum?: string | null
347
350
  utxodata_referenceScriptHash?: _.Blake2b256 | null
351
+ utxodata_referenceScriptSize?: number | null
352
+ utxodata_referenceScriptType?: string | null
353
+ utxodata_paymentCredential?: string | null
348
354
  lovelace?: _.Lovelace | null
349
355
  assets?: __.Composition.of.many<UTxOAssets>
350
356
  hasAssets?: boolean | null
@@ -388,13 +394,23 @@ export class UTxOAssets extends Array<UTxOAsset> {
388
394
  }
389
395
 
390
396
 
397
+ export declare const ResolveSubmission: {
398
+ // positional
399
+ (submissionId: string, outcome: _.ResolvedOutcome, txHash: string | null, note: string | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
400
+ // named
401
+ ({submissionId, outcome, txHash, note}: {submissionId: string, outcome: _.ResolvedOutcome, txHash?: string | null, note?: string | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
402
+ // metadata (do not use)
403
+ __parameters: {submissionId: string, outcome: _.ResolvedOutcome, txHash?: string | null, note?: string | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
404
+ kind: 'action'
405
+ }
406
+
391
407
  export declare const BuildSimpleAdaTransaction: {
392
408
  // positional
393
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, assetsJson: string | null, forceInputsJson: string | null, validatorScript: string | null, scriptParamsJson: string | null, lockOnScript: boolean | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
409
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, outputDatumCbor: string | null, ensureMinAda: boolean | null, assetsJson: string | null, forceInputsJson: string | null, protectInputsJson: string | null, validatorScript: string | null, scriptParamsJson: string | null, lockOnScript: boolean | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
394
410
  // named
395
- ({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson, assetsJson, forceInputsJson, validatorScript, scriptParamsJson, lockOnScript, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, assetsJson?: string | null, forceInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
411
+ ({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson, outputDatumCbor, ensureMinAda, assetsJson, forceInputsJson, protectInputsJson, validatorScript, scriptParamsJson, lockOnScript, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, assetsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
396
412
  // metadata (do not use)
397
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, assetsJson?: string | null, forceInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
413
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, assetsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
398
414
  kind: 'action'
399
415
  }
400
416
 
@@ -410,21 +426,21 @@ export declare const BuildTransactionWithMetadata: {
410
426
 
411
427
  export declare const BuildMultiAssetTransaction: {
412
428
  // positional
413
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, assetsJson: string | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
429
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, assetsJson: string | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, outputDatumCbor: string | null, ensureMinAda: boolean | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
414
430
  // named
415
- ({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress, outputDatumJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
431
+ ({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress, outputDatumJson, outputDatumCbor, ensureMinAda, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
416
432
  // metadata (do not use)
417
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
433
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
418
434
  kind: 'action'
419
435
  }
420
436
 
421
437
  export declare const BuildMintTransaction: {
422
438
  // positional
423
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, mintActionsJson: string | null, mintingPolicyScript: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, mintRedeemerJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, referenceInputsJson: string | null, extraOutputsJson: string | null, metadataJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
439
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, mintActionsJson: string | null, mintingPolicyScript: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, mintRedeemerJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, protectInputsJson: string | null, referenceInputsJson: string | null, extraOutputsJson: string | null, metadataJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
424
440
  // named
425
- ({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, mintRedeemerJson, lockOnScript, forceInputsJson, referenceInputsJson, extraOutputsJson, metadataJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
441
+ ({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, mintRedeemerJson, lockOnScript, forceInputsJson, protectInputsJson, referenceInputsJson, extraOutputsJson, metadataJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
426
442
  // metadata (do not use)
427
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
443
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
428
444
  kind: 'action'
429
445
  }
430
446
 
@@ -450,21 +466,31 @@ export declare const SubmitTransaction: {
450
466
 
451
467
  export declare const SubmitSignedTransaction: {
452
468
  // positional
453
- (signedTxCbor: string | null, network: string | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
469
+ (signedTxCbor: string | null, network: _.CardanoNetwork | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
454
470
  // named
455
- ({signedTxCbor, network}: {signedTxCbor?: string | null, network?: string | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
471
+ ({signedTxCbor, network}: {signedTxCbor?: string | null, network?: _.CardanoNetwork | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
456
472
  // metadata (do not use)
457
- __parameters: {signedTxCbor?: string | null, network?: string | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
473
+ __parameters: {signedTxCbor?: string | null, network?: _.CardanoNetwork | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
458
474
  kind: 'action'
459
475
  }
460
476
 
461
477
  export declare const BuildPlutusSpendTransaction: {
462
478
  // positional
463
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, extraOutputsJson: string | null, mintActionsJson: string | null, mintingPolicyScript: string | null, mintRedeemerJson: string | null, referenceInputsJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
479
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, protectInputsJson: string | null, extraOutputsJson: string | null, mintActionsJson: string | null, mintingPolicyScript: string | null, mintRedeemerJson: string | null, referenceInputsJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
480
+ // named
481
+ ({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, lockOnScript, forceInputsJson, protectInputsJson, extraOutputsJson, mintActionsJson, mintingPolicyScript, mintRedeemerJson, referenceInputsJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
482
+ // metadata (do not use)
483
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
484
+ kind: 'action'
485
+ }
486
+
487
+ export declare const BuildPlutusTransaction: {
488
+ // positional
489
+ (senderAddress: _.Bech32 | null, changeAddress: _.Bech32 | null, scriptInputsJson: string | null, outputsJson: string | null, referenceInputsJson: string | null, forceInputsJson: string | null, protectInputsJson: string | null, withdrawalsJson: string | null, certificatesJson: string | null, requiredSignersJson: string | null, mintActionsJson: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
464
490
  // named
465
- ({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, lockOnScript, forceInputsJson, extraOutputsJson, mintActionsJson, mintingPolicyScript, mintRedeemerJson, referenceInputsJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
491
+ ({senderAddress, changeAddress, scriptInputsJson, outputsJson, referenceInputsJson, forceInputsJson, protectInputsJson, withdrawalsJson, certificatesJson, requiredSignersJson, mintActionsJson, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, changeAddress?: _.Bech32 | null, scriptInputsJson?: string | null, outputsJson?: string | null, referenceInputsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, withdrawalsJson?: string | null, certificatesJson?: string | null, requiredSignersJson?: string | null, mintActionsJson?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
466
492
  // metadata (do not use)
467
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
493
+ __parameters: {senderAddress?: _.Bech32 | null, changeAddress?: _.Bech32 | null, scriptInputsJson?: string | null, outputsJson?: string | null, referenceInputsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, withdrawalsJson?: string | null, certificatesJson?: string | null, requiredSignersJson?: string | null, mintActionsJson?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
468
494
  kind: 'action'
469
495
  }
470
496
 
@@ -480,21 +506,21 @@ export declare const SetCollateral: {
480
506
 
481
507
  export declare const GetTransactionBuildsByAddress: {
482
508
  // positional
483
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
509
+ (address: _.Bech32 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
484
510
  // named
485
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
511
+ ({address, limit, skip}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
486
512
  // metadata (do not use)
487
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>, __self: never
513
+ __parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>, __self: never
488
514
  kind: 'action'
489
515
  }
490
516
 
491
517
  export declare const DeriveScriptAddress: {
492
518
  // positional
493
- (validatorScript: string | null, scriptParamsJson: string | null, network: string | null): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
519
+ (validatorScript: string | null, scriptParamsJson: string | null, network: _.CardanoNetwork | null): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
494
520
  // named
495
- ({validatorScript, scriptParamsJson, network}: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: string | null}): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
521
+ ({validatorScript, scriptParamsJson, network}: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: _.CardanoNetwork | null}): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
496
522
  // metadata (do not use)
497
- __parameters: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: string | null}, __returns: globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null, __self: never
523
+ __parameters: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: _.CardanoNetwork | null}, __returns: globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null, __self: never
498
524
  kind: 'action'
499
525
  }
500
526
 
@@ -13,6 +13,9 @@ module.exports.TransactionBuildInputs = createEntityProxy(['CardanoTransactionSe
13
13
  // TransactionBuildOutputs
14
14
  module.exports.TransactionBuildOutput = createEntityProxy(['CardanoTransactionService', 'TransactionBuildOutputs'], { target: { is_singular: true } })
15
15
  module.exports.TransactionBuildOutputs = createEntityProxy(['CardanoTransactionService', 'TransactionBuildOutputs'], { target: { is_singular: false }})
16
+ // TransactionBuildRedeemers
17
+ module.exports.TransactionBuildRedeemer = createEntityProxy(['CardanoTransactionService', 'TransactionBuildRedeemers'], { target: { is_singular: true } })
18
+ module.exports.TransactionBuildRedeemers = createEntityProxy(['CardanoTransactionService', 'TransactionBuildRedeemers'], { target: { is_singular: false }})
16
19
  // TransactionBuildInputAssets
17
20
  module.exports.TransactionBuildInputAsset = createEntityProxy(['CardanoTransactionService', 'TransactionBuildInputAssets'], { target: { is_singular: true } })
18
21
  module.exports.TransactionBuildInputAssets = createEntityProxy(['CardanoTransactionService', 'TransactionBuildInputAssets'], { target: { is_singular: false }})
@@ -45,6 +48,7 @@ module.exports.UTxOAsset = createEntityProxy(['CardanoTransactionService', 'UTxO
45
48
  module.exports.UTxOAssets = createEntityProxy(['CardanoTransactionService', 'UTxOAssets'], { target: { is_singular: false }})
46
49
  // events
47
50
  // actions
51
+ module.exports.ResolveSubmission = 'ResolveSubmission'
48
52
  module.exports.BuildSimpleAdaTransaction = 'BuildSimpleAdaTransaction'
49
53
  module.exports.BuildTransactionWithMetadata = 'BuildTransactionWithMetadata'
50
54
  module.exports.BuildMultiAssetTransaction = 'BuildMultiAssetTransaction'
@@ -53,6 +57,7 @@ module.exports.GetBuildDetails = 'GetBuildDetails'
53
57
  module.exports.SubmitTransaction = 'SubmitTransaction'
54
58
  module.exports.SubmitSignedTransaction = 'SubmitSignedTransaction'
55
59
  module.exports.BuildPlutusSpendTransaction = 'BuildPlutusSpendTransaction'
60
+ module.exports.BuildPlutusTransaction = 'BuildPlutusTransaction'
56
61
  module.exports.SetCollateral = 'SetCollateral'
57
62
  module.exports.GetTransactionBuildsByAddress = 'GetTransactionBuildsByAddress'
58
63
  module.exports.DeriveScriptAddress = 'DeriveScriptAddress'