@aeternity/aepp-sdk 13.3.3 → 14.1.0
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.
- package/LICENSE +1 -1
- package/README.md +15 -21
- package/bin/aesophia_cli +0 -0
- package/dist/aepp-sdk.browser-script.cjs +3 -0
- package/dist/aepp-sdk.browser-script.cjs.LICENSE.txt +12 -0
- package/dist/aepp-sdk.browser-script.cjs.map +1 -0
- package/dist/aepp-sdk.browser.cjs +3 -0
- package/dist/aepp-sdk.browser.cjs.map +1 -0
- package/dist/aepp-sdk.cjs +38244 -0
- package/dist/aepp-sdk.cjs.map +1 -0
- package/es/AeSdk.d.ts +4 -4
- package/es/AeSdk.js +76 -0
- package/es/AeSdk.js.map +1 -0
- package/es/AeSdkAepp.d.ts +13 -8
- package/es/AeSdkAepp.js +153 -0
- package/es/AeSdkAepp.js.map +1 -0
- package/es/AeSdkBase.d.ts +15 -41
- package/es/AeSdkBase.js +235 -0
- package/es/AeSdkBase.js.map +1 -0
- package/es/AeSdkMethods.d.ts +11 -34
- package/es/AeSdkMethods.js +81 -0
- package/es/AeSdkMethods.js.map +1 -0
- package/es/AeSdkWallet.d.ts +13 -8
- package/es/AeSdkWallet.js +347 -0
- package/es/AeSdkWallet.js.map +1 -0
- package/es/Middleware.d.ts +14 -26
- package/es/Middleware.js +102 -0
- package/es/Middleware.js.map +1 -0
- package/es/MiddlewareSubscriber.d.ts +5 -3
- package/es/MiddlewareSubscriber.js +169 -0
- package/es/MiddlewareSubscriber.js.map +1 -0
- package/es/Node.d.ts +11 -22
- package/es/Node.js +121 -0
- package/es/Node.js.map +1 -0
- package/es/account/Base.d.ts +14 -66
- package/es/account/Base.js +7 -0
- package/es/account/Base.js.map +1 -0
- package/es/account/BaseFactory.d.ts +20 -0
- package/es/account/BaseFactory.js +29 -0
- package/es/account/BaseFactory.js.map +1 -0
- package/es/account/Generalized.d.ts +7 -6
- package/es/account/Generalized.js +117 -0
- package/es/account/Generalized.js.map +1 -0
- package/es/account/Ledger.d.ts +8 -7
- package/es/account/Ledger.js +116 -0
- package/es/account/Ledger.js.map +1 -0
- package/es/account/LedgerFactory.d.ts +18 -16
- package/es/account/LedgerFactory.js +86 -0
- package/es/account/LedgerFactory.js.map +1 -0
- package/es/account/Memory.d.ts +11 -22
- package/es/account/Memory.js +106 -0
- package/es/account/Memory.js.map +1 -0
- package/es/account/Metamask.d.ts +34 -0
- package/es/account/Metamask.js +89 -0
- package/es/account/Metamask.js.map +1 -0
- package/es/account/MetamaskFactory.d.ts +58 -0
- package/es/account/MetamaskFactory.js +164 -0
- package/es/account/MetamaskFactory.js.map +1 -0
- package/es/account/MnemonicFactory.d.ts +45 -0
- package/es/account/MnemonicFactory.js +112 -0
- package/es/account/MnemonicFactory.js.map +1 -0
- package/es/account/Rpc.d.ts +10 -19
- package/es/account/Rpc.js +94 -0
- package/es/account/Rpc.js.map +1 -0
- package/es/aens.d.ts +144 -165
- package/es/aens.js +292 -0
- package/es/aens.js.map +1 -0
- package/es/aepp-wallet-communication/WalletConnectorFrame.d.ts +25 -0
- package/es/aepp-wallet-communication/WalletConnectorFrame.js +39 -0
- package/es/aepp-wallet-communication/WalletConnectorFrame.js.map +1 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameBase.d.ts +43 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameBase.js +110 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameBase.js.map +1 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.d.ts +27 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js +43 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js.map +1 -0
- package/es/aepp-wallet-communication/connection/Browser.js +53 -0
- package/es/aepp-wallet-communication/connection/Browser.js.map +1 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +2 -2
- package/es/aepp-wallet-communication/connection/BrowserRuntime.js +54 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.js.map +1 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +2 -2
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js +90 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js.map +1 -0
- package/es/aepp-wallet-communication/connection-proxy.d.ts +2 -2
- package/es/aepp-wallet-communication/connection-proxy.js +17 -0
- package/es/aepp-wallet-communication/connection-proxy.js.map +1 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +1 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.js +119 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.js.map +1 -0
- package/es/aepp-wallet-communication/rpc/types.d.ts +13 -19
- package/es/aepp-wallet-communication/rpc/types.js +3 -0
- package/es/aepp-wallet-communication/rpc/types.js.map +1 -0
- package/es/aepp-wallet-communication/schema.d.ts +10 -3
- package/es/aepp-wallet-communication/schema.js +202 -0
- package/es/aepp-wallet-communication/schema.js.map +1 -0
- package/es/aepp-wallet-communication/wallet-detector.d.ts +4 -4
- package/es/aepp-wallet-communication/wallet-detector.js +44 -0
- package/es/aepp-wallet-communication/wallet-detector.js.map +1 -0
- package/es/apis/compiler/compiler.d.ts +2 -2
- package/es/apis/compiler/compiler.js +513 -0
- package/es/apis/compiler/compiler.js.map +1 -0
- package/es/apis/compiler/index.d.ts +2 -2
- package/es/apis/compiler/index.js +3 -0
- package/es/apis/compiler/index.js.map +1 -0
- package/es/apis/compiler/models/index.js +2 -0
- package/es/apis/compiler/models/index.js.map +1 -0
- package/es/apis/compiler/models/mappers.js +554 -0
- package/es/apis/compiler/models/mappers.js.map +1 -0
- package/es/apis/compiler/models/parameters.js +67 -0
- package/es/apis/compiler/models/parameters.js.map +1 -0
- package/es/apis/middleware/index.d.ts +2 -2
- package/es/apis/middleware/index.js +3 -0
- package/es/apis/middleware/index.js.map +1 -0
- package/es/apis/middleware/middleware.d.ts +222 -124
- package/es/apis/middleware/middleware.js +2146 -0
- package/es/apis/middleware/middleware.js.map +1 -0
- package/es/apis/middleware/models/index.d.ts +2062 -1198
- package/es/apis/middleware/models/index.js +2 -0
- package/es/apis/middleware/models/index.js.map +1 -0
- package/es/apis/middleware/models/mappers.d.ts +206 -81
- package/es/apis/middleware/models/mappers.js +9315 -0
- package/es/apis/middleware/models/mappers.js.map +1 -0
- package/es/apis/middleware/models/parameters.d.ts +78 -13
- package/es/apis/middleware/models/parameters.js +1164 -0
- package/es/apis/middleware/models/parameters.js.map +1 -0
- package/es/apis/node/index.d.ts +2 -2
- package/es/apis/node/index.js +3 -0
- package/es/apis/node/index.js.map +1 -0
- package/es/apis/node/models/index.d.ts +683 -631
- package/es/apis/node/models/index.js +2 -0
- package/es/apis/node/models/index.js.map +1 -0
- package/es/apis/node/models/mappers.d.ts +58 -55
- package/es/apis/node/models/mappers.js +5450 -0
- package/es/apis/node/models/mappers.js.map +1 -0
- package/es/apis/node/models/parameters.d.ts +5 -5
- package/es/apis/node/models/parameters.js +165 -0
- package/es/apis/node/models/parameters.js.map +1 -0
- package/es/apis/node/node.d.ts +113 -96
- package/es/apis/node/node.js +1292 -0
- package/es/apis/node/node.js.map +1 -0
- package/es/chain.d.ts +39 -26
- package/es/chain.js +448 -0
- package/es/chain.js.map +1 -0
- package/es/channel/Base.d.ts +12 -14
- package/es/channel/Base.js +246 -0
- package/es/channel/Base.js.map +1 -0
- package/es/channel/Contract.d.ts +12 -9
- package/es/channel/Contract.js +385 -0
- package/es/channel/Contract.js.map +1 -0
- package/es/channel/Spend.d.ts +10 -10
- package/es/channel/Spend.js +357 -0
- package/es/channel/Spend.js.map +1 -0
- package/es/channel/handlers.d.ts +4 -3
- package/es/channel/handlers.js +394 -0
- package/es/channel/handlers.js.map +1 -0
- package/es/channel/internal.d.ts +11 -10
- package/es/channel/internal.js +224 -0
- package/es/channel/internal.js.map +1 -0
- package/es/contract/Contract.d.ts +30 -21
- package/es/contract/Contract.js +535 -0
- package/es/contract/Contract.js.map +1 -0
- package/es/contract/compiler/Base.d.ts +2 -1
- package/es/contract/compiler/Base.js +6 -0
- package/es/contract/compiler/Base.js.map +1 -0
- package/es/contract/compiler/Cli.d.ts +4 -3
- package/es/contract/compiler/Cli.js +169 -0
- package/es/contract/compiler/Cli.js.map +1 -0
- package/es/contract/compiler/Http.d.ts +5 -4
- package/es/contract/compiler/Http.js +125 -0
- package/es/contract/compiler/Http.js.map +1 -0
- package/es/contract/compiler/HttpNode.d.ts +3 -3
- package/es/contract/compiler/HttpNode.js +29 -0
- package/es/contract/compiler/HttpNode.js.map +1 -0
- package/es/contract/compiler/getFileSystem.d.ts +1 -0
- package/es/contract/compiler/getFileSystem.js +33 -0
- package/es/contract/compiler/getFileSystem.js.map +1 -0
- package/es/contract/ga.d.ts +11 -15
- package/es/contract/ga.js +136 -0
- package/es/contract/ga.js.map +1 -0
- package/es/index-browser.d.ts +86 -51
- package/es/index-browser.js +85 -0
- package/es/index-browser.js.map +1 -0
- package/es/index.d.ts +4 -5
- package/es/index.js +5 -0
- package/es/index.js.map +1 -0
- package/es/oracle/Oracle.d.ts +79 -0
- package/es/oracle/Oracle.js +183 -0
- package/es/oracle/Oracle.js.map +1 -0
- package/es/oracle/OracleBase.d.ts +54 -0
- package/es/oracle/OracleBase.js +74 -0
- package/es/oracle/OracleBase.js.map +1 -0
- package/es/oracle/OracleClient.d.ts +60 -0
- package/es/oracle/OracleClient.js +105 -0
- package/es/oracle/OracleClient.js.map +1 -0
- package/es/send-transaction.d.ts +8 -8
- package/es/send-transaction.js +110 -0
- package/es/send-transaction.js.map +1 -0
- package/es/spend.d.ts +8 -13
- package/es/spend.js +93 -0
- package/es/spend.js.map +1 -0
- package/es/tx/builder/SchemaTypes.d.ts +3 -3
- package/es/tx/builder/SchemaTypes.js +2 -0
- package/es/tx/builder/SchemaTypes.js.map +1 -0
- package/es/tx/builder/common.d.ts +2 -2
- package/es/tx/builder/common.js +41 -0
- package/es/tx/builder/common.js.map +1 -0
- package/es/tx/builder/constants.d.ts +53 -27
- package/es/tx/builder/constants.js +170 -0
- package/es/tx/builder/constants.js.map +1 -0
- package/es/tx/builder/delegation/index.d.ts +3 -3
- package/es/tx/builder/delegation/index.js +24 -0
- package/es/tx/builder/delegation/index.js.map +1 -0
- package/es/tx/builder/delegation/schema.d.ts +21 -4
- package/es/tx/builder/delegation/schema.generated.d.ts +2 -2
- package/es/tx/builder/delegation/schema.generated.js +2 -0
- package/es/tx/builder/delegation/schema.generated.js.map +1 -0
- package/es/tx/builder/delegation/schema.js +83 -0
- package/es/tx/builder/delegation/schema.js.map +1 -0
- package/es/tx/builder/entry/constants.d.ts +35 -0
- package/es/tx/builder/entry/constants.js +45 -0
- package/es/tx/builder/entry/constants.js.map +1 -0
- package/es/tx/builder/entry/index.d.ts +38 -0
- package/es/tx/builder/entry/index.js +36 -0
- package/es/tx/builder/entry/index.js.map +1 -0
- package/es/tx/builder/entry/schema.d.ts +1030 -0
- package/es/tx/builder/entry/schema.generated.d.ts +607 -0
- package/es/tx/builder/entry/schema.generated.js +2 -0
- package/es/tx/builder/entry/schema.generated.js.map +1 -0
- package/es/tx/builder/entry/schema.js +204 -0
- package/es/tx/builder/entry/schema.js.map +1 -0
- package/es/tx/builder/field-types/abi-version.d.ts +4 -5
- package/es/tx/builder/field-types/abi-version.js +34 -0
- package/es/tx/builder/field-types/abi-version.js.map +1 -0
- package/es/tx/builder/field-types/address.d.ts +2 -3
- package/es/tx/builder/field-types/address.js +46 -0
- package/es/tx/builder/field-types/address.js.map +1 -0
- package/es/tx/builder/field-types/array.js +11 -0
- package/es/tx/builder/field-types/array.js.map +1 -0
- package/es/tx/builder/field-types/boolean.d.ts +0 -1
- package/es/tx/builder/field-types/boolean.js +10 -0
- package/es/tx/builder/field-types/boolean.js.map +1 -0
- package/es/tx/builder/field-types/coin-amount.d.ts +3 -4
- package/es/tx/builder/field-types/coin-amount.js +18 -0
- package/es/tx/builder/field-types/coin-amount.js.map +1 -0
- package/es/tx/builder/field-types/ct-version.d.ts +4 -19
- package/es/tx/builder/field-types/ct-version.js +57 -0
- package/es/tx/builder/field-types/ct-version.js.map +1 -0
- package/es/tx/builder/field-types/encoded.d.ts +1 -2
- package/es/tx/builder/field-types/encoded.js +18 -0
- package/es/tx/builder/field-types/encoded.js.map +1 -0
- package/es/tx/builder/field-types/entry.d.ts +5 -6
- package/es/tx/builder/field-types/entry.js +26 -0
- package/es/tx/builder/field-types/entry.js.map +1 -0
- package/es/tx/builder/field-types/enumeration.d.ts +0 -1
- package/es/tx/builder/field-types/enumeration.js +27 -0
- package/es/tx/builder/field-types/enumeration.js.map +1 -0
- package/es/tx/builder/field-types/fee.d.ts +8 -9
- package/es/tx/builder/field-types/fee.js +160 -0
- package/es/tx/builder/field-types/fee.js.map +1 -0
- package/es/tx/builder/field-types/field.d.ts +0 -1
- package/es/tx/builder/field-types/field.js +10 -0
- package/es/tx/builder/field-types/field.js.map +1 -0
- package/es/tx/builder/field-types/gas-limit.d.ts +4 -5
- package/es/tx/builder/field-types/gas-limit.js +31 -0
- package/es/tx/builder/field-types/gas-limit.js.map +1 -0
- package/es/tx/builder/field-types/gas-price.d.ts +10 -8
- package/es/tx/builder/field-types/gas-price.js +53 -0
- package/es/tx/builder/field-types/gas-price.js.map +1 -0
- package/es/tx/builder/field-types/interface.d.ts +7 -0
- package/es/tx/builder/field-types/interface.js +2 -0
- package/es/tx/builder/field-types/interface.js.map +1 -0
- package/es/tx/builder/field-types/map.d.ts +6 -7
- package/es/tx/builder/field-types/map.js +38 -0
- package/es/tx/builder/field-types/map.js.map +1 -0
- package/es/tx/builder/field-types/mptree.d.ts +12 -13
- package/es/tx/builder/field-types/mptree.js +223 -0
- package/es/tx/builder/field-types/mptree.js.map +1 -0
- package/es/tx/builder/field-types/name-fee.d.ts +3 -4
- package/es/tx/builder/field-types/name-fee.js +22 -0
- package/es/tx/builder/field-types/name-fee.js.map +1 -0
- package/es/tx/builder/field-types/name-id.d.ts +2 -3
- package/es/tx/builder/field-types/name-id.js +14 -0
- package/es/tx/builder/field-types/name-id.js.map +1 -0
- package/es/tx/builder/field-types/name.d.ts +1 -2
- package/es/tx/builder/field-types/name.js +16 -0
- package/es/tx/builder/field-types/name.js.map +1 -0
- package/es/tx/builder/field-types/nonce.d.ts +6 -4
- package/es/tx/builder/field-types/nonce.js +40 -0
- package/es/tx/builder/field-types/nonce.js.map +1 -0
- package/es/tx/builder/field-types/pointers.d.ts +9 -18
- package/es/tx/builder/field-types/pointers.js +69 -0
- package/es/tx/builder/field-types/pointers.js.map +1 -0
- package/es/tx/builder/field-types/query-fee.d.ts +4 -5
- package/es/tx/builder/field-types/query-fee.js +21 -0
- package/es/tx/builder/field-types/query-fee.js.map +1 -0
- package/es/tx/builder/field-types/raw.d.ts +0 -1
- package/es/tx/builder/field-types/raw.js +10 -0
- package/es/tx/builder/field-types/raw.js.map +1 -0
- package/es/tx/builder/field-types/short-u-int-const.d.ts +0 -1
- package/es/tx/builder/field-types/short-u-int-const.js +20 -0
- package/es/tx/builder/field-types/short-u-int-const.js.map +1 -0
- package/es/tx/builder/field-types/short-u-int.d.ts +0 -1
- package/es/tx/builder/field-types/short-u-int.js +10 -0
- package/es/tx/builder/field-types/short-u-int.js.map +1 -0
- package/es/tx/builder/field-types/string.d.ts +0 -1
- package/es/tx/builder/field-types/string.js +10 -0
- package/es/tx/builder/field-types/string.js.map +1 -0
- package/es/tx/builder/field-types/transaction.d.ts +10 -0
- package/es/tx/builder/field-types/transaction.js +26 -0
- package/es/tx/builder/field-types/transaction.js.map +1 -0
- package/es/tx/builder/field-types/ttl.d.ts +6 -11
- package/es/tx/builder/field-types/ttl.js +32 -0
- package/es/tx/builder/field-types/ttl.js.map +1 -0
- package/es/tx/builder/field-types/u-int.d.ts +1 -2
- package/es/tx/builder/field-types/u-int.js +13 -0
- package/es/tx/builder/field-types/u-int.js.map +1 -0
- package/es/tx/builder/field-types/with-default.js +9 -0
- package/es/tx/builder/field-types/with-default.js.map +1 -0
- package/es/tx/builder/field-types/with-formatting.js +9 -0
- package/es/tx/builder/field-types/with-formatting.js.map +1 -0
- package/es/tx/builder/field-types/wrapped.d.ts +5 -6
- package/es/tx/builder/field-types/wrapped.js +20 -0
- package/es/tx/builder/field-types/wrapped.js.map +1 -0
- package/es/tx/builder/helpers.d.ts +21 -16
- package/es/tx/builder/helpers.js +215 -0
- package/es/tx/builder/helpers.js.map +1 -0
- package/es/tx/builder/index.d.ts +4 -13
- package/es/tx/builder/index.js +91 -0
- package/es/tx/builder/index.js.map +1 -0
- package/es/tx/builder/schema.d.ts +587 -1724
- package/es/tx/builder/schema.generated.d.ts +45 -1001
- package/es/tx/builder/schema.generated.js +2 -0
- package/es/tx/builder/schema.generated.js.map +1 -0
- package/es/tx/builder/schema.js +357 -0
- package/es/tx/builder/schema.js.map +1 -0
- package/es/tx/execution-cost.d.ts +5 -2
- package/es/tx/execution-cost.js +143 -0
- package/es/tx/execution-cost.js.map +1 -0
- package/es/tx/transaction-signer.d.ts +2 -1
- package/es/tx/transaction-signer.js +25 -0
- package/es/tx/transaction-signer.js.map +1 -0
- package/es/tx/validator.d.ts +2 -2
- package/es/tx/validator.js +207 -0
- package/es/tx/validator.js.map +1 -0
- package/es/typings/blakejs/index.d.js +2 -0
- package/es/typings/blakejs/index.d.js.map +1 -0
- package/es/typings/sha-js/index.d.js +2 -0
- package/es/typings/sha-js/index.d.js.map +1 -0
- package/es/typings/tweetnacl-auth/index.d.js +2 -0
- package/es/typings/tweetnacl-auth/index.d.js.map +1 -0
- package/es/utils/MiddlewarePage.d.ts +37 -0
- package/es/utils/MiddlewarePage.js +57 -0
- package/es/utils/MiddlewarePage.js.map +1 -0
- package/es/utils/amount-formatter.d.ts +19 -5
- package/es/utils/amount-formatter.js +113 -0
- package/es/utils/amount-formatter.js.map +1 -0
- package/es/utils/autorest.d.ts +7 -2
- package/es/utils/autorest.js +212 -0
- package/es/utils/autorest.js.map +1 -0
- package/es/utils/bignumber.js +21 -0
- package/es/utils/bignumber.js.map +1 -0
- package/es/utils/bytes.d.ts +2 -1
- package/es/utils/bytes.js +32 -0
- package/es/utils/bytes.js.map +1 -0
- package/es/utils/crypto.d.ts +48 -59
- package/es/utils/crypto.js +162 -0
- package/es/utils/crypto.js.map +1 -0
- package/es/utils/encoder-types.d.ts +3 -1
- package/es/utils/encoder-types.js +36 -0
- package/es/utils/encoder-types.js.map +1 -0
- package/es/utils/encoder.d.ts +4 -3
- package/es/utils/encoder.js +106 -0
- package/es/utils/encoder.js.map +1 -0
- package/es/utils/errors.d.ts +4 -10
- package/es/utils/errors.js +746 -0
- package/es/utils/errors.js.map +1 -0
- package/es/utils/json-big.d.ts +1 -1
- package/es/utils/json-big.js +25 -0
- package/es/utils/json-big.js.map +1 -0
- package/es/utils/jwt.d.ts +2 -2
- package/es/utils/jwt.js +112 -0
- package/es/utils/jwt.js.map +1 -0
- package/es/utils/other.d.ts +4 -4
- package/es/utils/other.js +48 -0
- package/es/utils/other.js.map +1 -0
- package/es/utils/semver-satisfies.js +12 -0
- package/es/utils/semver-satisfies.js.map +1 -0
- package/es/utils/string.js +18 -0
- package/es/utils/string.js.map +1 -0
- package/es/utils/typed-data.d.ts +6 -2
- package/es/utils/typed-data.js +58 -0
- package/es/utils/typed-data.js.map +1 -0
- package/es/utils/wrap-proxy.js +15 -0
- package/es/utils/wrap-proxy.js.map +1 -0
- package/package.json +91 -113
- package/bin/aesophia_cli_8 +0 -0
- package/dist/aepp-sdk.browser-script.js +0 -3
- package/dist/aepp-sdk.browser-script.js.LICENSE.txt +0 -12
- package/dist/aepp-sdk.browser-script.js.map +0 -1
- package/dist/aepp-sdk.browser.js +0 -3
- package/dist/aepp-sdk.browser.js.map +0 -1
- package/dist/aepp-sdk.js +0 -30486
- package/dist/aepp-sdk.js.map +0 -1
- package/es/AeSdk.mjs +0 -76
- package/es/AeSdk.mjs.map +0 -1
- package/es/AeSdkAepp.mjs +0 -145
- package/es/AeSdkAepp.mjs.map +0 -1
- package/es/AeSdkBase.mjs +0 -289
- package/es/AeSdkBase.mjs.map +0 -1
- package/es/AeSdkMethods.mjs +0 -92
- package/es/AeSdkMethods.mjs.map +0 -1
- package/es/AeSdkWallet.mjs +0 -368
- package/es/AeSdkWallet.mjs.map +0 -1
- package/es/Middleware.mjs +0 -94
- package/es/Middleware.mjs.map +0 -1
- package/es/MiddlewareSubscriber.mjs +0 -189
- package/es/MiddlewareSubscriber.mjs.map +0 -1
- package/es/Node.mjs +0 -148
- package/es/Node.mjs.map +0 -1
- package/es/account/Base.mjs +0 -134
- package/es/account/Base.mjs.map +0 -1
- package/es/account/Generalized.mjs +0 -129
- package/es/account/Generalized.mjs.map +0 -1
- package/es/account/Ledger.mjs +0 -131
- package/es/account/Ledger.mjs.map +0 -1
- package/es/account/LedgerFactory.mjs +0 -79
- package/es/account/LedgerFactory.mjs.map +0 -1
- package/es/account/Memory.mjs +0 -187
- package/es/account/Memory.mjs.map +0 -1
- package/es/account/Rpc.mjs +0 -178
- package/es/account/Rpc.mjs.map +0 -1
- package/es/aens.mjs +0 -290
- package/es/aens.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection/Browser.mjs +0 -52
- package/es/aepp-wallet-communication/connection/Browser.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +0 -55
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -98
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection-proxy.mjs +0 -17
- package/es/aepp-wallet-communication/connection-proxy.mjs.map +0 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +0 -134
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +0 -1
- package/es/aepp-wallet-communication/rpc/types.mjs +0 -3
- package/es/aepp-wallet-communication/rpc/types.mjs.map +0 -1
- package/es/aepp-wallet-communication/schema.mjs +0 -187
- package/es/aepp-wallet-communication/schema.mjs.map +0 -1
- package/es/aepp-wallet-communication/wallet-detector.mjs +0 -44
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +0 -1
- package/es/apis/compiler/compiler.mjs +0 -513
- package/es/apis/compiler/compiler.mjs.map +0 -1
- package/es/apis/compiler/index.mjs +0 -3
- package/es/apis/compiler/index.mjs.map +0 -1
- package/es/apis/compiler/models/index.mjs +0 -2
- package/es/apis/compiler/models/index.mjs.map +0 -1
- package/es/apis/compiler/models/mappers.mjs +0 -554
- package/es/apis/compiler/models/mappers.mjs.map +0 -1
- package/es/apis/compiler/models/parameters.mjs +0 -67
- package/es/apis/compiler/models/parameters.mjs.map +0 -1
- package/es/apis/middleware/index.mjs +0 -3
- package/es/apis/middleware/index.mjs.map +0 -1
- package/es/apis/middleware/middleware.mjs +0 -1623
- package/es/apis/middleware/middleware.mjs.map +0 -1
- package/es/apis/middleware/models/index.mjs +0 -630
- package/es/apis/middleware/models/index.mjs.map +0 -1
- package/es/apis/middleware/models/mappers.mjs +0 -3707
- package/es/apis/middleware/models/mappers.mjs.map +0 -1
- package/es/apis/middleware/models/parameters.mjs +0 -444
- package/es/apis/middleware/models/parameters.mjs.map +0 -1
- package/es/apis/node/index.mjs +0 -3
- package/es/apis/node/index.mjs.map +0 -1
- package/es/apis/node/models/index.mjs +0 -2
- package/es/apis/node/models/index.mjs.map +0 -1
- package/es/apis/node/models/mappers.mjs +0 -4395
- package/es/apis/node/models/mappers.mjs.map +0 -1
- package/es/apis/node/models/parameters.mjs +0 -165
- package/es/apis/node/models/parameters.mjs.map +0 -1
- package/es/apis/node/node.mjs +0 -1240
- package/es/apis/node/node.mjs.map +0 -1
- package/es/chain.mjs +0 -441
- package/es/chain.mjs.map +0 -1
- package/es/channel/Base.mjs +0 -254
- package/es/channel/Base.mjs.map +0 -1
- package/es/channel/Contract.mjs +0 -383
- package/es/channel/Contract.mjs.map +0 -1
- package/es/channel/Spend.mjs +0 -357
- package/es/channel/Spend.mjs.map +0 -1
- package/es/channel/handlers.mjs +0 -383
- package/es/channel/handlers.mjs.map +0 -1
- package/es/channel/internal.mjs +0 -237
- package/es/channel/internal.mjs.map +0 -1
- package/es/contract/Contract.mjs +0 -540
- package/es/contract/Contract.mjs.map +0 -1
- package/es/contract/compiler/Base.mjs +0 -5
- package/es/contract/compiler/Base.mjs.map +0 -1
- package/es/contract/compiler/Cli.mjs +0 -197
- package/es/contract/compiler/Cli.mjs.map +0 -1
- package/es/contract/compiler/Cli8.d.ts +0 -13
- package/es/contract/compiler/Cli8.mjs +0 -22
- package/es/contract/compiler/Cli8.mjs.map +0 -1
- package/es/contract/compiler/Http.mjs +0 -126
- package/es/contract/compiler/Http.mjs.map +0 -1
- package/es/contract/compiler/HttpNode.mjs +0 -31
- package/es/contract/compiler/HttpNode.mjs.map +0 -1
- package/es/contract/compiler/getFileSystem.mjs +0 -40
- package/es/contract/compiler/getFileSystem.mjs.map +0 -1
- package/es/contract/delegation-signature.d.ts +0 -45
- package/es/contract/delegation-signature.mjs +0 -80
- package/es/contract/delegation-signature.mjs.map +0 -1
- package/es/contract/ga.mjs +0 -135
- package/es/contract/ga.mjs.map +0 -1
- package/es/deprecated.d.ts +0 -62
- package/es/deprecated.mjs +0 -87
- package/es/deprecated.mjs.map +0 -1
- package/es/index-browser.mjs +0 -49
- package/es/index-browser.mjs.map +0 -1
- package/es/index.mjs +0 -6
- package/es/index.mjs.map +0 -1
- package/es/oracle.d.ts +0 -125
- package/es/oracle.mjs +0 -242
- package/es/oracle.mjs.map +0 -1
- package/es/send-transaction.mjs +0 -109
- package/es/send-transaction.mjs.map +0 -1
- package/es/spend.mjs +0 -90
- package/es/spend.mjs.map +0 -1
- package/es/tx/builder/SchemaTypes.mjs +0 -2
- package/es/tx/builder/SchemaTypes.mjs.map +0 -1
- package/es/tx/builder/common.mjs +0 -42
- package/es/tx/builder/common.mjs.map +0 -1
- package/es/tx/builder/constants.mjs +0 -147
- package/es/tx/builder/constants.mjs.map +0 -1
- package/es/tx/builder/delegation/index.mjs +0 -24
- package/es/tx/builder/delegation/index.mjs.map +0 -1
- package/es/tx/builder/delegation/schema.generated.mjs +0 -2
- package/es/tx/builder/delegation/schema.generated.mjs.map +0 -1
- package/es/tx/builder/delegation/schema.mjs +0 -54
- package/es/tx/builder/delegation/schema.mjs.map +0 -1
- package/es/tx/builder/field-types/abi-version.mjs +0 -37
- package/es/tx/builder/field-types/abi-version.mjs.map +0 -1
- package/es/tx/builder/field-types/address.mjs +0 -48
- package/es/tx/builder/field-types/address.mjs.map +0 -1
- package/es/tx/builder/field-types/array.mjs +0 -11
- package/es/tx/builder/field-types/array.mjs.map +0 -1
- package/es/tx/builder/field-types/boolean.mjs +0 -13
- package/es/tx/builder/field-types/boolean.mjs.map +0 -1
- package/es/tx/builder/field-types/coin-amount.mjs +0 -18
- package/es/tx/builder/field-types/coin-amount.mjs.map +0 -1
- package/es/tx/builder/field-types/ct-version.mjs +0 -75
- package/es/tx/builder/field-types/ct-version.mjs.map +0 -1
- package/es/tx/builder/field-types/encoded.mjs +0 -21
- package/es/tx/builder/field-types/encoded.mjs.map +0 -1
- package/es/tx/builder/field-types/entry.mjs +0 -29
- package/es/tx/builder/field-types/entry.mjs.map +0 -1
- package/es/tx/builder/field-types/enumeration.mjs +0 -30
- package/es/tx/builder/field-types/enumeration.mjs.map +0 -1
- package/es/tx/builder/field-types/fee.mjs +0 -160
- package/es/tx/builder/field-types/fee.mjs.map +0 -1
- package/es/tx/builder/field-types/field.mjs +0 -13
- package/es/tx/builder/field-types/field.mjs.map +0 -1
- package/es/tx/builder/field-types/gas-limit.mjs +0 -31
- package/es/tx/builder/field-types/gas-limit.mjs.map +0 -1
- package/es/tx/builder/field-types/gas-price.mjs +0 -60
- package/es/tx/builder/field-types/gas-price.mjs.map +0 -1
- package/es/tx/builder/field-types/index.d.ts +0 -39
- package/es/tx/builder/field-types/index.mjs +0 -32
- package/es/tx/builder/field-types/index.mjs.map +0 -1
- package/es/tx/builder/field-types/map.mjs +0 -38
- package/es/tx/builder/field-types/map.mjs.map +0 -1
- package/es/tx/builder/field-types/mptree.mjs +0 -251
- package/es/tx/builder/field-types/mptree.mjs.map +0 -1
- package/es/tx/builder/field-types/name-fee.mjs +0 -22
- package/es/tx/builder/field-types/name-fee.mjs.map +0 -1
- package/es/tx/builder/field-types/name-id.mjs +0 -14
- package/es/tx/builder/field-types/name-id.mjs.map +0 -1
- package/es/tx/builder/field-types/name.mjs +0 -16
- package/es/tx/builder/field-types/name.mjs.map +0 -1
- package/es/tx/builder/field-types/nonce.mjs +0 -31
- package/es/tx/builder/field-types/nonce.mjs.map +0 -1
- package/es/tx/builder/field-types/pointers.mjs +0 -33
- package/es/tx/builder/field-types/pointers.mjs.map +0 -1
- package/es/tx/builder/field-types/pointers2.d.ts +0 -23
- package/es/tx/builder/field-types/pointers2.mjs +0 -65
- package/es/tx/builder/field-types/pointers2.mjs.map +0 -1
- package/es/tx/builder/field-types/query-fee.mjs +0 -20
- package/es/tx/builder/field-types/query-fee.mjs.map +0 -1
- package/es/tx/builder/field-types/raw.mjs +0 -13
- package/es/tx/builder/field-types/raw.mjs.map +0 -1
- package/es/tx/builder/field-types/short-u-int-const.mjs +0 -20
- package/es/tx/builder/field-types/short-u-int-const.mjs.map +0 -1
- package/es/tx/builder/field-types/short-u-int.mjs +0 -10
- package/es/tx/builder/field-types/short-u-int.mjs.map +0 -1
- package/es/tx/builder/field-types/string.mjs +0 -10
- package/es/tx/builder/field-types/string.mjs.map +0 -1
- package/es/tx/builder/field-types/ttl.mjs +0 -32
- package/es/tx/builder/field-types/ttl.mjs.map +0 -1
- package/es/tx/builder/field-types/u-int.mjs +0 -13
- package/es/tx/builder/field-types/u-int.mjs.map +0 -1
- package/es/tx/builder/field-types/with-default.mjs +0 -9
- package/es/tx/builder/field-types/with-default.mjs.map +0 -1
- package/es/tx/builder/field-types/with-formatting.mjs +0 -9
- package/es/tx/builder/field-types/with-formatting.mjs.map +0 -1
- package/es/tx/builder/field-types/wrapped.mjs +0 -20
- package/es/tx/builder/field-types/wrapped.mjs.map +0 -1
- package/es/tx/builder/helpers.mjs +0 -209
- package/es/tx/builder/helpers.mjs.map +0 -1
- package/es/tx/builder/index.mjs +0 -98
- package/es/tx/builder/index.mjs.map +0 -1
- package/es/tx/builder/schema.generated.mjs +0 -2
- package/es/tx/builder/schema.generated.mjs.map +0 -1
- package/es/tx/builder/schema.mjs +0 -513
- package/es/tx/builder/schema.mjs.map +0 -1
- package/es/tx/execution-cost.mjs +0 -139
- package/es/tx/execution-cost.mjs.map +0 -1
- package/es/tx/transaction-signer.mjs +0 -24
- package/es/tx/transaction-signer.mjs.map +0 -1
- package/es/tx/validator.mjs +0 -214
- package/es/tx/validator.mjs.map +0 -1
- package/es/typings/@aeternity__uuid/index.d.mjs +0 -2
- package/es/typings/@aeternity__uuid/index.d.mjs.map +0 -1
- package/es/typings/bip32-path/index.d.mjs +0 -2
- package/es/typings/bip32-path/index.d.mjs.map +0 -1
- package/es/typings/blakejs/index.d.mjs +0 -2
- package/es/typings/blakejs/index.d.mjs.map +0 -1
- package/es/typings/sha-js/index.d.mjs +0 -2
- package/es/typings/sha-js/index.d.mjs.map +0 -1
- package/es/typings/tweetnacl-auth/index.d.mjs +0 -2
- package/es/typings/tweetnacl-auth/index.d.mjs.map +0 -1
- package/es/utils/amount-formatter.mjs +0 -97
- package/es/utils/amount-formatter.mjs.map +0 -1
- package/es/utils/autorest.mjs +0 -141
- package/es/utils/autorest.mjs.map +0 -1
- package/es/utils/bignumber.mjs +0 -21
- package/es/utils/bignumber.mjs.map +0 -1
- package/es/utils/bytes.mjs +0 -32
- package/es/utils/bytes.mjs.map +0 -1
- package/es/utils/crypto.mjs +0 -193
- package/es/utils/crypto.mjs.map +0 -1
- package/es/utils/encoder-types.mjs +0 -35
- package/es/utils/encoder-types.mjs.map +0 -1
- package/es/utils/encoder.mjs +0 -110
- package/es/utils/encoder.mjs.map +0 -1
- package/es/utils/errors.mjs +0 -756
- package/es/utils/errors.mjs.map +0 -1
- package/es/utils/hd-wallet.d.ts +0 -61
- package/es/utils/hd-wallet.mjs +0 -169
- package/es/utils/hd-wallet.mjs.map +0 -1
- package/es/utils/json-big.mjs +0 -25
- package/es/utils/json-big.mjs.map +0 -1
- package/es/utils/jwt.mjs +0 -120
- package/es/utils/jwt.mjs.map +0 -1
- package/es/utils/keystore.d.ts +0 -57
- package/es/utils/keystore.mjs +0 -140
- package/es/utils/keystore.mjs.map +0 -1
- package/es/utils/other.mjs +0 -49
- package/es/utils/other.mjs.map +0 -1
- package/es/utils/semver-satisfies.mjs +0 -12
- package/es/utils/semver-satisfies.mjs.map +0 -1
- package/es/utils/string.mjs +0 -18
- package/es/utils/string.mjs.map +0 -1
- package/es/utils/typed-data.mjs +0 -55
- package/es/utils/typed-data.mjs.map +0 -1
- package/es/utils/wrap-proxy.mjs +0 -15
- package/es/utils/wrap-proxy.mjs.map +0 -1
- package/src/AeSdk.ts +0 -75
- package/src/AeSdkAepp.ts +0 -179
- package/src/AeSdkBase.ts +0 -315
- package/src/AeSdkMethods.ts +0 -149
- package/src/AeSdkWallet.ts +0 -383
- package/src/Middleware.ts +0 -149
- package/src/MiddlewareSubscriber.ts +0 -207
- package/src/Node.ts +0 -213
- package/src/account/Base.ts +0 -224
- package/src/account/Generalized.ts +0 -113
- package/src/account/Ledger.ts +0 -161
- package/src/account/LedgerFactory.ts +0 -86
- package/src/account/Memory.ts +0 -218
- package/src/account/Rpc.ts +0 -170
- package/src/aens.ts +0 -372
- package/src/aepp-wallet-communication/connection/Browser.ts +0 -54
- package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +0 -57
- package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +0 -105
- package/src/aepp-wallet-communication/connection-proxy.ts +0 -19
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +0 -153
- package/src/aepp-wallet-communication/rpc/types.ts +0 -115
- package/src/aepp-wallet-communication/schema.ts +0 -212
- package/src/aepp-wallet-communication/wallet-detector.ts +0 -54
- package/src/apis/compiler/compiler.ts +0 -527
- package/src/apis/compiler/index.ts +0 -2
- package/src/apis/compiler/models/index.ts +0 -236
- package/src/apis/compiler/models/mappers.ts +0 -555
- package/src/apis/compiler/models/parameters.ts +0 -87
- package/src/apis/middleware/index.ts +0 -2
- package/src/apis/middleware/middleware.ts +0 -1928
- package/src/apis/middleware/models/index.ts +0 -1949
- package/src/apis/middleware/models/mappers.ts +0 -3808
- package/src/apis/middleware/models/parameters.ts +0 -493
- package/src/apis/node/index.ts +0 -2
- package/src/apis/node/models/index.ts +0 -1335
- package/src/apis/node/models/mappers.ts +0 -4508
- package/src/apis/node/models/parameters.ts +0 -188
- package/src/apis/node/node.ts +0 -1420
- package/src/chain.ts +0 -433
- package/src/channel/Base.ts +0 -302
- package/src/channel/Contract.ts +0 -465
- package/src/channel/Spend.ts +0 -385
- package/src/channel/handlers.ts +0 -386
- package/src/channel/internal.ts +0 -461
- package/src/contract/Contract.ts +0 -629
- package/src/contract/compiler/Base.ts +0 -123
- package/src/contract/compiler/Cli.ts +0 -173
- package/src/contract/compiler/Cli8.ts +0 -17
- package/src/contract/compiler/Http.ts +0 -134
- package/src/contract/compiler/HttpNode.ts +0 -32
- package/src/contract/compiler/getFileSystem.ts +0 -42
- package/src/contract/delegation-signature.ts +0 -88
- package/src/contract/ga.ts +0 -138
- package/src/deprecated.ts +0 -77
- package/src/index-browser.ts +0 -121
- package/src/index.ts +0 -6
- package/src/oracle.ts +0 -311
- package/src/send-transaction.ts +0 -136
- package/src/spend.ts +0 -136
- package/src/tx/builder/SchemaTypes.ts +0 -79
- package/src/tx/builder/common.ts +0 -74
- package/src/tx/builder/constants.ts +0 -155
- package/src/tx/builder/delegation/index.ts +0 -28
- package/src/tx/builder/delegation/schema.generated.ts +0 -143
- package/src/tx/builder/delegation/schema.ts +0 -61
- package/src/tx/builder/field-types/abi-version.ts +0 -44
- package/src/tx/builder/field-types/address.ts +0 -62
- package/src/tx/builder/field-types/array.ts +0 -19
- package/src/tx/builder/field-types/boolean.ts +0 -9
- package/src/tx/builder/field-types/coin-amount.ts +0 -26
- package/src/tx/builder/field-types/ct-version.ts +0 -83
- package/src/tx/builder/field-types/encoded.ts +0 -27
- package/src/tx/builder/field-types/entry.ts +0 -33
- package/src/tx/builder/field-types/enumeration.ts +0 -32
- package/src/tx/builder/field-types/fee.ts +0 -191
- package/src/tx/builder/field-types/field.ts +0 -9
- package/src/tx/builder/field-types/gas-limit.ts +0 -46
- package/src/tx/builder/field-types/gas-price.ts +0 -67
- package/src/tx/builder/field-types/index.ts +0 -40
- package/src/tx/builder/field-types/map.ts +0 -45
- package/src/tx/builder/field-types/mptree.ts +0 -243
- package/src/tx/builder/field-types/name-fee.ts +0 -32
- package/src/tx/builder/field-types/name-id.ts +0 -17
- package/src/tx/builder/field-types/name.ts +0 -18
- package/src/tx/builder/field-types/nonce.ts +0 -46
- package/src/tx/builder/field-types/pointers.ts +0 -41
- package/src/tx/builder/field-types/pointers2.ts +0 -62
- package/src/tx/builder/field-types/query-fee.ts +0 -25
- package/src/tx/builder/field-types/raw.ts +0 -9
- package/src/tx/builder/field-types/short-u-int-const.ts +0 -30
- package/src/tx/builder/field-types/short-u-int.ts +0 -11
- package/src/tx/builder/field-types/string.ts +0 -11
- package/src/tx/builder/field-types/ttl.ts +0 -34
- package/src/tx/builder/field-types/u-int.ts +0 -15
- package/src/tx/builder/field-types/with-default.ts +0 -18
- package/src/tx/builder/field-types/with-formatting.ts +0 -18
- package/src/tx/builder/field-types/wrapped.ts +0 -32
- package/src/tx/builder/helpers.ts +0 -252
- package/src/tx/builder/index.ts +0 -123
- package/src/tx/builder/schema.generated.ts +0 -2049
- package/src/tx/builder/schema.ts +0 -612
- package/src/tx/execution-cost.ts +0 -164
- package/src/tx/transaction-signer.ts +0 -27
- package/src/tx/validator.ts +0 -222
- package/src/typings/@aeternity__uuid/index.d.ts +0 -5
- package/src/typings/bip32-path/index.d.ts +0 -33
- package/src/typings/blakejs/index.d.ts +0 -5
- package/src/typings/sha-js/index.d.ts +0 -5
- package/src/typings/tweetnacl-auth/index.d.ts +0 -14
- package/src/utils/amount-formatter.ts +0 -98
- package/src/utils/autorest.ts +0 -153
- package/src/utils/bignumber.ts +0 -21
- package/src/utils/bytes.ts +0 -28
- package/src/utils/crypto.ts +0 -216
- package/src/utils/encoder-types.ts +0 -63
- package/src/utils/encoder.ts +0 -145
- package/src/utils/errors.ts +0 -777
- package/src/utils/hd-wallet.ts +0 -191
- package/src/utils/json-big.ts +0 -27
- package/src/utils/jwt.ts +0 -126
- package/src/utils/keystore.ts +0 -189
- package/src/utils/other.ts +0 -64
- package/src/utils/semver-satisfies.ts +0 -22
- package/src/utils/string.ts +0 -17
- package/src/utils/typed-data.ts +0 -69
- package/src/utils/wrap-proxy.ts +0 -24
- package/types-legacy/ts4.2/AeSdk.d.ts +0 -44
- package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -71
- package/types-legacy/ts4.2/AeSdkBase.d.ts +0 -164
- package/types-legacy/ts4.2/AeSdkMethods.d.ts +0 -146
- package/types-legacy/ts4.2/AeSdkWallet.d.ts +0 -90
- package/types-legacy/ts4.2/Middleware.d.ts +0 -46
- package/types-legacy/ts4.2/MiddlewareSubscriber.d.ts +0 -30
- package/types-legacy/ts4.2/Node.d.ts +0 -95
- package/types-legacy/ts4.2/account/Base.d.ts +0 -147
- package/types-legacy/ts4.2/account/Generalized.d.ts +0 -22
- package/types-legacy/ts4.2/account/Ledger.d.ts +0 -34
- package/types-legacy/ts4.2/account/LedgerFactory.d.ts +0 -39
- package/types-legacy/ts4.2/account/Memory.d.ts +0 -46
- package/types-legacy/ts4.2/account/Rpc.d.ts +0 -35
- package/types-legacy/ts4.2/aens.d.ts +0 -193
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/Browser.d.ts +0 -33
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
- package/types-legacy/ts4.2/aepp-wallet-communication/connection-proxy.d.ts +0 -11
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +0 -120
- package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +0 -129
- package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +0 -22
- package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +0 -86
- package/types-legacy/ts4.2/apis/compiler/index.d.ts +0 -2
- package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +0 -191
- package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +0 -22
- package/types-legacy/ts4.2/apis/compiler/models/parameters.d.ts +0 -12
- package/types-legacy/ts4.2/apis/middleware/index.d.ts +0 -2
- package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +0 -327
- package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +0 -1645
- package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +0 -109
- package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +0 -46
- package/types-legacy/ts4.2/apis/node/index.d.ts +0 -2
- package/types-legacy/ts4.2/apis/node/models/index.d.ts +0 -1129
- package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +0 -99
- package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +0 -17
- package/types-legacy/ts4.2/apis/node/node.d.ts +0 -236
- package/types-legacy/ts4.2/chain.d.ts +0 -227
- package/types-legacy/ts4.2/channel/Base.d.ts +0 -168
- package/types-legacy/ts4.2/channel/Contract.d.ts +0 -239
- package/types-legacy/ts4.2/channel/Spend.d.ts +0 -213
- package/types-legacy/ts4.2/channel/handlers.d.ts +0 -21
- package/types-legacy/ts4.2/channel/internal.d.ts +0 -232
- package/types-legacy/ts4.2/contract/Contract.d.ts +0 -164
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +0 -104
- package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +0 -26
- package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +0 -13
- package/types-legacy/ts4.2/contract/compiler/Http.d.ts +0 -28
- package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +0 -15
- package/types-legacy/ts4.2/contract/compiler/getFileSystem.d.ts +0 -6
- package/types-legacy/ts4.2/contract/delegation-signature.d.ts +0 -45
- package/types-legacy/ts4.2/contract/ga.d.ts +0 -59
- package/types-legacy/ts4.2/deprecated.d.ts +0 -62
- package/types-legacy/ts4.2/globals.d.ts +0 -16
- package/types-legacy/ts4.2/index-browser.d.ts +0 -51
- package/types-legacy/ts4.2/index.d.ts +0 -6
- package/types-legacy/ts4.2/oracle.d.ts +0 -125
- package/types-legacy/ts4.2/send-transaction.d.ts +0 -53
- package/types-legacy/ts4.2/spend.d.ts +0 -56
- package/types-legacy/ts4.2/tx/builder/SchemaTypes.d.ts +0 -37
- package/types-legacy/ts4.2/tx/builder/common.d.ts +0 -32
- package/types-legacy/ts4.2/tx/builder/constants.d.ts +0 -100
- package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +0 -20
- package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +0 -136
- package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +0 -141
- package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +0 -19
- package/types-legacy/ts4.2/tx/builder/field-types/address.d.ts +0 -21
- package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/boolean.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +0 -11
- package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +0 -72
- package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/entry.d.ts +0 -11
- package/types-legacy/ts4.2/tx/builder/field-types/enumeration.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +0 -30
- package/types-legacy/ts4.2/tx/builder/field-types/field.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +0 -16
- package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +0 -17
- package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +0 -45
- package/types-legacy/ts4.2/tx/builder/field-types/map.d.ts +0 -13
- package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +0 -48
- package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +0 -18
- package/types-legacy/ts4.2/tx/builder/field-types/name-id.d.ts +0 -11
- package/types-legacy/ts4.2/tx/builder/field-types/name.d.ts +0 -13
- package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +0 -15
- package/types-legacy/ts4.2/tx/builder/field-types/pointers.d.ts +0 -26
- package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +0 -26
- package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +0 -19
- package/types-legacy/ts4.2/tx/builder/field-types/raw.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/short-u-int.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/string.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +0 -20
- package/types-legacy/ts4.2/tx/builder/field-types/u-int.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/wrapped.d.ts +0 -14
- package/types-legacy/ts4.2/tx/builder/helpers.d.ts +0 -119
- package/types-legacy/ts4.2/tx/builder/index.d.ts +0 -62
- package/types-legacy/ts4.2/tx/builder/schema.d.ts +0 -3256
- package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +0 -2047
- package/types-legacy/ts4.2/tx/execution-cost.d.ts +0 -53
- package/types-legacy/ts4.2/tx/transaction-signer.d.ts +0 -6
- package/types-legacy/ts4.2/tx/validator.d.ts +0 -18
- package/types-legacy/ts4.2/utils/amount-formatter.d.ts +0 -41
- package/types-legacy/ts4.2/utils/autorest.d.ts +0 -7
- package/types-legacy/ts4.2/utils/bignumber.d.ts +0 -13
- package/types-legacy/ts4.2/utils/bytes.d.ts +0 -9
- package/types-legacy/ts4.2/utils/crypto.d.ts +0 -100
- package/types-legacy/ts4.2/utils/encoder-types.d.ts +0 -61
- package/types-legacy/ts4.2/utils/encoder.d.ts +0 -24
- package/types-legacy/ts4.2/utils/errors.d.ts +0 -464
- package/types-legacy/ts4.2/utils/hd-wallet.d.ts +0 -68
- package/types-legacy/ts4.2/utils/json-big.d.ts +0 -5
- package/types-legacy/ts4.2/utils/jwt.d.ts +0 -53
- package/types-legacy/ts4.2/utils/keystore.d.ts +0 -57
- package/types-legacy/ts4.2/utils/other.d.ts +0 -32
- package/types-legacy/ts4.2/utils/semver-satisfies.d.ts +0 -1
- package/types-legacy/ts4.2/utils/string.d.ts +0 -12
- package/types-legacy/ts4.2/utils/typed-data.d.ts +0 -58
- package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +0 -2
- package/types-legacy/ts4.5/AeSdk.d.ts +0 -44
- package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -71
- package/types-legacy/ts4.5/AeSdkBase.d.ts +0 -164
- package/types-legacy/ts4.5/AeSdkMethods.d.ts +0 -146
- package/types-legacy/ts4.5/AeSdkWallet.d.ts +0 -90
- package/types-legacy/ts4.5/Middleware.d.ts +0 -46
- package/types-legacy/ts4.5/MiddlewareSubscriber.d.ts +0 -30
- package/types-legacy/ts4.5/Node.d.ts +0 -95
- package/types-legacy/ts4.5/account/Base.d.ts +0 -147
- package/types-legacy/ts4.5/account/Generalized.d.ts +0 -22
- package/types-legacy/ts4.5/account/Ledger.d.ts +0 -34
- package/types-legacy/ts4.5/account/LedgerFactory.d.ts +0 -39
- package/types-legacy/ts4.5/account/Memory.d.ts +0 -46
- package/types-legacy/ts4.5/account/Rpc.d.ts +0 -35
- package/types-legacy/ts4.5/aens.d.ts +0 -193
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/Browser.d.ts +0 -33
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
- package/types-legacy/ts4.5/aepp-wallet-communication/connection-proxy.d.ts +0 -11
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +0 -120
- package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +0 -129
- package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +0 -22
- package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +0 -86
- package/types-legacy/ts4.5/apis/compiler/index.d.ts +0 -2
- package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +0 -191
- package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +0 -22
- package/types-legacy/ts4.5/apis/compiler/models/parameters.d.ts +0 -12
- package/types-legacy/ts4.5/apis/middleware/index.d.ts +0 -2
- package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +0 -327
- package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +0 -1645
- package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +0 -109
- package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +0 -46
- package/types-legacy/ts4.5/apis/node/index.d.ts +0 -2
- package/types-legacy/ts4.5/apis/node/models/index.d.ts +0 -1129
- package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +0 -99
- package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +0 -17
- package/types-legacy/ts4.5/apis/node/node.d.ts +0 -236
- package/types-legacy/ts4.5/chain.d.ts +0 -227
- package/types-legacy/ts4.5/channel/Base.d.ts +0 -168
- package/types-legacy/ts4.5/channel/Contract.d.ts +0 -239
- package/types-legacy/ts4.5/channel/Spend.d.ts +0 -213
- package/types-legacy/ts4.5/channel/handlers.d.ts +0 -21
- package/types-legacy/ts4.5/channel/internal.d.ts +0 -232
- package/types-legacy/ts4.5/contract/Contract.d.ts +0 -164
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +0 -104
- package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +0 -26
- package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +0 -13
- package/types-legacy/ts4.5/contract/compiler/Http.d.ts +0 -28
- package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +0 -15
- package/types-legacy/ts4.5/contract/compiler/getFileSystem.d.ts +0 -6
- package/types-legacy/ts4.5/contract/delegation-signature.d.ts +0 -45
- package/types-legacy/ts4.5/contract/ga.d.ts +0 -59
- package/types-legacy/ts4.5/deprecated.d.ts +0 -62
- package/types-legacy/ts4.5/index-browser.d.ts +0 -51
- package/types-legacy/ts4.5/index.d.ts +0 -5
- package/types-legacy/ts4.5/oracle.d.ts +0 -125
- package/types-legacy/ts4.5/send-transaction.d.ts +0 -53
- package/types-legacy/ts4.5/spend.d.ts +0 -56
- package/types-legacy/ts4.5/tx/builder/SchemaTypes.d.ts +0 -37
- package/types-legacy/ts4.5/tx/builder/common.d.ts +0 -32
- package/types-legacy/ts4.5/tx/builder/constants.d.ts +0 -100
- package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +0 -20
- package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +0 -136
- package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +0 -141
- package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +0 -19
- package/types-legacy/ts4.5/tx/builder/field-types/address.d.ts +0 -21
- package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/boolean.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +0 -11
- package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +0 -72
- package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/entry.d.ts +0 -11
- package/types-legacy/ts4.5/tx/builder/field-types/enumeration.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +0 -30
- package/types-legacy/ts4.5/tx/builder/field-types/field.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +0 -16
- package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +0 -17
- package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +0 -45
- package/types-legacy/ts4.5/tx/builder/field-types/map.d.ts +0 -13
- package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +0 -48
- package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +0 -18
- package/types-legacy/ts4.5/tx/builder/field-types/name-id.d.ts +0 -11
- package/types-legacy/ts4.5/tx/builder/field-types/name.d.ts +0 -13
- package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +0 -15
- package/types-legacy/ts4.5/tx/builder/field-types/pointers.d.ts +0 -26
- package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +0 -26
- package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +0 -19
- package/types-legacy/ts4.5/tx/builder/field-types/raw.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/short-u-int.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/string.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +0 -20
- package/types-legacy/ts4.5/tx/builder/field-types/u-int.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/wrapped.d.ts +0 -14
- package/types-legacy/ts4.5/tx/builder/helpers.d.ts +0 -119
- package/types-legacy/ts4.5/tx/builder/index.d.ts +0 -62
- package/types-legacy/ts4.5/tx/builder/schema.d.ts +0 -3256
- package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +0 -2047
- package/types-legacy/ts4.5/tx/execution-cost.d.ts +0 -53
- package/types-legacy/ts4.5/tx/transaction-signer.d.ts +0 -6
- package/types-legacy/ts4.5/tx/validator.d.ts +0 -18
- package/types-legacy/ts4.5/utils/amount-formatter.d.ts +0 -41
- package/types-legacy/ts4.5/utils/autorest.d.ts +0 -7
- package/types-legacy/ts4.5/utils/bignumber.d.ts +0 -13
- package/types-legacy/ts4.5/utils/bytes.d.ts +0 -9
- package/types-legacy/ts4.5/utils/crypto.d.ts +0 -100
- package/types-legacy/ts4.5/utils/encoder-types.d.ts +0 -61
- package/types-legacy/ts4.5/utils/encoder.d.ts +0 -24
- package/types-legacy/ts4.5/utils/errors.d.ts +0 -464
- package/types-legacy/ts4.5/utils/hd-wallet.d.ts +0 -68
- package/types-legacy/ts4.5/utils/json-big.d.ts +0 -5
- package/types-legacy/ts4.5/utils/jwt.d.ts +0 -53
- package/types-legacy/ts4.5/utils/keystore.d.ts +0 -57
- package/types-legacy/ts4.5/utils/other.d.ts +0 -32
- package/types-legacy/ts4.5/utils/semver-satisfies.d.ts +0 -1
- package/types-legacy/ts4.5/utils/string.d.ts +0 -12
- package/types-legacy/ts4.5/utils/typed-data.d.ts +0 -58
- package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +0 -2
- /package/dist/{aepp-sdk.browser.js.LICENSE.txt → aepp-sdk.browser.cjs.LICENSE.txt} +0 -0
|
@@ -1,67 +1,555 @@
|
|
|
1
|
+
import { MiddlewarePage } from "../../../utils/MiddlewarePage.js";
|
|
1
2
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
export interface Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
3
|
-
data?: Activity[];
|
|
4
|
-
}
|
|
5
3
|
/** Activity related to an account */
|
|
6
4
|
export interface Activity {
|
|
7
|
-
/**
|
|
8
|
-
blockHash: string
|
|
9
|
-
|
|
10
|
-
blockTime?: number;
|
|
5
|
+
/** Micro block hash */
|
|
6
|
+
blockHash: `mh_${string}`;
|
|
7
|
+
blockTime: Date;
|
|
11
8
|
/** The block height */
|
|
12
9
|
height: number;
|
|
13
|
-
/** Any object */
|
|
14
|
-
payload: Record<string, unknown>;
|
|
15
10
|
/** The event type */
|
|
16
11
|
type: ActivityType;
|
|
12
|
+
/** A mix of all activity types. */
|
|
13
|
+
payload: ActivityPayload;
|
|
14
|
+
}
|
|
15
|
+
/** A mix of all activity types. */
|
|
16
|
+
export interface ActivityPayload {
|
|
17
|
+
/** The micro block hash in which the transaction happened */
|
|
18
|
+
blockHash?: `mh_${string}`;
|
|
19
|
+
blockHeight?: number;
|
|
20
|
+
/** Encoded transaction */
|
|
21
|
+
encodedTx?: `tx_${string}`;
|
|
22
|
+
/** Transaction hash */
|
|
23
|
+
hash?: `th_${string}`;
|
|
24
|
+
/** The micro block index */
|
|
25
|
+
microIndex?: number;
|
|
26
|
+
microTime?: Date;
|
|
27
|
+
/** The signatures */
|
|
28
|
+
signatures?: string[];
|
|
29
|
+
/** The transaction */
|
|
30
|
+
tx?: Tx;
|
|
31
|
+
/** The amount of AE tokens */
|
|
32
|
+
amount?: bigint;
|
|
33
|
+
/** Contract address */
|
|
34
|
+
contractId?: `ct_${string}`;
|
|
35
|
+
logIdx?: number;
|
|
36
|
+
/** Account address */
|
|
37
|
+
recipientId?: `ak_${string}`;
|
|
38
|
+
/** Account address */
|
|
39
|
+
senderId?: `ak_${string}`;
|
|
40
|
+
/** Transaction hash */
|
|
41
|
+
txHash?: `th_${string}`;
|
|
42
|
+
/** Account address */
|
|
43
|
+
recipient?: `ak_${string}`;
|
|
44
|
+
/** Account address */
|
|
45
|
+
sender?: `ak_${string}`;
|
|
46
|
+
tokenId?: number;
|
|
47
|
+
/** The contract creation transaction hash */
|
|
48
|
+
contractTxHash?: `th_${string}`;
|
|
49
|
+
/** The contract call transaction hash */
|
|
50
|
+
callTxHash?: `th_${string}`;
|
|
51
|
+
/** The name of the function */
|
|
52
|
+
function?: string;
|
|
53
|
+
/** The transaction object */
|
|
54
|
+
internalTx?: Record<string, unknown>;
|
|
55
|
+
/** The height in which the internal call happened */
|
|
56
|
+
height?: number;
|
|
57
|
+
/** The kind of internal transfer */
|
|
58
|
+
kind?: ActivityPayloadKind;
|
|
59
|
+
/** The transaction hash of a transaction related to the internal transfer */
|
|
60
|
+
refTxHash?: `th_${string}`;
|
|
17
61
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
62
|
+
/** A mix of all transaction types. */
|
|
63
|
+
export interface Tx {
|
|
64
|
+
/** Base58Check encoded tagged pubkey */
|
|
65
|
+
recipientId?: string;
|
|
66
|
+
amount?: bigint;
|
|
67
|
+
fee: bigint;
|
|
68
|
+
ttl?: number;
|
|
69
|
+
/** Base58Check encoded tagged pubkey */
|
|
70
|
+
senderId?: string;
|
|
71
|
+
nonce?: number;
|
|
72
|
+
/** Base64Check encoded tagged byte array */
|
|
73
|
+
payload?: string;
|
|
74
|
+
/** Base58Check encoded tagged pubkey */
|
|
75
|
+
initiatorId?: string;
|
|
76
|
+
initiatorAmount?: bigint;
|
|
77
|
+
/** Base58Check encoded tagged pubkey */
|
|
78
|
+
responderId?: string;
|
|
79
|
+
responderAmount?: bigint;
|
|
80
|
+
channelReserve?: bigint;
|
|
81
|
+
lockPeriod?: number;
|
|
82
|
+
/** Base58Check encoded tagged pubkey */
|
|
83
|
+
stateHash?: string;
|
|
84
|
+
delegateIds?: Delegates;
|
|
85
|
+
/** Base58Check encoded tagged pubkey */
|
|
86
|
+
channelId?: string;
|
|
87
|
+
/** Base58Check encoded tagged pubkey */
|
|
88
|
+
fromId?: string;
|
|
89
|
+
round?: number;
|
|
90
|
+
/** Base58Check encoded tagged pubkey */
|
|
91
|
+
toId?: string;
|
|
92
|
+
update?: OffChainUpdate;
|
|
93
|
+
/** Base64Check encoded tagged byte array */
|
|
94
|
+
offchainTrees?: string;
|
|
95
|
+
initiatorAmountFinal?: number;
|
|
96
|
+
responderAmountFinal?: number;
|
|
97
|
+
/** Base64Check encoded tagged byte array */
|
|
98
|
+
poi?: string;
|
|
99
|
+
initiatorDelegateIds?: string[];
|
|
100
|
+
responderDelegateIds?: string[];
|
|
101
|
+
queryFormat?: string;
|
|
102
|
+
responseFormat?: string;
|
|
103
|
+
queryFee?: bigint;
|
|
104
|
+
oracleTtl?: RelativeTTL;
|
|
105
|
+
/** Base58Check encoded tagged pubkey */
|
|
106
|
+
accountId?: string;
|
|
107
|
+
abiVersion?: number;
|
|
108
|
+
/** Base58Check encoded tagged pubkey */
|
|
109
|
+
oracleId?: string;
|
|
110
|
+
query?: string;
|
|
111
|
+
queryTtl?: Ttl;
|
|
112
|
+
responseTtl?: RelativeTTL;
|
|
113
|
+
/** Base58Check encoded tagged value */
|
|
114
|
+
queryId?: string;
|
|
115
|
+
response?: string;
|
|
116
|
+
/** Base58Check encoded tagged value */
|
|
117
|
+
commitmentId?: string;
|
|
118
|
+
name?: string;
|
|
119
|
+
nameSalt?: number;
|
|
120
|
+
nameFee?: bigint;
|
|
121
|
+
/** Base58Check encoded tagged value */
|
|
122
|
+
nameId?: string;
|
|
123
|
+
nameTtl?: number;
|
|
124
|
+
pointers?: NamePointer[];
|
|
125
|
+
clientTtl?: number;
|
|
126
|
+
/** Base58Check encoded tagged pubkey */
|
|
127
|
+
ownerId?: string;
|
|
128
|
+
/** Base64Check encoded tagged byte array */
|
|
129
|
+
code?: string;
|
|
130
|
+
vmVersion?: number;
|
|
131
|
+
deposit?: bigint;
|
|
132
|
+
gas?: number;
|
|
133
|
+
gasPrice?: bigint;
|
|
134
|
+
/** Base64Check encoded tagged byte array */
|
|
135
|
+
callData?: string;
|
|
136
|
+
/** Base58Check encoded tagged pubkey */
|
|
137
|
+
callerId?: string;
|
|
138
|
+
/** Base58Check encoded tagged pubkey */
|
|
139
|
+
contractId?: string;
|
|
140
|
+
/** Contract authorization function hash (hex encoded) */
|
|
141
|
+
authFun?: string;
|
|
142
|
+
/** Base58Check encoded tagged pubkey */
|
|
143
|
+
gaId?: string;
|
|
144
|
+
/** Base64Check encoded tagged byte array */
|
|
145
|
+
authData?: string;
|
|
146
|
+
tx?: SignedTx;
|
|
147
|
+
/** Base58Check encoded tagged pubkey */
|
|
148
|
+
payerId?: string;
|
|
149
|
+
version: number;
|
|
150
|
+
type: TxType;
|
|
151
|
+
}
|
|
152
|
+
export interface Delegates {
|
|
153
|
+
initiator?: string[];
|
|
154
|
+
responder?: string[];
|
|
155
|
+
}
|
|
156
|
+
export interface OffChainUpdate {
|
|
157
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
158
|
+
op: "OffChainUpdate";
|
|
159
|
+
}
|
|
160
|
+
export interface RelativeTTL {
|
|
161
|
+
type: "delta";
|
|
162
|
+
value: number;
|
|
163
|
+
}
|
|
164
|
+
export interface Ttl {
|
|
165
|
+
type: TTLType;
|
|
166
|
+
value: number;
|
|
167
|
+
}
|
|
168
|
+
export interface NamePointer {
|
|
169
|
+
key: string;
|
|
170
|
+
/** Base58Check encoded tagged value */
|
|
171
|
+
encodedKey?: string;
|
|
172
|
+
/** Base58Check encoded tagged pubkey */
|
|
173
|
+
id: string;
|
|
174
|
+
}
|
|
175
|
+
export interface SignedTx {
|
|
176
|
+
/** A mix of all transaction types. */
|
|
177
|
+
tx: Tx;
|
|
178
|
+
blockHeight?: number;
|
|
179
|
+
/** Base58Check encoded tagged hash */
|
|
180
|
+
blockHash?: string;
|
|
181
|
+
/** Base58Check encoded tagged hash */
|
|
182
|
+
hash?: string;
|
|
183
|
+
/** Base64Check encoded tagged byte array */
|
|
184
|
+
encodedTx?: string;
|
|
185
|
+
/** At least one signature is required unless for Generalized Account Meta transactions */
|
|
186
|
+
signatures?: string[];
|
|
21
187
|
}
|
|
22
188
|
/** Error response from the API */
|
|
23
189
|
export interface ErrorResponse {
|
|
24
190
|
/** The message of the error raised */
|
|
25
191
|
error: string;
|
|
26
192
|
}
|
|
27
|
-
|
|
28
|
-
|
|
193
|
+
/** Response Schema for owners of AEX-141 tokens */
|
|
194
|
+
export interface Aex141TokenResponse {
|
|
195
|
+
/** NFT contract id */
|
|
196
|
+
contractId: `ct_${string}`;
|
|
197
|
+
/** Account address */
|
|
198
|
+
ownerId?: `ak_${string}`;
|
|
199
|
+
/** Non-fungible token id */
|
|
200
|
+
tokenId: number;
|
|
201
|
+
}
|
|
202
|
+
/** Response Schema for AEX9 balance responses */
|
|
203
|
+
export interface Aex9BalanceResponse {
|
|
204
|
+
/** Amount of AEX9 token */
|
|
205
|
+
amount: bigint;
|
|
206
|
+
/** Block hash, indicating a state of a balance for that block */
|
|
207
|
+
blockHash: number;
|
|
208
|
+
/** Contract id of AEX9 token */
|
|
209
|
+
contractId: `ct_${string}`;
|
|
210
|
+
/** Number of decimals of AEX9 token */
|
|
211
|
+
decimals: number;
|
|
212
|
+
/** Block height, indicating a state of a balance for that block height */
|
|
213
|
+
height: number;
|
|
214
|
+
/** Name of AEX9 token */
|
|
215
|
+
tokenName: string;
|
|
216
|
+
/** Symbol of AEX9 token */
|
|
217
|
+
tokenSymbol: string;
|
|
218
|
+
/** Transaction hash, indicating a state of a balance for that block height */
|
|
219
|
+
txHash: `th_${string}`;
|
|
220
|
+
/** Transaction index, indicating a state of a balance for that block height */
|
|
221
|
+
txIndex: number;
|
|
222
|
+
/** Transaction type, indicating a state of a balance for that block height */
|
|
223
|
+
txType: string;
|
|
224
|
+
}
|
|
225
|
+
/** DEX swap */
|
|
226
|
+
export interface DexSwap {
|
|
227
|
+
amounts: DexSwapAmounts;
|
|
228
|
+
action: DexSwapAction;
|
|
229
|
+
/** Account address */
|
|
230
|
+
caller: `ak_${string}`;
|
|
231
|
+
fromToken: string;
|
|
232
|
+
toToken: string;
|
|
233
|
+
logIdx: number;
|
|
234
|
+
/** Account address */
|
|
235
|
+
toAccount: `ak_${string}`;
|
|
236
|
+
/** Transaction hash */
|
|
237
|
+
txHash: `th_${string}`;
|
|
238
|
+
/** Contract address */
|
|
239
|
+
fromContract: `ct_${string}`;
|
|
240
|
+
/** Contract address */
|
|
241
|
+
toContract: `ct_${string}`;
|
|
242
|
+
fromAmount: bigint;
|
|
243
|
+
toAmount: bigint;
|
|
244
|
+
fromDecimals: number;
|
|
245
|
+
toDecimals: number;
|
|
246
|
+
microTime: Date;
|
|
247
|
+
height: number;
|
|
248
|
+
}
|
|
249
|
+
export interface DexSwapAmounts {
|
|
250
|
+
amount0In: bigint;
|
|
251
|
+
amount1In: bigint;
|
|
252
|
+
amount0Out: bigint;
|
|
253
|
+
amount1Out: bigint;
|
|
254
|
+
}
|
|
255
|
+
/** Name Claim */
|
|
256
|
+
export interface NameClaim {
|
|
257
|
+
activeFrom: number;
|
|
258
|
+
/** Transaction hash */
|
|
259
|
+
sourceTxHash: `th_${string}`;
|
|
260
|
+
sourceTxType: string;
|
|
261
|
+
/** Micro block hash */
|
|
262
|
+
blockHash: `mh_${string}`;
|
|
263
|
+
height: number;
|
|
264
|
+
tx: NameClaimTx;
|
|
265
|
+
internalSource?: boolean;
|
|
266
|
+
}
|
|
267
|
+
export interface NameClaimTx {
|
|
268
|
+
name: string;
|
|
269
|
+
nameSalt: number;
|
|
270
|
+
nameFee?: bigint;
|
|
271
|
+
fee: bigint;
|
|
272
|
+
ttl?: number;
|
|
273
|
+
/** Base58Check encoded tagged pubkey */
|
|
274
|
+
accountId: string;
|
|
275
|
+
nonce?: number;
|
|
276
|
+
}
|
|
277
|
+
/** Resource not found on the API */
|
|
278
|
+
export interface NotFoundResponse {
|
|
279
|
+
/** The message of the error raised */
|
|
280
|
+
error: string;
|
|
281
|
+
}
|
|
282
|
+
/** Pointee */
|
|
283
|
+
export interface Pointee {
|
|
284
|
+
active: boolean;
|
|
285
|
+
/** AENS name */
|
|
286
|
+
name: `${string}.chain`;
|
|
287
|
+
key: string;
|
|
288
|
+
/** Micro block hash */
|
|
289
|
+
blockHash: `mh_${string}`;
|
|
290
|
+
tx: NameUpdateTx;
|
|
291
|
+
sourceTxType: string;
|
|
292
|
+
/** Transaction hash */
|
|
293
|
+
sourceTxHash: `th_${string}`;
|
|
294
|
+
blockHeight: number;
|
|
295
|
+
blockTime: Date;
|
|
296
|
+
}
|
|
297
|
+
export interface NameUpdateTx {
|
|
298
|
+
/** Base58Check encoded tagged value */
|
|
299
|
+
nameId: string;
|
|
300
|
+
nameTtl: number;
|
|
301
|
+
pointers: NamePointer[];
|
|
302
|
+
clientTtl: number;
|
|
303
|
+
fee: bigint;
|
|
304
|
+
ttl?: number;
|
|
305
|
+
/** Base58Check encoded tagged pubkey */
|
|
306
|
+
accountId: string;
|
|
307
|
+
nonce?: number;
|
|
308
|
+
}
|
|
309
|
+
export interface PathsXcg812V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchema {
|
|
310
|
+
/** The contract create transactions count */
|
|
311
|
+
contractCreateTx?: Get200ApplicationJsonProperties;
|
|
312
|
+
/** The contract call transactions count */
|
|
313
|
+
contractCallTx?: PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx;
|
|
314
|
+
/** The ga attach transactions count */
|
|
315
|
+
gaAttachTx?: Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx;
|
|
316
|
+
/** The ga meta transactions count */
|
|
317
|
+
gaMetaTx?: Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx;
|
|
318
|
+
/** The channel close mutual transactions count */
|
|
319
|
+
channelCloseMutualTx?: PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx;
|
|
320
|
+
/** The channel close solo transactions count */
|
|
321
|
+
channelCloseSoloTx?: Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx;
|
|
322
|
+
/** The channel create transactions count */
|
|
323
|
+
channelCreateTx?: PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx;
|
|
324
|
+
/** The channel deposit transactions count */
|
|
325
|
+
channelDepositTx?: Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx;
|
|
326
|
+
/** The channel force progress transactions count */
|
|
327
|
+
channelForceProgressTx?: Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx;
|
|
328
|
+
/** The channel set delegates transactions count */
|
|
329
|
+
channelSetDelegatesTx?: PathsN9Iv8YV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSetDelegatesTx;
|
|
330
|
+
/** The channel settle transactions count */
|
|
331
|
+
channelSettleTx?: PathsCsym65V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSettleTx;
|
|
332
|
+
/** The channel slash transactions count */
|
|
333
|
+
channelSlashTx?: PathsEwav40V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSlashTx;
|
|
334
|
+
/** The channel snapshot solo transactions count */
|
|
335
|
+
channelSnapshotSoloTx?: Paths5Ehb0PV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSnapshotSoloTx;
|
|
336
|
+
/** The channel withdraw transactions count */
|
|
337
|
+
channelWithdrawTx?: Paths1Qk8BkgV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelWithdrawTx;
|
|
338
|
+
/** The name claim transactions count */
|
|
339
|
+
nameClaimTx?: PathsC7WhtoV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameClaimTx;
|
|
340
|
+
/** The name preclaim transactions count */
|
|
341
|
+
namePreclaimTx?: Paths1R4Z885V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNamePreclaimTx;
|
|
342
|
+
/** The name revoke transactions count */
|
|
343
|
+
nameRevokeTx?: PathsKrpz02V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameRevokeTx;
|
|
344
|
+
/** The name transfer transactions count */
|
|
345
|
+
nameTransferTx?: PathsPs07B4V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameTransferTx;
|
|
346
|
+
/** The name update transactions count */
|
|
347
|
+
nameUpdateTx?: PathsTug6HrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameUpdateTx;
|
|
348
|
+
/** The oracle extend transactions count */
|
|
349
|
+
oracleExtendTx?: Paths17Dchb7V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleExtendTx;
|
|
350
|
+
/** The oracle query transactions count */
|
|
351
|
+
oracleQueryTx?: Paths1Ngkd7FV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleQueryTx;
|
|
352
|
+
/** The oracle register transactions count */
|
|
353
|
+
oracleRegisterTx?: PathsMvqgifV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleRegisterTx;
|
|
354
|
+
/** The oracle response transactions count */
|
|
355
|
+
oracleResponseTx?: Paths1U2Ve7RV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleResponseTx;
|
|
356
|
+
/** The paying for transactions count */
|
|
357
|
+
payingForTx?: Paths1N757S0V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesPayingForTx;
|
|
358
|
+
/** The spend transactions count */
|
|
359
|
+
spendTx?: Paths11Bqs5V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesSpendTx;
|
|
360
|
+
/** The channel offchain transactions count */
|
|
361
|
+
channelOffchainTx?: Paths4Pjk8DV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelOffchainTx;
|
|
362
|
+
/** The total transactions count */
|
|
363
|
+
total: number;
|
|
364
|
+
}
|
|
365
|
+
/** The contract create transactions count */
|
|
366
|
+
export interface Get200ApplicationJsonProperties {
|
|
367
|
+
/** The number of times the account was owner id in contract create transaction */
|
|
368
|
+
ownerId?: number;
|
|
369
|
+
}
|
|
370
|
+
/** The contract call transactions count */
|
|
371
|
+
export interface PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx {
|
|
372
|
+
/** The number of times the account was contract id in contract call transaction */
|
|
373
|
+
contractId?: number;
|
|
374
|
+
/** The number of times the account was caller id in contract call transaction */
|
|
375
|
+
callerId?: number;
|
|
376
|
+
}
|
|
377
|
+
/** The ga attach transactions count */
|
|
378
|
+
export interface Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx {
|
|
379
|
+
/** The number of times the account was owner id in ga attach transaction */
|
|
380
|
+
ownerId?: number;
|
|
381
|
+
}
|
|
382
|
+
/** The ga meta transactions count */
|
|
383
|
+
export interface Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx {
|
|
384
|
+
/** The number of times the account was ga id in ga meta transaction */
|
|
385
|
+
gaId?: number;
|
|
386
|
+
}
|
|
387
|
+
/** The channel close mutual transactions count */
|
|
388
|
+
export interface PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx {
|
|
389
|
+
/** The number of times the account was channel id in channel close mutual transaction */
|
|
390
|
+
channelId?: number;
|
|
391
|
+
/** The number of times the account was from id in channel close mutual transaction */
|
|
392
|
+
fromId?: number;
|
|
393
|
+
}
|
|
394
|
+
/** The channel close solo transactions count */
|
|
395
|
+
export interface Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx {
|
|
396
|
+
/** The number of times the account was channel id in channel close solo transaction */
|
|
397
|
+
channelId?: number;
|
|
398
|
+
/** The number of times the account was from id in channel close solo transaction */
|
|
399
|
+
fromId?: number;
|
|
400
|
+
}
|
|
401
|
+
/** The channel create transactions count */
|
|
402
|
+
export interface PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx {
|
|
403
|
+
/** The number of times the account was initiator id in channel create transaction */
|
|
404
|
+
initiatorId?: number;
|
|
405
|
+
/** The number of times the account was responder id in channel create transaction */
|
|
406
|
+
responderId?: number;
|
|
407
|
+
}
|
|
408
|
+
/** The channel deposit transactions count */
|
|
409
|
+
export interface Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx {
|
|
410
|
+
/** The number of times the account was channel id in channel deposit transaction */
|
|
411
|
+
channelId?: number;
|
|
412
|
+
/** The number of times the account was from id in channel deposit transaction */
|
|
413
|
+
fromId?: number;
|
|
414
|
+
}
|
|
415
|
+
/** The channel force progress transactions count */
|
|
416
|
+
export interface Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx {
|
|
417
|
+
/** The number of times the account was channel id in channel force progress transaction */
|
|
418
|
+
channelId?: number;
|
|
419
|
+
/** The number of times the account was from id in channel force progress transaction */
|
|
420
|
+
fromId?: number;
|
|
421
|
+
}
|
|
422
|
+
/** The channel set delegates transactions count */
|
|
423
|
+
export interface PathsN9Iv8YV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSetDelegatesTx {
|
|
424
|
+
/** The number of times the account was channel id in channel set delegates transaction */
|
|
425
|
+
channelId?: number;
|
|
426
|
+
/** The number of times the account was from id in channel set delegates transaction */
|
|
427
|
+
fromId?: number;
|
|
428
|
+
}
|
|
429
|
+
/** The channel settle transactions count */
|
|
430
|
+
export interface PathsCsym65V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSettleTx {
|
|
431
|
+
/** The number of times the account was channel id in channel settle transaction */
|
|
432
|
+
channelId?: number;
|
|
433
|
+
/** The number of times the account was from id in channel settle transaction */
|
|
434
|
+
fromId?: number;
|
|
435
|
+
}
|
|
436
|
+
/** The channel slash transactions count */
|
|
437
|
+
export interface PathsEwav40V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSlashTx {
|
|
438
|
+
/** The number of times the account was channel id in channel slash transaction */
|
|
439
|
+
channelId?: number;
|
|
440
|
+
/** The number of times the account was from id in channel slash transaction */
|
|
441
|
+
fromId?: number;
|
|
442
|
+
}
|
|
443
|
+
/** The channel snapshot solo transactions count */
|
|
444
|
+
export interface Paths5Ehb0PV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSnapshotSoloTx {
|
|
445
|
+
/** The number of times the account was channel id in channel snapshot solo transaction */
|
|
446
|
+
channelId?: number;
|
|
447
|
+
/** The number of times the account was from id in channel snapshot solo transaction */
|
|
448
|
+
fromId?: number;
|
|
449
|
+
}
|
|
450
|
+
/** The channel withdraw transactions count */
|
|
451
|
+
export interface Paths1Qk8BkgV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelWithdrawTx {
|
|
452
|
+
/** The number of times the account was channel id in channel withdraw transaction */
|
|
453
|
+
channelId?: number;
|
|
454
|
+
/** The number of times the account was to id in channel withdraw transaction */
|
|
455
|
+
toId?: number;
|
|
456
|
+
}
|
|
457
|
+
/** The name claim transactions count */
|
|
458
|
+
export interface PathsC7WhtoV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameClaimTx {
|
|
459
|
+
/** The number of times the account was account id in name claim transaction */
|
|
460
|
+
accountId?: number;
|
|
461
|
+
}
|
|
462
|
+
/** The name preclaim transactions count */
|
|
463
|
+
export interface Paths1R4Z885V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNamePreclaimTx {
|
|
464
|
+
/** The number of times the account was account id in name preclaim transaction */
|
|
465
|
+
accountId?: number;
|
|
466
|
+
/** The number of times the account was commitment id in name preclaim transaction */
|
|
467
|
+
commitmentId?: number;
|
|
468
|
+
}
|
|
469
|
+
/** The name revoke transactions count */
|
|
470
|
+
export interface PathsKrpz02V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameRevokeTx {
|
|
471
|
+
/** The number of times the account was account id in name revoke transaction */
|
|
472
|
+
accountId?: number;
|
|
473
|
+
/** The number of times the account was name id in name revoke transaction */
|
|
474
|
+
nameId?: number;
|
|
475
|
+
}
|
|
476
|
+
/** The name transfer transactions count */
|
|
477
|
+
export interface PathsPs07B4V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameTransferTx {
|
|
478
|
+
/** The number of times the account was recipient id in name transfer transaction */
|
|
479
|
+
recipientId?: number;
|
|
480
|
+
/** The number of times the account was account id in name transfer transaction */
|
|
481
|
+
accountId?: number;
|
|
482
|
+
/** The number of times the account was name id in name transfer transaction */
|
|
483
|
+
nameId?: number;
|
|
484
|
+
}
|
|
485
|
+
/** The name update transactions count */
|
|
486
|
+
export interface PathsTug6HrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameUpdateTx {
|
|
487
|
+
/** The number of times the account was account id in name update transaction */
|
|
488
|
+
accountId?: number;
|
|
489
|
+
/** The number of times the account was name id in name update transaction */
|
|
490
|
+
nameId?: number;
|
|
491
|
+
}
|
|
492
|
+
/** The oracle extend transactions count */
|
|
493
|
+
export interface Paths17Dchb7V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleExtendTx {
|
|
494
|
+
/** The number of times the account was oracle id in oracle extend transaction */
|
|
495
|
+
oracleId?: number;
|
|
496
|
+
}
|
|
497
|
+
/** The oracle query transactions count */
|
|
498
|
+
export interface Paths1Ngkd7FV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleQueryTx {
|
|
499
|
+
/** The number of times the account was sender id in oracle query transaction */
|
|
500
|
+
senderId?: number;
|
|
501
|
+
/** The number of times the account was oracle id in oracle query transaction */
|
|
502
|
+
oracleId?: number;
|
|
503
|
+
}
|
|
504
|
+
/** The oracle register transactions count */
|
|
505
|
+
export interface PathsMvqgifV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleRegisterTx {
|
|
506
|
+
/** The number of times the account was account id in oracle register transaction */
|
|
507
|
+
accountId?: number;
|
|
508
|
+
}
|
|
509
|
+
/** The oracle response transactions count */
|
|
510
|
+
export interface Paths1U2Ve7RV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleResponseTx {
|
|
511
|
+
/** The number of times the account was oracle id in oracle response transaction */
|
|
512
|
+
oracleId?: number;
|
|
513
|
+
}
|
|
514
|
+
/** The paying for transactions count */
|
|
515
|
+
export interface Paths1N757S0V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesPayingForTx {
|
|
516
|
+
/** The number of times the account was payer id in paying for transaction */
|
|
517
|
+
payerId?: number;
|
|
518
|
+
}
|
|
519
|
+
/** The spend transactions count */
|
|
520
|
+
export interface Paths11Bqs5V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesSpendTx {
|
|
521
|
+
/** The number of times the account was sender id in spend transaction */
|
|
522
|
+
senderId?: number;
|
|
523
|
+
/** The number of times the account was recipient id in spend transaction */
|
|
524
|
+
recipientId?: number;
|
|
525
|
+
}
|
|
526
|
+
/** The channel offchain transactions count */
|
|
527
|
+
export interface Paths4Pjk8DV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelOffchainTx {
|
|
528
|
+
/** The number of times the account was channel id in channel offchain transaction */
|
|
529
|
+
channelId?: number;
|
|
29
530
|
}
|
|
30
531
|
/** Response Schema for AEX141 contract */
|
|
31
532
|
export interface Aex141Response {
|
|
32
533
|
/** Metadata base url */
|
|
33
534
|
baseUrl: string;
|
|
34
535
|
/** NFT contract id */
|
|
35
|
-
contractId: string
|
|
36
|
-
/** Transaction
|
|
37
|
-
|
|
536
|
+
contractId: `ct_${string}`;
|
|
537
|
+
/** Transaction hash of the contract creation */
|
|
538
|
+
contractTxHash: `th_${string}`;
|
|
38
539
|
/** Extensions implemented by the contract */
|
|
39
540
|
extensions: string[];
|
|
40
541
|
/** Limit for amount of tokens or templates */
|
|
41
542
|
limits: Record<string, unknown>;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export interface Aex141OwnedTokenResponse {
|
|
48
|
-
/** Account id */
|
|
49
|
-
accountId: string;
|
|
50
|
-
/** NFT contract id */
|
|
51
|
-
contractId: string;
|
|
52
|
-
/** Non-fungible token id */
|
|
53
|
-
tokenId: number;
|
|
54
|
-
}
|
|
55
|
-
export interface PathsN3Ru7DV2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
56
|
-
data?: Aex141OwnedTokenResponse[];
|
|
57
|
-
}
|
|
58
|
-
export interface PathsRa6Pv6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
59
|
-
data?: Aex141TemplatesResponse[];
|
|
543
|
+
/** True if the contract is invalid */
|
|
544
|
+
invalid: boolean;
|
|
545
|
+
creationTime: Date;
|
|
546
|
+
/** Block height of the contract creation */
|
|
547
|
+
blockHeight: number;
|
|
60
548
|
}
|
|
61
549
|
/** Response Schema for templates of a AEX-141 contract */
|
|
62
550
|
export interface Aex141TemplatesResponse {
|
|
63
551
|
/** NFT contract id */
|
|
64
|
-
contractId: string
|
|
552
|
+
contractId: `ct_${string}`;
|
|
65
553
|
/** Template edition details */
|
|
66
554
|
edition?: Record<string, unknown>;
|
|
67
555
|
/** Log index of the TemplateCreation */
|
|
@@ -69,547 +557,670 @@ export interface Aex141TemplatesResponse {
|
|
|
69
557
|
/** Template id of AEX-141 tokens */
|
|
70
558
|
templateId: number;
|
|
71
559
|
/** Transaction hash of the TemplateCreation */
|
|
72
|
-
txHash: string
|
|
73
|
-
}
|
|
74
|
-
export interface Paths19B9O7TV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
75
|
-
data?: Aex141TemplateTokensResponse[];
|
|
560
|
+
txHash: `th_${string}`;
|
|
76
561
|
}
|
|
77
562
|
/** Response Schema for template tokens of a AEX-141 contract */
|
|
78
563
|
export interface Aex141TemplateTokensResponse {
|
|
564
|
+
/** Owner wallet address */
|
|
565
|
+
ownerId: `ak_${string}`;
|
|
79
566
|
/** Mint event index */
|
|
80
567
|
logIdx: number;
|
|
81
|
-
/** Owner wallet address */
|
|
82
|
-
ownerId: string;
|
|
83
568
|
/** NFT id */
|
|
84
569
|
tokenId: number;
|
|
85
570
|
/** Mint transaction hash */
|
|
86
|
-
txHash: string
|
|
571
|
+
txHash: `th_${string}`;
|
|
572
|
+
}
|
|
573
|
+
/** Response schema for AEX-141 token detail */
|
|
574
|
+
export interface Aex141TokenDetailResponse {
|
|
575
|
+
/** NFT contract id */
|
|
576
|
+
contractId: `ct_${string}`;
|
|
577
|
+
/** Account address */
|
|
578
|
+
ownerId: `ak_${string}`;
|
|
579
|
+
/** Non-fungible token id */
|
|
580
|
+
tokenId: number;
|
|
581
|
+
/** The metadata associated to this NFT */
|
|
582
|
+
metadata: Record<string, unknown>;
|
|
87
583
|
}
|
|
88
|
-
|
|
89
|
-
|
|
584
|
+
/** AEx141 Transfer */
|
|
585
|
+
export interface Aex141TransferEvent {
|
|
586
|
+
blockHeight: number;
|
|
587
|
+
/** Contract address */
|
|
588
|
+
contractId: `ct_${string}`;
|
|
589
|
+
logIdx: number;
|
|
590
|
+
microIndex: number;
|
|
591
|
+
microTime: Date;
|
|
592
|
+
/** Account address */
|
|
593
|
+
recipient: `ak_${string}`;
|
|
594
|
+
/** Account address */
|
|
595
|
+
sender: `ak_${string}`;
|
|
596
|
+
tokenId: number;
|
|
597
|
+
/** Transaction hash */
|
|
598
|
+
txHash: `th_${string}`;
|
|
90
599
|
}
|
|
91
600
|
/** Response Schema for AEX9 contract */
|
|
92
601
|
export interface Aex9Response {
|
|
93
602
|
/** Id of the contract of the AEX9 tokens */
|
|
94
|
-
contractId: string
|
|
95
|
-
/**
|
|
96
|
-
|
|
603
|
+
contractId: `ct_${string}`;
|
|
604
|
+
/** Transaction hash of the contract creation */
|
|
605
|
+
contractTxHash: `th_${string}`;
|
|
606
|
+
/** Token supply right after contract's creation */
|
|
607
|
+
initialSupply: bigint;
|
|
608
|
+
/** Token supply updated on event basis (Mint, Burn, Swap) */
|
|
609
|
+
eventSupply: bigint;
|
|
97
610
|
/** The number of decimals for AEX9 token */
|
|
98
611
|
decimals: number;
|
|
99
|
-
/**
|
|
100
|
-
eventSupply: number;
|
|
101
|
-
/** Extensions implemnted by the contract */
|
|
612
|
+
/** Extensions implemented by the contract */
|
|
102
613
|
extensions?: string[];
|
|
103
614
|
/** Count of accounts having balance (nil when contract is not complaint) */
|
|
104
615
|
holders: number;
|
|
105
|
-
/** Token supply right after contract's creation */
|
|
106
|
-
initialSupply: number;
|
|
107
616
|
/** Name of AEX9 token */
|
|
108
617
|
name: string;
|
|
109
618
|
/** Symbol of AEX9 token */
|
|
110
619
|
symbol: string;
|
|
620
|
+
/** True if the contract is invalid */
|
|
621
|
+
invalid: boolean;
|
|
111
622
|
}
|
|
112
|
-
export interface
|
|
113
|
-
data
|
|
114
|
-
}
|
|
115
|
-
/** Response Schema for AEX9 balance responses */
|
|
116
|
-
export interface Aex9BalanceResponse {
|
|
117
|
-
/** Amount of AEX9 token */
|
|
118
|
-
amount: number;
|
|
119
|
-
/** Block hash, indicating a state of a balance for that block */
|
|
120
|
-
blockHash: number;
|
|
121
|
-
/** Contract id of AEX9 token */
|
|
122
|
-
contractId: string;
|
|
123
|
-
/** Number of decimals of AEX9 token */
|
|
124
|
-
decimals: number;
|
|
125
|
-
/** Block height, indicating a state of a balance for that block height */
|
|
126
|
-
height: number;
|
|
127
|
-
/** Name of AEX9 token */
|
|
128
|
-
tokenName: string;
|
|
129
|
-
/** Symbol of AEX9 token */
|
|
130
|
-
tokenSymbol: string;
|
|
131
|
-
/** Transaction hash, indicating a state of a balance for that block height */
|
|
132
|
-
txHash: string;
|
|
133
|
-
/** Transaction index, indicating a state of a balance for that block height */
|
|
134
|
-
txIndex: number;
|
|
135
|
-
/** Transaction type, indicating a state of a balance for that block height */
|
|
136
|
-
txType: string;
|
|
137
|
-
}
|
|
138
|
-
export interface PathsY2JwfkV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
139
|
-
data?: Aex9TransferResponse[];
|
|
140
|
-
}
|
|
141
|
-
/** Response Schema for AEX9 transfer responses */
|
|
142
|
-
export interface Aex9TransferResponse {
|
|
143
|
-
/** Transfer amount of AEX9 token */
|
|
144
|
-
amount: number;
|
|
145
|
-
/** The block height */
|
|
146
|
-
blockHeight: number;
|
|
147
|
-
/** AEX9 token transfer index */
|
|
148
|
-
callTxi: number;
|
|
149
|
-
/** Contract identifier */
|
|
150
|
-
contractId: string;
|
|
151
|
-
/** Log index */
|
|
152
|
-
logIdx: number;
|
|
153
|
-
/** The unix timestamp */
|
|
154
|
-
microTime: number;
|
|
155
|
-
/** Recipient of AEX9 transfer */
|
|
156
|
-
recipient: string;
|
|
157
|
-
/** Sender of AEX9 transfer */
|
|
158
|
-
sender: string;
|
|
159
|
-
}
|
|
160
|
-
export interface Paths5U7W2V2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
161
|
-
data?: Aex9TransferResponse[];
|
|
162
|
-
}
|
|
163
|
-
export interface Paths12TleqhV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
164
|
-
data?: Aex9TransferResponse[];
|
|
165
|
-
}
|
|
166
|
-
export interface Paths1C2B0UpV2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
167
|
-
data?: Aex9ContractBalanceResponse[];
|
|
623
|
+
export interface Paths19IxhsmV3Aex9CountGetResponses200ContentApplicationJsonSchema {
|
|
624
|
+
data: number;
|
|
168
625
|
}
|
|
169
626
|
/** Response Schema for AEX9 contract balances responses */
|
|
170
627
|
export interface Aex9ContractBalanceResponse {
|
|
171
628
|
/** The wallet pubkey */
|
|
172
|
-
accountId: string
|
|
629
|
+
accountId: `ak_${string}`;
|
|
173
630
|
/** The balance amount */
|
|
174
|
-
amount:
|
|
631
|
+
amount: bigint;
|
|
175
632
|
/** The block hash, indicating a state of a balance for that block */
|
|
176
633
|
blockHash: number;
|
|
177
634
|
/** The contract id of given token */
|
|
178
635
|
contractId: number;
|
|
179
636
|
/** The block height, indicating a state of a balance for that block height */
|
|
180
637
|
height: number;
|
|
638
|
+
/** The hash of the last transaction that changed the balance */
|
|
639
|
+
lastTxHash: `th_${string}`;
|
|
181
640
|
/** The index of the event log that changed the balance */
|
|
182
641
|
lastLogIdx: number;
|
|
183
|
-
/** The hash of the last transaction that changed the balance */
|
|
184
|
-
lastTxHash: string;
|
|
185
642
|
}
|
|
186
|
-
export interface
|
|
643
|
+
export interface PathsKr825V3Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema {
|
|
187
644
|
/** The account present on a AEX9 */
|
|
188
|
-
account
|
|
645
|
+
account: `ak_${string}`;
|
|
189
646
|
/** The amount of AEX9 token */
|
|
190
|
-
amount
|
|
647
|
+
amount: bigint;
|
|
191
648
|
/** The contract id of given token */
|
|
192
|
-
contract
|
|
649
|
+
contract: `ct_${string}`;
|
|
193
650
|
}
|
|
194
|
-
export interface
|
|
651
|
+
export interface Get200ApplicationJsonAllOfPropertiesItemsItem {
|
|
195
652
|
/** The account present on a AEX9 */
|
|
196
|
-
account
|
|
653
|
+
account: `ak_${string}`;
|
|
197
654
|
/** The amount of AEX9 token */
|
|
198
|
-
amount
|
|
655
|
+
amount: bigint;
|
|
199
656
|
/** The contract id of given token */
|
|
200
|
-
contract
|
|
657
|
+
contract: `ct_${string}`;
|
|
201
658
|
/** The block height, indicating a state of a balance for that block height */
|
|
202
|
-
height
|
|
203
|
-
}
|
|
204
|
-
export interface Paths5LeqfqV2BlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
205
|
-
data?: Block[];
|
|
206
|
-
}
|
|
207
|
-
/** Key Block */
|
|
208
|
-
export interface Block {
|
|
209
|
-
/** The beneficiary */
|
|
210
|
-
beneficiary?: string;
|
|
211
|
-
/** The block hash */
|
|
212
|
-
hash?: string;
|
|
213
|
-
/** The block height */
|
|
214
|
-
height?: number;
|
|
215
|
-
/** The info */
|
|
216
|
-
info?: string;
|
|
217
|
-
/** The miner public key */
|
|
218
|
-
miner?: string;
|
|
219
|
-
/** The nonce */
|
|
220
|
-
nonce?: string;
|
|
221
|
-
/** The pow */
|
|
222
|
-
pow?: number[];
|
|
223
|
-
/** The previous block hash */
|
|
224
|
-
prevHash?: string;
|
|
225
|
-
/** The previous key block hash */
|
|
226
|
-
prevKeyHash?: string;
|
|
227
|
-
/** The state hash */
|
|
228
|
-
stateHash?: string;
|
|
229
|
-
/** The target */
|
|
230
|
-
target?: number;
|
|
231
|
-
/** The time */
|
|
232
|
-
time?: number;
|
|
233
|
-
/** The version */
|
|
234
|
-
version?: number;
|
|
235
|
-
}
|
|
236
|
-
/** Resource not found on the API */
|
|
237
|
-
export interface NotFoundResponse {
|
|
238
|
-
/** The message of the error raised */
|
|
239
|
-
error: string;
|
|
240
|
-
}
|
|
241
|
-
export interface PathsC25EgV2ChannelsGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
242
|
-
data?: Channel[];
|
|
659
|
+
height: number;
|
|
243
660
|
}
|
|
244
661
|
export interface Channel {
|
|
662
|
+
/** Channel is active */
|
|
663
|
+
active: boolean;
|
|
245
664
|
/** Balance currently left in the channel */
|
|
246
|
-
amount
|
|
247
|
-
/** Channel
|
|
248
|
-
channel
|
|
665
|
+
amount: bigint;
|
|
666
|
+
/** Channel ID */
|
|
667
|
+
channel: `ch_${string}`;
|
|
249
668
|
/** Minimum amount for sufficient funds */
|
|
250
|
-
channelReserve
|
|
669
|
+
channelReserve: bigint;
|
|
251
670
|
/** Pubkeys of delegated accounts */
|
|
252
|
-
delegateIds
|
|
671
|
+
delegateIds: Record<string, unknown>;
|
|
253
672
|
/** Channel initiator pubkey */
|
|
254
|
-
initiator
|
|
673
|
+
initiator: `ak_${string}`;
|
|
255
674
|
/** Amount owned by initiator */
|
|
256
|
-
initiatorAmount
|
|
675
|
+
initiatorAmount: bigint;
|
|
257
676
|
/** The last height in which the channel was updated on chain */
|
|
258
|
-
lastUpdatedHeight
|
|
259
|
-
/** The block time in which the channel was last updated */
|
|
260
|
-
lastUpdatedTime?: number;
|
|
677
|
+
lastUpdatedHeight: number;
|
|
261
678
|
/** The transaction type of the last transaction that updated the channel */
|
|
262
|
-
lastUpdatedTxType
|
|
679
|
+
lastUpdatedTxType: string;
|
|
680
|
+
lastUpdatedTime: Date;
|
|
681
|
+
/** The hash of the last transaction that updated the channel */
|
|
682
|
+
lastUpdatedTxHash: `th_${string}`;
|
|
263
683
|
/** Amount of heights locked after a solo closing */
|
|
264
|
-
lockPeriod
|
|
684
|
+
lockPeriod: number;
|
|
265
685
|
/** Non-inclusive height until which the channel is locked */
|
|
266
|
-
lockedUntil
|
|
686
|
+
lockedUntil: number;
|
|
267
687
|
/** The channel responder pubkey */
|
|
268
|
-
responder
|
|
688
|
+
responder: `ak_${string}`;
|
|
269
689
|
/** Amount owned by responder */
|
|
270
|
-
responderAmount
|
|
690
|
+
responderAmount: bigint;
|
|
271
691
|
/** Round after last transaction */
|
|
272
|
-
round
|
|
692
|
+
round: number;
|
|
273
693
|
/** Round of last solo transaction */
|
|
274
|
-
soloRound
|
|
694
|
+
soloRound: number;
|
|
275
695
|
/** The hash of the current channel state */
|
|
276
|
-
stateHash
|
|
696
|
+
stateHash: `st_${string}`;
|
|
277
697
|
/** The amount of times the channel's been updated by any of the channel transactions */
|
|
278
|
-
updatesCount
|
|
279
|
-
}
|
|
280
|
-
export interface Paths1Csrt0IV2ContractsCallsGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
281
|
-
data?: ContractCall[];
|
|
698
|
+
updatesCount: number;
|
|
282
699
|
}
|
|
283
700
|
/** ContractCall */
|
|
284
701
|
export interface ContractCall {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
702
|
+
/** Micro block hash */
|
|
703
|
+
blockHash: `mh_${string}`;
|
|
704
|
+
/** Transaction hash */
|
|
705
|
+
callTxHash: `th_${string}`;
|
|
706
|
+
/** Contract address */
|
|
707
|
+
contractId: `ct_${string}`;
|
|
708
|
+
/** Transaction hash */
|
|
709
|
+
contractTxHash: `th_${string}`;
|
|
710
|
+
function: string;
|
|
711
|
+
height: number;
|
|
292
712
|
/** Any object */
|
|
293
|
-
internalTx
|
|
294
|
-
localIdx
|
|
295
|
-
microIndex
|
|
296
|
-
}
|
|
297
|
-
export interface Paths9Ya94MV2ContractsLogsGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
298
|
-
data?: ContractLog[];
|
|
713
|
+
internalTx: Record<string, unknown>;
|
|
714
|
+
localIdx: number;
|
|
715
|
+
microIndex: number;
|
|
299
716
|
}
|
|
300
717
|
/** ContractLog */
|
|
301
718
|
export interface ContractLog {
|
|
302
|
-
args
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
719
|
+
args: string[];
|
|
720
|
+
/** Micro block hash */
|
|
721
|
+
blockHash: `mh_${string}`;
|
|
722
|
+
blockTime: Date;
|
|
723
|
+
/** Transaction hash */
|
|
724
|
+
callTxHash: `th_${string}`;
|
|
725
|
+
/** Contract address */
|
|
726
|
+
contractId: `ct_${string}`;
|
|
727
|
+
/** Transaction hash */
|
|
728
|
+
contractTxHash: `th_${string}`;
|
|
729
|
+
data: string;
|
|
730
|
+
eventHash: string;
|
|
731
|
+
eventName: string | null;
|
|
732
|
+
/** Contract address */
|
|
733
|
+
extCallerContractId: `ct_${string}` | null;
|
|
734
|
+
/** Transaction hash */
|
|
735
|
+
extCallerContractTxHash: `th_${string}` | null;
|
|
736
|
+
height: number;
|
|
737
|
+
logIdx: number;
|
|
738
|
+
microIndex: number;
|
|
739
|
+
parentContractId: number | null;
|
|
316
740
|
}
|
|
317
741
|
/** Contract creation info */
|
|
318
742
|
export interface Contract {
|
|
319
|
-
aexnType
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
/** DeltaStat */
|
|
330
|
-
export interface DeltaStat {
|
|
331
|
-
/** The number of auctions started */
|
|
332
|
-
auctionsStarted?: number;
|
|
333
|
-
/** The block reward */
|
|
334
|
-
blockReward?: number;
|
|
335
|
-
/** The number of contracts created */
|
|
336
|
-
contractsCreated?: number;
|
|
337
|
-
/** The dev reward */
|
|
338
|
-
devReward?: number;
|
|
339
|
-
/** The generation */
|
|
340
|
-
height?: number;
|
|
341
|
-
/** The last transaction hash for this height */
|
|
342
|
-
lastTxHash?: string;
|
|
343
|
-
/** The number of names activated */
|
|
344
|
-
namesActivated?: number;
|
|
345
|
-
/** The number of names expired */
|
|
346
|
-
namesExpired?: number;
|
|
347
|
-
/** The number of names revoked */
|
|
348
|
-
namesRevoked?: number;
|
|
349
|
-
/** The number of oracles expired */
|
|
350
|
-
oraclesExpired?: number;
|
|
351
|
-
/** The number of oracles registered */
|
|
352
|
-
oraclesRegistered?: number;
|
|
743
|
+
aexnType: string | null;
|
|
744
|
+
/** Micro block hash */
|
|
745
|
+
blockHash: `mh_${string}`;
|
|
746
|
+
/** Contract address */
|
|
747
|
+
contract: `ct_${string}`;
|
|
748
|
+
/** Transaction hash */
|
|
749
|
+
sourceTxHash: `th_${string}`;
|
|
750
|
+
sourceTxType: string;
|
|
751
|
+
createTx: ContractCreateTx;
|
|
353
752
|
}
|
|
354
|
-
export interface
|
|
355
|
-
|
|
753
|
+
export interface ContractCreateTx {
|
|
754
|
+
/** Base58Check encoded tagged pubkey */
|
|
755
|
+
ownerId: string;
|
|
756
|
+
nonce?: number;
|
|
757
|
+
/** Base64Check encoded tagged byte array */
|
|
758
|
+
code: string;
|
|
759
|
+
vmVersion: number;
|
|
760
|
+
abiVersion: number;
|
|
761
|
+
deposit: bigint;
|
|
762
|
+
amount: bigint;
|
|
763
|
+
gas: number;
|
|
764
|
+
gasPrice: bigint;
|
|
765
|
+
fee: bigint;
|
|
766
|
+
ttl?: number;
|
|
767
|
+
/** Base64Check encoded tagged byte array */
|
|
768
|
+
callData: string;
|
|
769
|
+
}
|
|
770
|
+
/** Epoch information */
|
|
771
|
+
export interface EpochInfo {
|
|
772
|
+
epoch: number;
|
|
773
|
+
first: number;
|
|
774
|
+
last: number;
|
|
775
|
+
length: number;
|
|
776
|
+
seed: string;
|
|
777
|
+
lastPinHeight: number;
|
|
778
|
+
parentBlockHash: string;
|
|
779
|
+
lastLeader: string;
|
|
780
|
+
epochStartTime: number;
|
|
781
|
+
validators: EpochInfoValidatorsItem[];
|
|
782
|
+
}
|
|
783
|
+
export interface EpochInfoValidatorsItem {
|
|
784
|
+
validator?: string;
|
|
785
|
+
stake?: number;
|
|
786
|
+
}
|
|
787
|
+
/** Schedule information */
|
|
788
|
+
export interface Schedule {
|
|
789
|
+
height: number;
|
|
790
|
+
leader: string;
|
|
791
|
+
}
|
|
792
|
+
/** Validator information */
|
|
793
|
+
export interface Validator {
|
|
794
|
+
epoch: number;
|
|
795
|
+
validator: string;
|
|
796
|
+
totalStakes: number;
|
|
797
|
+
delegates: number;
|
|
798
|
+
rewardsEarned: number;
|
|
799
|
+
/** Dictionary of <integer> */
|
|
800
|
+
pinningHistory: {
|
|
801
|
+
[propertyName: string]: number;
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
/** Delegate information */
|
|
805
|
+
export interface Delegate {
|
|
806
|
+
epoch: number;
|
|
807
|
+
delegate: string;
|
|
808
|
+
stake: number;
|
|
809
|
+
validator: string;
|
|
356
810
|
}
|
|
357
|
-
/** Key Block */
|
|
358
811
|
export interface KeyBlock {
|
|
359
|
-
/**
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
hash
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
812
|
+
/** Base58Check encoded tagged hash */
|
|
813
|
+
hash: string;
|
|
814
|
+
height: number;
|
|
815
|
+
/** Base58Check encoded tagged hash */
|
|
816
|
+
prevHash: string;
|
|
817
|
+
/** Base58Check encoded tagged hash */
|
|
818
|
+
prevKeyHash: string;
|
|
819
|
+
/** Base58Check encoded tagged hash */
|
|
820
|
+
stateHash: string;
|
|
821
|
+
/** Base58Check encoded tagged pubkey */
|
|
822
|
+
miner: string;
|
|
823
|
+
/** Base58Check encoded tagged pubkey */
|
|
824
|
+
beneficiary: string;
|
|
825
|
+
target: number;
|
|
372
826
|
pow?: number[];
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
/** The pow */
|
|
398
|
-
pofHash?: number[];
|
|
399
|
-
/** The previous block hash */
|
|
400
|
-
prevHash?: string;
|
|
401
|
-
/** The previous key block hash */
|
|
402
|
-
prevKeyHash?: string;
|
|
403
|
-
/** The state hash */
|
|
404
|
-
stateHash?: string;
|
|
405
|
-
/** The time */
|
|
406
|
-
time?: number;
|
|
407
|
-
/** The number of transactions */
|
|
408
|
-
transactionsCount?: number;
|
|
409
|
-
/** The version */
|
|
410
|
-
version?: number;
|
|
411
|
-
}
|
|
412
|
-
export interface Paths1RxrrvbV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
413
|
-
data?: Tx[];
|
|
827
|
+
nonce?: number;
|
|
828
|
+
time: Date;
|
|
829
|
+
version: number;
|
|
830
|
+
/** Base64Check encoded tagged byte array */
|
|
831
|
+
info: string;
|
|
832
|
+
}
|
|
833
|
+
export interface MicroBlockHeader {
|
|
834
|
+
/** Base58Check encoded tagged hash */
|
|
835
|
+
hash: string;
|
|
836
|
+
height: number;
|
|
837
|
+
/** Base58Check encoded tagged hash */
|
|
838
|
+
pofHash: string;
|
|
839
|
+
/** Base58Check encoded tagged hash */
|
|
840
|
+
prevHash: string;
|
|
841
|
+
/** Base58Check encoded tagged hash */
|
|
842
|
+
prevKeyHash: string;
|
|
843
|
+
/** Base58Check encoded tagged hash */
|
|
844
|
+
stateHash: string;
|
|
845
|
+
/** Base58Check encoded tagged hash */
|
|
846
|
+
txsHash: string;
|
|
847
|
+
/** Base58Check encoded tagged value */
|
|
848
|
+
signature: string;
|
|
849
|
+
time: Date;
|
|
850
|
+
version: number;
|
|
414
851
|
}
|
|
415
852
|
/** Transaction */
|
|
416
|
-
export interface
|
|
417
|
-
/**
|
|
418
|
-
blockHash
|
|
853
|
+
export interface Transaction {
|
|
854
|
+
/** Micro block hash */
|
|
855
|
+
blockHash: `mh_${string}`;
|
|
419
856
|
/** The block height */
|
|
420
|
-
blockHeight
|
|
421
|
-
/**
|
|
422
|
-
|
|
857
|
+
blockHeight: number;
|
|
858
|
+
/** Encoded transaction */
|
|
859
|
+
encodedTx: `tx_${string}`;
|
|
860
|
+
/** Transaction hash */
|
|
861
|
+
hash: `th_${string}`;
|
|
423
862
|
/** The micro block index */
|
|
424
|
-
microIndex
|
|
425
|
-
|
|
426
|
-
microTime?: number;
|
|
863
|
+
microIndex: number;
|
|
864
|
+
microTime: Date;
|
|
427
865
|
/** The signatures */
|
|
428
|
-
signatures
|
|
866
|
+
signatures: string[];
|
|
429
867
|
/** The transaction */
|
|
430
|
-
tx
|
|
431
|
-
/** The transaction index */
|
|
432
|
-
txIndex?: number;
|
|
433
|
-
}
|
|
434
|
-
export interface Paths16Srg6EV2NamesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
435
|
-
data?: Name[];
|
|
868
|
+
tx: Tx;
|
|
436
869
|
}
|
|
437
870
|
/** Name */
|
|
438
871
|
export interface Name {
|
|
439
|
-
active
|
|
440
|
-
hash
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
ownership
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
current?: string;
|
|
457
|
-
original?: string;
|
|
458
|
-
}
|
|
459
|
-
export interface NameInfoPointers {
|
|
460
|
-
accountPubkey?: string;
|
|
872
|
+
active: boolean;
|
|
873
|
+
/** AENS name hash */
|
|
874
|
+
hash: `nm_${string}`;
|
|
875
|
+
activeFrom: number;
|
|
876
|
+
approximateActivationTime: Date;
|
|
877
|
+
approximateExpireTime: Date;
|
|
878
|
+
expireHeight: number;
|
|
879
|
+
pointers: NamePointer[];
|
|
880
|
+
/** Auction */
|
|
881
|
+
auction: Auction | null;
|
|
882
|
+
auctionTimeout: number;
|
|
883
|
+
ownership: NameOwnership;
|
|
884
|
+
/** AENS name */
|
|
885
|
+
name: `${string}.chain`;
|
|
886
|
+
nameFee: bigint;
|
|
887
|
+
revoke: NameTx | null;
|
|
888
|
+
claimsCount?: number;
|
|
461
889
|
}
|
|
462
890
|
/** Auction */
|
|
463
891
|
export interface Auction {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
hash
|
|
481
|
-
microIndex
|
|
482
|
-
microTime
|
|
483
|
-
signatures
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
892
|
+
auctionEnd: number;
|
|
893
|
+
activationTime: Date;
|
|
894
|
+
approximateExpireTime: Date;
|
|
895
|
+
lastBid: AuctionLastBid;
|
|
896
|
+
/** AENS name */
|
|
897
|
+
name: `${string}.chain`;
|
|
898
|
+
nameFee: bigint;
|
|
899
|
+
claimsCount: number;
|
|
900
|
+
}
|
|
901
|
+
export interface AuctionLastBid {
|
|
902
|
+
/** Micro block hash */
|
|
903
|
+
blockHash: `mh_${string}`;
|
|
904
|
+
blockHeight: number;
|
|
905
|
+
/** Encoded transaction */
|
|
906
|
+
encodedTx: `tx_${string}`;
|
|
907
|
+
/** Transaction hash */
|
|
908
|
+
hash: `th_${string}`;
|
|
909
|
+
microIndex: number;
|
|
910
|
+
microTime: Date;
|
|
911
|
+
signatures: string[];
|
|
912
|
+
tx: AuctionLastBidTx;
|
|
913
|
+
}
|
|
914
|
+
export interface Components17W16A5SchemasAuctionPropertiesLastBidPropertiesTxAllof1 {
|
|
915
|
+
/** AENS name hash */
|
|
916
|
+
nameId: `nm_${string}`;
|
|
917
|
+
type: string;
|
|
918
|
+
version: number;
|
|
919
|
+
}
|
|
920
|
+
export interface NameOwnership {
|
|
921
|
+
/** Account address */
|
|
922
|
+
current?: `ak_${string}`;
|
|
923
|
+
/** Account address */
|
|
924
|
+
original?: `ak_${string}`;
|
|
925
|
+
}
|
|
926
|
+
export interface NameTx {
|
|
927
|
+
/** Micro block hash */
|
|
928
|
+
blockHash: `mh_${string}`;
|
|
929
|
+
blockHeight: number;
|
|
930
|
+
/** Transaction hash */
|
|
931
|
+
hash: `th_${string}`;
|
|
932
|
+
microIndex: number;
|
|
933
|
+
microTime: Date;
|
|
934
|
+
signatures: string[];
|
|
935
|
+
tx: NameTxTx;
|
|
936
|
+
}
|
|
937
|
+
export interface NameRevokeTx {
|
|
938
|
+
/** Base58Check encoded tagged value */
|
|
939
|
+
nameId: string;
|
|
940
|
+
fee: bigint;
|
|
941
|
+
ttl?: number;
|
|
942
|
+
/** Base58Check encoded tagged pubkey */
|
|
943
|
+
accountId: string;
|
|
944
|
+
nonce?: number;
|
|
492
945
|
}
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
height?: number;
|
|
497
|
-
/** Any object */
|
|
498
|
-
tx?: Record<string, unknown>;
|
|
946
|
+
export interface Components171VsjiSchemasNametxPropertiesTxAllof1 {
|
|
947
|
+
type: string;
|
|
948
|
+
version: number;
|
|
499
949
|
}
|
|
500
|
-
export interface
|
|
501
|
-
|
|
502
|
-
active?: Record<string, unknown>;
|
|
503
|
-
/** Any object */
|
|
504
|
-
inactive?: Record<string, unknown>;
|
|
950
|
+
export interface PathsCrb9BgV3NamesAuctionsIdClaimsGetResponses200ContentApplicationJsonSchema {
|
|
951
|
+
data: NameClaim[];
|
|
505
952
|
}
|
|
506
953
|
/** Name Transfer */
|
|
507
954
|
export interface NameTransfer {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
955
|
+
activeFrom: number;
|
|
956
|
+
/** Micro block hash */
|
|
957
|
+
blockHash: `mh_${string}`;
|
|
958
|
+
height: number;
|
|
959
|
+
/** Transaction hash */
|
|
960
|
+
sourceTxHash: `th_${string}`;
|
|
961
|
+
sourceTxType: string;
|
|
962
|
+
tx: NameTransferTx;
|
|
963
|
+
internalSource?: boolean;
|
|
964
|
+
}
|
|
965
|
+
export interface NameTransferTx {
|
|
966
|
+
/** Base58Check encoded tagged value */
|
|
967
|
+
nameId: string;
|
|
968
|
+
/** Base58Check encoded tagged pubkey */
|
|
969
|
+
recipientId: string;
|
|
970
|
+
fee: bigint;
|
|
971
|
+
ttl?: number;
|
|
972
|
+
/** Base58Check encoded tagged pubkey */
|
|
973
|
+
accountId: string;
|
|
974
|
+
nonce?: number;
|
|
512
975
|
}
|
|
513
976
|
/** Name Update */
|
|
514
977
|
export interface NameUpdate {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
978
|
+
activeFrom: number;
|
|
979
|
+
/** Micro block hash */
|
|
980
|
+
blockHash: `mh_${string}`;
|
|
981
|
+
height: number;
|
|
982
|
+
/** Transaction hash */
|
|
983
|
+
sourceTxHash: `th_${string}`;
|
|
984
|
+
sourceTxType: string;
|
|
985
|
+
tx: NameUpdateTx;
|
|
986
|
+
internalSource?: boolean;
|
|
522
987
|
}
|
|
523
988
|
export interface Oracle {
|
|
524
989
|
/** The oracle active status */
|
|
525
990
|
active: boolean;
|
|
526
991
|
/** The block height when the oracle became active */
|
|
527
992
|
activeFrom: number;
|
|
993
|
+
approximateExpireTime: Date;
|
|
528
994
|
/** The block height when the oracle expires */
|
|
529
995
|
expireHeight: number;
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
oracle
|
|
996
|
+
registerTime: Date;
|
|
997
|
+
/** The transaction hash in which the oracle was registered, use `register.hash` instead */
|
|
998
|
+
registerTxHash: `th_${string}`;
|
|
999
|
+
/** The oracle's query and response formats */
|
|
1000
|
+
format: OracleFormat;
|
|
1001
|
+
/** Oracle address */
|
|
1002
|
+
oracle: `ok_${string}`;
|
|
534
1003
|
/** The query fee */
|
|
535
|
-
queryFee:
|
|
536
|
-
|
|
537
|
-
register: number;
|
|
538
|
-
/** The block time in which the oracle was registered */
|
|
539
|
-
registerTime?: number;
|
|
1004
|
+
queryFee: bigint;
|
|
1005
|
+
register: OracleTx;
|
|
540
1006
|
}
|
|
541
1007
|
/** The oracle's query and response formats */
|
|
542
|
-
export interface
|
|
1008
|
+
export interface OracleFormat {
|
|
543
1009
|
/** The query format */
|
|
544
1010
|
query: string;
|
|
545
1011
|
/** The response format */
|
|
546
1012
|
response: string;
|
|
547
1013
|
}
|
|
548
|
-
export interface
|
|
549
|
-
|
|
1014
|
+
export interface OracleTx {
|
|
1015
|
+
/** Micro block hash */
|
|
1016
|
+
blockHash: `mh_${string}`;
|
|
1017
|
+
blockHeight: number;
|
|
1018
|
+
/** Transaction hash */
|
|
1019
|
+
hash: `th_${string}`;
|
|
1020
|
+
microIndex: number;
|
|
1021
|
+
microTime: Date;
|
|
1022
|
+
signatures: string[];
|
|
1023
|
+
/** Encoded transaction */
|
|
1024
|
+
encodedTx: `tx_${string}`;
|
|
1025
|
+
tx: OracleTxTx;
|
|
1026
|
+
}
|
|
1027
|
+
export interface OracleRegisterTx {
|
|
1028
|
+
queryFormat: string;
|
|
1029
|
+
responseFormat: string;
|
|
1030
|
+
queryFee: bigint;
|
|
1031
|
+
oracleTtl: Ttl;
|
|
1032
|
+
/** Base58Check encoded tagged pubkey */
|
|
1033
|
+
accountId: string;
|
|
1034
|
+
nonce?: number;
|
|
1035
|
+
fee: bigint;
|
|
1036
|
+
ttl?: number;
|
|
1037
|
+
abiVersion?: number;
|
|
1038
|
+
}
|
|
1039
|
+
export interface Components1Viuqa3SchemasOracletxPropertiesTxAllof1 {
|
|
1040
|
+
/** use `account_id` instead */
|
|
1041
|
+
oracleId: `ok_${string}`;
|
|
1042
|
+
type: string;
|
|
1043
|
+
version: number;
|
|
1044
|
+
/** use the outer `hash` instead */
|
|
1045
|
+
txHash: `th_${string}`;
|
|
1046
|
+
}
|
|
1047
|
+
export interface OracleExtend {
|
|
1048
|
+
/** The hash of the block in which it occurred */
|
|
1049
|
+
blockHash: `mh_${string}`;
|
|
1050
|
+
/** The block height */
|
|
1051
|
+
height: number;
|
|
1052
|
+
/** The hash of the transaction in which the extend was done */
|
|
1053
|
+
sourceTxHash: `th_${string}`;
|
|
1054
|
+
/** The type of the transaction in which the extend was done, it can be either via a contract call or an extend transaction */
|
|
1055
|
+
sourceTxType: string;
|
|
1056
|
+
tx: OracleExtendTx;
|
|
1057
|
+
}
|
|
1058
|
+
export interface OracleExtendTx {
|
|
1059
|
+
fee: bigint;
|
|
1060
|
+
oracleTtl: RelativeTTL;
|
|
1061
|
+
/** Base58Check encoded tagged pubkey */
|
|
1062
|
+
oracleId: string;
|
|
1063
|
+
nonce?: number;
|
|
1064
|
+
ttl?: number;
|
|
550
1065
|
}
|
|
551
1066
|
export interface OracleQuery {
|
|
552
|
-
/** The hash of the block in which it
|
|
553
|
-
blockHash: string
|
|
554
|
-
|
|
555
|
-
blockTime: number;
|
|
556
|
-
/** The transaction fee */
|
|
557
|
-
fee: number;
|
|
1067
|
+
/** The hash of the block in which it occurred */
|
|
1068
|
+
blockHash: `mh_${string}`;
|
|
1069
|
+
blockTime: Date;
|
|
558
1070
|
/** The block height */
|
|
559
1071
|
height: number;
|
|
1072
|
+
/** Oracle query ID */
|
|
1073
|
+
queryId: `oq_${string}`;
|
|
1074
|
+
response?: OracleResponse;
|
|
1075
|
+
/** The hash of the transaction in which the query was created */
|
|
1076
|
+
sourceTxHash: `th_${string}`;
|
|
1077
|
+
/** The type of the transaction in which the query was created, it can be either via a contract call or a query transaction */
|
|
1078
|
+
sourceTxType: string;
|
|
1079
|
+
/** The transaction fee */
|
|
1080
|
+
fee: bigint;
|
|
560
1081
|
/** The nonce */
|
|
561
1082
|
nonce: number;
|
|
562
1083
|
/** The oracle ID of this query */
|
|
563
|
-
oracleId: string
|
|
1084
|
+
oracleId: `ok_${string}`;
|
|
564
1085
|
/** Base64 encoding of the query */
|
|
565
1086
|
query: string;
|
|
566
1087
|
/** The query fee */
|
|
567
|
-
queryFee:
|
|
568
|
-
/** The query ID */
|
|
569
|
-
queryId: string;
|
|
1088
|
+
queryFee: bigint;
|
|
570
1089
|
/** Expiration of the query */
|
|
571
1090
|
queryTtl: Record<string, unknown>;
|
|
572
|
-
response?: OracleResponse;
|
|
573
1091
|
/** Expiration of the response */
|
|
574
1092
|
responseTtl: Record<string, unknown>;
|
|
575
1093
|
/** The creator of the query */
|
|
576
|
-
senderId: string
|
|
577
|
-
/** The hash of the transaction in which the query was created */
|
|
578
|
-
sourceTxHash: string;
|
|
579
|
-
/** The type of the transaction in which the query was created, it can be either via a contract call or a query transaction */
|
|
580
|
-
sourceTxType: string;
|
|
1094
|
+
senderId: `ak_${string}`;
|
|
581
1095
|
/** Transaction TTL */
|
|
582
1096
|
ttl: number;
|
|
583
1097
|
}
|
|
584
1098
|
export interface OracleResponse {
|
|
585
|
-
/** The hash of the block in which it
|
|
586
|
-
blockHash: string
|
|
587
|
-
|
|
588
|
-
blockTime: number;
|
|
589
|
-
/** The transaction fee */
|
|
590
|
-
fee: number;
|
|
1099
|
+
/** The hash of the block in which it occurred */
|
|
1100
|
+
blockHash: `mh_${string}`;
|
|
1101
|
+
blockTime: Date;
|
|
591
1102
|
/** The block height */
|
|
592
1103
|
height: number;
|
|
1104
|
+
/** Oracle query ID */
|
|
1105
|
+
queryId: `oq_${string}`;
|
|
1106
|
+
query: OracleQuery;
|
|
1107
|
+
/** The hash of the transaction in which the response was created */
|
|
1108
|
+
sourceTxHash: `th_${string}`;
|
|
1109
|
+
/** The type of the transaction in which the response was created, it can be either via a contract call or a respond transaction */
|
|
1110
|
+
sourceTxType: string;
|
|
1111
|
+
/** The transaction fee */
|
|
1112
|
+
fee: bigint;
|
|
593
1113
|
/** The nonce */
|
|
594
1114
|
nonce: number;
|
|
595
1115
|
/** The oracle ID of this response */
|
|
596
|
-
oracleId: string
|
|
597
|
-
query?: OracleResponse;
|
|
598
|
-
/** The query ID */
|
|
599
|
-
queryId: string;
|
|
1116
|
+
oracleId: `ok_${string}`;
|
|
600
1117
|
/** Base64 encoding of the response */
|
|
601
1118
|
response: string;
|
|
602
1119
|
/** Expiration of the response */
|
|
603
1120
|
responseTtl: Record<string, unknown>;
|
|
604
|
-
/** The hash of the transaction in which the response was created */
|
|
605
|
-
sourceTxHash: string;
|
|
606
|
-
/** The type of the transaction in which the response was created, it can be either via a contract call or a respond transaction */
|
|
607
|
-
sourceTxType: string;
|
|
608
1121
|
/** Transaction TTL */
|
|
609
1122
|
ttl: number;
|
|
610
1123
|
}
|
|
611
|
-
|
|
612
|
-
|
|
1124
|
+
/** Stats */
|
|
1125
|
+
export interface Stats {
|
|
1126
|
+
/** The number of miners */
|
|
1127
|
+
minersCount?: number;
|
|
1128
|
+
/** The fees trend */
|
|
1129
|
+
feesTrend?: number;
|
|
1130
|
+
/** The last 24hs average transaction fees */
|
|
1131
|
+
last24HsAverageTransactionFees?: number;
|
|
1132
|
+
/** The last 24hs transactions */
|
|
1133
|
+
last24HsTransactions?: number;
|
|
1134
|
+
/** The max transactions per second */
|
|
1135
|
+
maxTransactionsPerSecond?: number;
|
|
1136
|
+
/** The max transactions per second block hash */
|
|
1137
|
+
maxTransactionsPerSecondBlockHash?: `kh_${string}`;
|
|
1138
|
+
/** The transactions trend */
|
|
1139
|
+
transactionsTrend?: number;
|
|
1140
|
+
}
|
|
1141
|
+
/** Stat */
|
|
1142
|
+
export interface Stat {
|
|
1143
|
+
/** The statistic count */
|
|
1144
|
+
count: number;
|
|
1145
|
+
/** The statistic start date */
|
|
1146
|
+
startDate: string;
|
|
1147
|
+
/** The statistic end date (not taken into account) */
|
|
1148
|
+
endDate: string;
|
|
1149
|
+
}
|
|
1150
|
+
/** DeltaStat */
|
|
1151
|
+
export interface DeltaStat {
|
|
1152
|
+
/** The generation */
|
|
1153
|
+
height: number;
|
|
1154
|
+
/** The number of auctions started */
|
|
1155
|
+
auctionsStarted: number;
|
|
1156
|
+
/** The block reward */
|
|
1157
|
+
blockReward: bigint;
|
|
1158
|
+
/** The amount burned in auctions */
|
|
1159
|
+
burnedInAuctions: bigint;
|
|
1160
|
+
/** The number of channels closed */
|
|
1161
|
+
channelsClosed: number;
|
|
1162
|
+
/** The number of channels opened */
|
|
1163
|
+
channelsOpened: number;
|
|
1164
|
+
/** The number of contracts created */
|
|
1165
|
+
contractsCreated: number;
|
|
1166
|
+
/** The dev reward */
|
|
1167
|
+
devReward: bigint;
|
|
1168
|
+
/** The number of names activated */
|
|
1169
|
+
namesActivated: number;
|
|
1170
|
+
/** The number of names expired */
|
|
1171
|
+
namesExpired: number;
|
|
1172
|
+
/** The number of names revoked */
|
|
1173
|
+
namesRevoked: number;
|
|
1174
|
+
/** The number of oracles expired */
|
|
1175
|
+
oraclesExpired: number;
|
|
1176
|
+
/** The number of oracles registered */
|
|
1177
|
+
oraclesRegistered: number;
|
|
1178
|
+
/** The last transaction hash for this height */
|
|
1179
|
+
lastTxHash: `th_${string}`;
|
|
1180
|
+
/** The amount locked in auctions */
|
|
1181
|
+
lockedInAuctions: bigint;
|
|
1182
|
+
/** The amount locked in channels */
|
|
1183
|
+
lockedInChannels: bigint;
|
|
1184
|
+
}
|
|
1185
|
+
/** Miner */
|
|
1186
|
+
export interface Miner {
|
|
1187
|
+
/** The miner (beneficiary) address */
|
|
1188
|
+
miner: `ak_${string}`;
|
|
1189
|
+
/** The accumulated reward on the miner (beneficiary) address */
|
|
1190
|
+
totalReward: bigint;
|
|
1191
|
+
}
|
|
1192
|
+
/** TotalStat */
|
|
1193
|
+
export interface TotalStat {
|
|
1194
|
+
/** The generation */
|
|
1195
|
+
height: number;
|
|
1196
|
+
/** The number of contracts */
|
|
1197
|
+
contracts: number;
|
|
1198
|
+
/** The amount locked in auctions */
|
|
1199
|
+
lockedInAuctions: bigint;
|
|
1200
|
+
/** The amount burned in auctions */
|
|
1201
|
+
burnedInAuctions: bigint;
|
|
1202
|
+
/** The amount locked in channels */
|
|
1203
|
+
lockedInChannels: bigint;
|
|
1204
|
+
/** The number of active auctions */
|
|
1205
|
+
activeAuctions: number;
|
|
1206
|
+
/** The number of active names */
|
|
1207
|
+
activeNames: number;
|
|
1208
|
+
/** The number of inactive names */
|
|
1209
|
+
inactiveNames: number;
|
|
1210
|
+
/** The number of active oracles */
|
|
1211
|
+
activeOracles: number;
|
|
1212
|
+
/** The number of inactive oracles */
|
|
1213
|
+
inactiveOracles: number;
|
|
1214
|
+
/** The number of open channels */
|
|
1215
|
+
openChannels: number;
|
|
1216
|
+
/** The sum of block rewards */
|
|
1217
|
+
sumBlockReward: bigint;
|
|
1218
|
+
/** The sum of dev rewards */
|
|
1219
|
+
sumDevReward: bigint;
|
|
1220
|
+
/** The total token supply */
|
|
1221
|
+
totalTokenSupply: bigint;
|
|
1222
|
+
/** The last transaction hash for this height */
|
|
1223
|
+
lastTxHash: `th_${string}`;
|
|
613
1224
|
}
|
|
614
1225
|
export interface Status {
|
|
615
1226
|
mdwAsyncTasks: StatusMdwAsyncTasks;
|
|
@@ -645,647 +1256,510 @@ export interface StatusMdwAsyncTasks {
|
|
|
645
1256
|
producerBuffer: number;
|
|
646
1257
|
totalPending: number;
|
|
647
1258
|
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
lastTxHash?: string;
|
|
665
|
-
/** The number of names activated */
|
|
666
|
-
namesActivated?: number;
|
|
667
|
-
/** The number of names expired */
|
|
668
|
-
namesExpired?: number;
|
|
669
|
-
/** The number of names revoked */
|
|
670
|
-
namesRevoked?: number;
|
|
671
|
-
/** The number of oracles expired */
|
|
672
|
-
oraclesExpired?: number;
|
|
673
|
-
/** The number of oracles registered */
|
|
674
|
-
oraclesRegistered?: number;
|
|
675
|
-
}
|
|
676
|
-
export interface Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
677
|
-
data?: Transfer[];
|
|
1259
|
+
/** Pending Transaction */
|
|
1260
|
+
export interface PendingTransaction {
|
|
1261
|
+
/** The block hash, but since it's pending it's always "none" */
|
|
1262
|
+
blockHash: string;
|
|
1263
|
+
/** The block height, but since it's pending it's always -1 */
|
|
1264
|
+
blockHeight: number;
|
|
1265
|
+
/** Encoded transaction */
|
|
1266
|
+
encodedTx: `tx_${string}`;
|
|
1267
|
+
/** The failures count */
|
|
1268
|
+
failures: number;
|
|
1269
|
+
/** Transaction hash */
|
|
1270
|
+
hash: `th_${string}`;
|
|
1271
|
+
/** The signatures */
|
|
1272
|
+
signatures: string[];
|
|
1273
|
+
/** The transaction */
|
|
1274
|
+
tx: Tx;
|
|
678
1275
|
}
|
|
679
1276
|
export interface Transfer {
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/** The channel close mutual txs count */
|
|
691
|
-
channelCloseMutualTx?: Record<string, unknown>;
|
|
692
|
-
/** The channel close solo txs count */
|
|
693
|
-
channelCloseSoloTx?: Record<string, unknown>;
|
|
694
|
-
/** The channel create txs count */
|
|
695
|
-
channelCreateTx?: Record<string, unknown>;
|
|
696
|
-
/** The channel deposit txs count */
|
|
697
|
-
channelDepositTx?: Record<string, unknown>;
|
|
698
|
-
/** The channel force progress txs count */
|
|
699
|
-
channelForceProgressTx?: number;
|
|
700
|
-
/** The channel offchain txs count */
|
|
701
|
-
channelOffchainTx?: Record<string, unknown>;
|
|
702
|
-
/** The channel settle txs count */
|
|
703
|
-
channelSettleTx?: Record<string, unknown>;
|
|
704
|
-
/** The channel slash txs count */
|
|
705
|
-
channelSlashTx?: Record<string, unknown>;
|
|
706
|
-
/** The channel snapshot solo txs count */
|
|
707
|
-
channelSnapshotSoloTx?: Record<string, unknown>;
|
|
708
|
-
/** The channel withdraw txs count */
|
|
709
|
-
channelWithdrawTx?: Record<string, unknown>;
|
|
710
|
-
/** The contract call txs count */
|
|
711
|
-
contractCallTx?: Record<string, unknown>;
|
|
712
|
-
/** The contract create txs count */
|
|
713
|
-
contractCreateTx?: Record<string, unknown>;
|
|
714
|
-
/** The ga attach txs count */
|
|
715
|
-
gaAttachTx?: Record<string, unknown>;
|
|
716
|
-
/** The ga meta txs count */
|
|
717
|
-
gaMetaTx?: Record<string, unknown>;
|
|
718
|
-
/** The name claim txs count */
|
|
719
|
-
nameClaimTx?: Record<string, unknown>;
|
|
720
|
-
/** The name preclaim txs count */
|
|
721
|
-
namePreclaimTx?: Record<string, unknown>;
|
|
722
|
-
/** The name revoke txs count */
|
|
723
|
-
nameRevokeTx?: Record<string, unknown>;
|
|
724
|
-
/** The name transfer txs count */
|
|
725
|
-
nameTransferTx?: number;
|
|
726
|
-
/** The name update txs count */
|
|
727
|
-
nameUpdateTx?: Record<string, unknown>;
|
|
728
|
-
/** The oracle extend txs count */
|
|
729
|
-
oracleExtendTx?: Record<string, unknown>;
|
|
730
|
-
/** The oracle query txs count */
|
|
731
|
-
oracleQueryTx?: Record<string, unknown>;
|
|
732
|
-
/** The oracle register txs count */
|
|
733
|
-
oracleRegisterTx?: Record<string, unknown>;
|
|
734
|
-
/** The oracle response txs count */
|
|
735
|
-
oracleResponseTx?: Record<string, unknown>;
|
|
736
|
-
/** The paying for txs count */
|
|
737
|
-
payingForTx?: Record<string, unknown>;
|
|
738
|
-
/** The spend txs count */
|
|
739
|
-
spendTx?: Record<string, unknown>;
|
|
740
|
-
}
|
|
741
|
-
/** AEx141 Transfer */
|
|
742
|
-
export interface Aex141TransferEvent {
|
|
743
|
-
blockHeight?: string;
|
|
744
|
-
contractId?: string;
|
|
745
|
-
logIdx?: number;
|
|
746
|
-
microIndex?: number;
|
|
747
|
-
microTime?: number;
|
|
748
|
-
recipientId?: string;
|
|
749
|
-
senderId?: string;
|
|
750
|
-
tokenId?: number;
|
|
751
|
-
txHash?: string;
|
|
1277
|
+
/** Account address */
|
|
1278
|
+
accountId: `ak_${string}`;
|
|
1279
|
+
amount: bigint;
|
|
1280
|
+
height: number;
|
|
1281
|
+
kind: TransferKind;
|
|
1282
|
+
/** Micro block hash */
|
|
1283
|
+
refBlockHash: `mh_${string}` | null;
|
|
1284
|
+
/** Transaction hash */
|
|
1285
|
+
refTxHash: `th_${string}` | null;
|
|
1286
|
+
refTxType: string | null;
|
|
752
1287
|
}
|
|
753
1288
|
/** AEx9 Transfer */
|
|
754
1289
|
export interface Aex9TransferEvent {
|
|
755
|
-
amount
|
|
756
|
-
blockHeight
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
1290
|
+
amount: bigint;
|
|
1291
|
+
blockHeight: number;
|
|
1292
|
+
/** Contract address */
|
|
1293
|
+
contractId: `ct_${string}`;
|
|
1294
|
+
logIdx: number;
|
|
1295
|
+
microIndex: number;
|
|
1296
|
+
microTime: Date;
|
|
1297
|
+
/** Account address */
|
|
1298
|
+
recipientId: `ak_${string}`;
|
|
1299
|
+
/** Account address */
|
|
1300
|
+
senderId: `ak_${string}`;
|
|
1301
|
+
/** Transaction hash */
|
|
1302
|
+
txHash: `th_${string}`;
|
|
1303
|
+
}
|
|
1304
|
+
/** Response Schema for AEX9 transfer responses */
|
|
1305
|
+
export interface Aex9TransferResponse {
|
|
1306
|
+
/** Transfer amount of AEX9 token */
|
|
1307
|
+
amount: bigint;
|
|
1308
|
+
/** The block height */
|
|
1309
|
+
blockHeight: number;
|
|
1310
|
+
/** AEX9 token transfer index */
|
|
1311
|
+
callTxi: number;
|
|
1312
|
+
/** Contract address */
|
|
1313
|
+
contractId: `ct_${string}`;
|
|
1314
|
+
/** Log index */
|
|
1315
|
+
logIdx: number;
|
|
1316
|
+
microTime: Date;
|
|
1317
|
+
/** Recipient of AEX9 transfer */
|
|
1318
|
+
recipient: `ak_${string}`;
|
|
1319
|
+
/** Sender of AEX9 transfer */
|
|
1320
|
+
sender: `ak_${string}`;
|
|
764
1321
|
}
|
|
765
1322
|
/** Contract call made inside of a contract call or contract create transaction */
|
|
766
1323
|
export interface InternalContractCallEvent {
|
|
767
|
-
/** The micro block hash in which the transaction happened */
|
|
768
|
-
blockHash: string;
|
|
769
|
-
/** The contract call transaction hash */
|
|
770
|
-
callTxHash?: string;
|
|
771
|
-
/** The contract pubkey */
|
|
772
|
-
contractId: string;
|
|
773
1324
|
/** The contract creation transaction hash */
|
|
774
|
-
contractTxHash: string
|
|
1325
|
+
contractTxHash: `th_${string}`;
|
|
1326
|
+
/** Contract address */
|
|
1327
|
+
contractId: `ct_${string}`;
|
|
1328
|
+
/** The contract call transaction hash */
|
|
1329
|
+
callTxHash?: `th_${string}`;
|
|
775
1330
|
/** The name of the function */
|
|
776
1331
|
function: string;
|
|
777
|
-
/** The height in which the internal call happened */
|
|
778
|
-
height: number;
|
|
779
1332
|
/** The transaction object */
|
|
780
1333
|
internalTx: Record<string, unknown>;
|
|
1334
|
+
/** The height in which the internal call happened */
|
|
1335
|
+
height: number;
|
|
781
1336
|
/** The micro block index */
|
|
782
1337
|
microIndex: number;
|
|
1338
|
+
/** The micro block hash in which the transaction happened */
|
|
1339
|
+
blockHash: `mh_${string}`;
|
|
783
1340
|
}
|
|
784
1341
|
/** Internal transfer */
|
|
785
1342
|
export interface InternalTransferEvent {
|
|
786
1343
|
/** The amount of AE tokens */
|
|
787
|
-
amount:
|
|
1344
|
+
amount: bigint;
|
|
788
1345
|
/** The kind of internal transfer */
|
|
789
1346
|
kind: InternalTransferEventKind;
|
|
790
1347
|
/** The transaction hash of a transaction related to the internal transfer */
|
|
791
|
-
refTxHash: string
|
|
1348
|
+
refTxHash: `th_${string}`;
|
|
792
1349
|
}
|
|
793
1350
|
/** Name claim */
|
|
794
1351
|
export interface NameClaimEvent {
|
|
1352
|
+
/** The hash of the transaction (either a name claim or a contract call transaction) */
|
|
1353
|
+
txHash: `th_${string}`;
|
|
795
1354
|
/** The claim transaction (internal or not) */
|
|
796
1355
|
tx: Record<string, unknown>;
|
|
797
|
-
/** The hash of the transaction (either a name claim or a contract call transaction) */
|
|
798
|
-
txHash: string;
|
|
799
1356
|
}
|
|
800
|
-
export interface
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
}
|
|
812
|
-
export interface
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
1357
|
+
export interface SpendTx {
|
|
1358
|
+
/** Base58Check encoded tagged pubkey */
|
|
1359
|
+
recipientId: string;
|
|
1360
|
+
amount: bigint;
|
|
1361
|
+
fee: bigint;
|
|
1362
|
+
ttl?: number;
|
|
1363
|
+
/** Base58Check encoded tagged pubkey */
|
|
1364
|
+
senderId: string;
|
|
1365
|
+
nonce?: number;
|
|
1366
|
+
/** Base64Check encoded tagged byte array */
|
|
1367
|
+
payload: string;
|
|
1368
|
+
}
|
|
1369
|
+
export interface ChannelCreateTx {
|
|
1370
|
+
/** Base58Check encoded tagged pubkey */
|
|
1371
|
+
initiatorId: string;
|
|
1372
|
+
initiatorAmount: bigint;
|
|
1373
|
+
/** Base58Check encoded tagged pubkey */
|
|
1374
|
+
responderId: string;
|
|
1375
|
+
responderAmount: bigint;
|
|
1376
|
+
channelReserve: bigint;
|
|
1377
|
+
lockPeriod: number;
|
|
1378
|
+
ttl?: number;
|
|
1379
|
+
fee: bigint;
|
|
1380
|
+
nonce?: number;
|
|
1381
|
+
/** Base58Check encoded tagged hash */
|
|
1382
|
+
stateHash: string;
|
|
1383
|
+
delegateIds?: Delegates;
|
|
1384
|
+
}
|
|
1385
|
+
export interface ChannelDepositTx {
|
|
1386
|
+
/** Base58Check encoded tagged pubkey */
|
|
1387
|
+
channelId: string;
|
|
1388
|
+
/** Base58Check encoded tagged pubkey */
|
|
1389
|
+
fromId: string;
|
|
1390
|
+
amount: bigint;
|
|
1391
|
+
ttl?: number;
|
|
1392
|
+
fee: bigint;
|
|
1393
|
+
nonce: number;
|
|
1394
|
+
/** Base58Check encoded tagged hash */
|
|
1395
|
+
stateHash: string;
|
|
1396
|
+
round: number;
|
|
1397
|
+
}
|
|
1398
|
+
export interface ChannelWithdrawTx {
|
|
1399
|
+
/** Base58Check encoded tagged pubkey */
|
|
1400
|
+
channelId: string;
|
|
1401
|
+
/** Base58Check encoded tagged pubkey */
|
|
1402
|
+
toId: string;
|
|
1403
|
+
amount: bigint;
|
|
1404
|
+
ttl?: number;
|
|
1405
|
+
fee: bigint;
|
|
1406
|
+
nonce: number;
|
|
1407
|
+
/** Base58Check encoded tagged hash */
|
|
1408
|
+
stateHash: string;
|
|
1409
|
+
round: number;
|
|
1410
|
+
}
|
|
1411
|
+
export interface ChannelForceProgressTx {
|
|
1412
|
+
/** Base58Check encoded tagged pubkey */
|
|
1413
|
+
channelId: string;
|
|
1414
|
+
/** Base58Check encoded tagged pubkey */
|
|
1415
|
+
fromId: string;
|
|
1416
|
+
/** Base64Check encoded tagged byte array */
|
|
1417
|
+
payload: string;
|
|
1418
|
+
round: number;
|
|
1419
|
+
update: OffChainUpdate;
|
|
1420
|
+
/** Base58Check encoded tagged hash */
|
|
1421
|
+
stateHash: string;
|
|
1422
|
+
ttl?: number;
|
|
1423
|
+
fee: bigint;
|
|
1424
|
+
nonce?: number;
|
|
1425
|
+
/** Base64Check encoded tagged byte array */
|
|
1426
|
+
offchainTrees?: string;
|
|
1427
|
+
}
|
|
1428
|
+
export interface ChannelCloseMutualTx {
|
|
1429
|
+
/** Base58Check encoded tagged pubkey */
|
|
1430
|
+
channelId: string;
|
|
1431
|
+
/** Base58Check encoded tagged pubkey */
|
|
1432
|
+
fromId: string;
|
|
1433
|
+
initiatorAmountFinal: number;
|
|
1434
|
+
responderAmountFinal: number;
|
|
1435
|
+
ttl?: number;
|
|
1436
|
+
fee: bigint;
|
|
1437
|
+
nonce: number;
|
|
827
1438
|
}
|
|
828
|
-
export interface
|
|
1439
|
+
export interface ChannelCloseSoloTx {
|
|
1440
|
+
/** Base58Check encoded tagged pubkey */
|
|
1441
|
+
channelId: string;
|
|
1442
|
+
/** Base58Check encoded tagged pubkey */
|
|
1443
|
+
fromId: string;
|
|
1444
|
+
/** Base64Check encoded tagged byte array */
|
|
1445
|
+
payload: string;
|
|
1446
|
+
ttl?: number;
|
|
1447
|
+
fee: bigint;
|
|
1448
|
+
nonce?: number;
|
|
1449
|
+
/** Base64Check encoded tagged byte array */
|
|
1450
|
+
poi: string;
|
|
1451
|
+
}
|
|
1452
|
+
export interface ChannelSlashTx {
|
|
1453
|
+
/** Base58Check encoded tagged pubkey */
|
|
1454
|
+
channelId: string;
|
|
1455
|
+
/** Base58Check encoded tagged pubkey */
|
|
1456
|
+
fromId: string;
|
|
1457
|
+
/** Base64Check encoded tagged byte array */
|
|
1458
|
+
payload: string;
|
|
1459
|
+
ttl?: number;
|
|
1460
|
+
fee: bigint;
|
|
1461
|
+
nonce?: number;
|
|
1462
|
+
/** Base64Check encoded tagged byte array */
|
|
1463
|
+
poi: string;
|
|
1464
|
+
}
|
|
1465
|
+
export interface ChannelSettleTx {
|
|
1466
|
+
/** Base58Check encoded tagged pubkey */
|
|
1467
|
+
channelId: string;
|
|
1468
|
+
/** Base58Check encoded tagged pubkey */
|
|
1469
|
+
fromId: string;
|
|
1470
|
+
initiatorAmountFinal: number;
|
|
1471
|
+
responderAmountFinal: number;
|
|
1472
|
+
ttl?: number;
|
|
1473
|
+
fee: bigint;
|
|
1474
|
+
nonce: number;
|
|
829
1475
|
}
|
|
830
|
-
export interface
|
|
1476
|
+
export interface ChannelSnapshotSoloTx {
|
|
1477
|
+
/** Base58Check encoded tagged pubkey */
|
|
1478
|
+
channelId: string;
|
|
1479
|
+
/** Base58Check encoded tagged pubkey */
|
|
1480
|
+
fromId: string;
|
|
1481
|
+
/** Base64Check encoded tagged byte array */
|
|
1482
|
+
payload: string;
|
|
1483
|
+
ttl?: number;
|
|
1484
|
+
fee: bigint;
|
|
1485
|
+
nonce?: number;
|
|
1486
|
+
}
|
|
1487
|
+
export interface ChannelSetDelegatesTx {
|
|
1488
|
+
/** Base58Check encoded tagged pubkey */
|
|
1489
|
+
channelId: string;
|
|
1490
|
+
/** Base58Check encoded tagged pubkey */
|
|
1491
|
+
fromId: string;
|
|
1492
|
+
initiatorDelegateIds: string[];
|
|
1493
|
+
responderDelegateIds: string[];
|
|
1494
|
+
/** Base58Check encoded tagged pubkey */
|
|
1495
|
+
stateHash: string;
|
|
1496
|
+
round: number;
|
|
1497
|
+
/** Base64Check encoded tagged byte array */
|
|
1498
|
+
payload: string;
|
|
1499
|
+
ttl?: number;
|
|
1500
|
+
fee: bigint;
|
|
1501
|
+
nonce?: number;
|
|
1502
|
+
}
|
|
1503
|
+
export interface OracleQueryTx {
|
|
1504
|
+
/** Base58Check encoded tagged pubkey */
|
|
1505
|
+
oracleId: string;
|
|
1506
|
+
query: string;
|
|
1507
|
+
queryFee: bigint;
|
|
1508
|
+
queryTtl: Ttl;
|
|
1509
|
+
responseTtl: RelativeTTL;
|
|
1510
|
+
fee: bigint;
|
|
1511
|
+
ttl?: number;
|
|
1512
|
+
/** Base58Check encoded tagged pubkey */
|
|
1513
|
+
senderId: string;
|
|
1514
|
+
nonce?: number;
|
|
831
1515
|
}
|
|
832
|
-
export interface
|
|
1516
|
+
export interface OracleRespondTx {
|
|
1517
|
+
/** Base58Check encoded tagged value */
|
|
1518
|
+
queryId: string;
|
|
1519
|
+
response: string;
|
|
1520
|
+
responseTtl: RelativeTTL;
|
|
1521
|
+
fee: bigint;
|
|
1522
|
+
ttl?: number;
|
|
1523
|
+
/** Base58Check encoded tagged pubkey */
|
|
1524
|
+
oracleId: string;
|
|
1525
|
+
nonce?: number;
|
|
1526
|
+
}
|
|
1527
|
+
export interface NamePreclaimTx {
|
|
1528
|
+
/** Base58Check encoded tagged value */
|
|
1529
|
+
commitmentId: string;
|
|
1530
|
+
fee: bigint;
|
|
1531
|
+
ttl?: number;
|
|
1532
|
+
/** Base58Check encoded tagged pubkey */
|
|
1533
|
+
accountId: string;
|
|
1534
|
+
nonce?: number;
|
|
833
1535
|
}
|
|
834
|
-
export interface
|
|
1536
|
+
export interface ContractCallTx {
|
|
1537
|
+
/** Base58Check encoded tagged pubkey */
|
|
1538
|
+
callerId: string;
|
|
1539
|
+
nonce?: number;
|
|
1540
|
+
/** Base58Check encoded tagged pubkey */
|
|
1541
|
+
contractId: string;
|
|
1542
|
+
abiVersion: number;
|
|
1543
|
+
fee: bigint;
|
|
1544
|
+
ttl?: number;
|
|
1545
|
+
amount: bigint;
|
|
1546
|
+
gas: number;
|
|
1547
|
+
gasPrice: bigint;
|
|
1548
|
+
/** Base64Check encoded tagged byte array */
|
|
1549
|
+
callData: string;
|
|
1550
|
+
}
|
|
1551
|
+
export interface GAAttachTx {
|
|
1552
|
+
/** Base58Check encoded tagged pubkey */
|
|
1553
|
+
ownerId: string;
|
|
1554
|
+
nonce?: number;
|
|
1555
|
+
/** Base64Check encoded tagged byte array */
|
|
1556
|
+
code: string;
|
|
1557
|
+
vmVersion: number;
|
|
1558
|
+
abiVersion: number;
|
|
1559
|
+
gas: number;
|
|
1560
|
+
gasPrice: bigint;
|
|
1561
|
+
fee: bigint;
|
|
1562
|
+
ttl?: number;
|
|
1563
|
+
/** Base64Check encoded tagged byte array */
|
|
1564
|
+
callData: string;
|
|
1565
|
+
/** Contract authorization function hash (hex encoded) */
|
|
1566
|
+
authFun: string;
|
|
1567
|
+
}
|
|
1568
|
+
export interface GAMetaTx {
|
|
1569
|
+
/** Base58Check encoded tagged pubkey */
|
|
1570
|
+
gaId: string;
|
|
1571
|
+
abiVersion: number;
|
|
1572
|
+
gas: number;
|
|
1573
|
+
gasPrice: bigint;
|
|
1574
|
+
fee: bigint;
|
|
1575
|
+
ttl?: number;
|
|
1576
|
+
/** Base64Check encoded tagged byte array */
|
|
1577
|
+
authData: string;
|
|
1578
|
+
tx: SignedTx;
|
|
1579
|
+
}
|
|
1580
|
+
export interface PayingForTx {
|
|
1581
|
+
/** Base58Check encoded tagged pubkey */
|
|
1582
|
+
payerId: string;
|
|
1583
|
+
fee: bigint;
|
|
1584
|
+
nonce?: number;
|
|
1585
|
+
tx: SignedTx;
|
|
1586
|
+
}
|
|
1587
|
+
export interface AuctionLastBidTx extends NameClaimTx, Components17W16A5SchemasAuctionPropertiesLastBidPropertiesTxAllof1 {
|
|
1588
|
+
}
|
|
1589
|
+
/** Key Block Extended */
|
|
1590
|
+
export interface KeyBlockExtended extends KeyBlock {
|
|
1591
|
+
/** The beneficiary reward */
|
|
1592
|
+
beneficiaryReward: number;
|
|
1593
|
+
/** */
|
|
1594
|
+
flags: `ba_${string}`;
|
|
1595
|
+
/** The number of micro blocks */
|
|
1596
|
+
microBlocksCount: number;
|
|
1597
|
+
/** The number of transactions */
|
|
1598
|
+
transactionsCount: number;
|
|
835
1599
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
export
|
|
853
|
-
|
|
854
|
-
export
|
|
855
|
-
|
|
856
|
-
export
|
|
857
|
-
|
|
858
|
-
export
|
|
859
|
-
|
|
860
|
-
export
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
*/
|
|
892
|
-
export type
|
|
893
|
-
/**
|
|
894
|
-
export
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
*/
|
|
908
|
-
export type
|
|
909
|
-
/**
|
|
910
|
-
export
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
* **ChannelSnapshotSoloTxEvent** \
|
|
994
|
-
* **ChannelSetDelegatesTxEvent** \
|
|
995
|
-
* **ChannelOffchainTxEvent** \
|
|
996
|
-
* **ChannelClientReconnectTxEvent** \
|
|
997
|
-
* **PayingForTxEvent**
|
|
998
|
-
*/
|
|
999
|
-
export type ActivityType = string;
|
|
1000
|
-
/** Known values of {@link Enum3} that the service accepts. */
|
|
1001
|
-
export declare enum KnownEnum3 {
|
|
1002
|
-
/** Creation */
|
|
1003
|
-
Creation = "creation",
|
|
1004
|
-
/** Name */
|
|
1005
|
-
Name = "name",
|
|
1006
|
-
/** Symbol */
|
|
1007
|
-
Symbol = "symbol"
|
|
1008
|
-
}
|
|
1009
|
-
/**
|
|
1010
|
-
* Defines values for Enum3. \
|
|
1011
|
-
* {@link KnownEnum3} can be used interchangeably with Enum3,
|
|
1012
|
-
* this enum contains the known values that the service supports.
|
|
1013
|
-
* ### Known values supported by the service
|
|
1014
|
-
* **creation** \
|
|
1015
|
-
* **name** \
|
|
1016
|
-
* **symbol**
|
|
1017
|
-
*/
|
|
1018
|
-
export type Enum3 = string;
|
|
1019
|
-
/** Known values of {@link Enum4} that the service accepts. */
|
|
1020
|
-
export declare enum KnownEnum4 {
|
|
1021
|
-
/** Creation */
|
|
1022
|
-
Creation = "creation",
|
|
1023
|
-
/** Name */
|
|
1024
|
-
Name = "name",
|
|
1025
|
-
/** Symbol */
|
|
1026
|
-
Symbol = "symbol"
|
|
1027
|
-
}
|
|
1028
|
-
/**
|
|
1029
|
-
* Defines values for Enum4. \
|
|
1030
|
-
* {@link KnownEnum4} can be used interchangeably with Enum4,
|
|
1031
|
-
* this enum contains the known values that the service supports.
|
|
1032
|
-
* ### Known values supported by the service
|
|
1033
|
-
* **creation** \
|
|
1034
|
-
* **name** \
|
|
1035
|
-
* **symbol**
|
|
1036
|
-
*/
|
|
1037
|
-
export type Enum4 = string;
|
|
1038
|
-
/** Known values of {@link Enum5} that the service accepts. */
|
|
1039
|
-
export declare enum KnownEnum5 {
|
|
1040
|
-
/** Active */
|
|
1041
|
-
Active = "active",
|
|
1042
|
-
/** Inactive */
|
|
1043
|
-
Inactive = "inactive"
|
|
1044
|
-
}
|
|
1045
|
-
/**
|
|
1046
|
-
* Defines values for Enum5. \
|
|
1047
|
-
* {@link KnownEnum5} can be used interchangeably with Enum5,
|
|
1048
|
-
* this enum contains the known values that the service supports.
|
|
1049
|
-
* ### Known values supported by the service
|
|
1050
|
-
* **active** \
|
|
1051
|
-
* **inactive**
|
|
1052
|
-
*/
|
|
1053
|
-
export type Enum5 = string;
|
|
1054
|
-
/** Known values of {@link NameStatus} that the service accepts. */
|
|
1055
|
-
export declare enum KnownNameStatus {
|
|
1056
|
-
/** Name */
|
|
1057
|
-
Name = "name",
|
|
1058
|
-
/** Auction */
|
|
1059
|
-
Auction = "auction"
|
|
1060
|
-
}
|
|
1061
|
-
/**
|
|
1062
|
-
* Defines values for NameStatus. \
|
|
1063
|
-
* {@link KnownNameStatus} can be used interchangeably with NameStatus,
|
|
1064
|
-
* this enum contains the known values that the service supports.
|
|
1065
|
-
* ### Known values supported by the service
|
|
1066
|
-
* **name** \
|
|
1067
|
-
* **auction**
|
|
1068
|
-
*/
|
|
1069
|
-
export type NameStatus = string;
|
|
1070
|
-
/** Known values of {@link AuctionInfoStatus} that the service accepts. */
|
|
1071
|
-
export declare enum KnownAuctionInfoStatus {
|
|
1072
|
-
/** Auction */
|
|
1073
|
-
Auction = "auction"
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
* Defines values for AuctionInfoStatus. \
|
|
1077
|
-
* {@link KnownAuctionInfoStatus} can be used interchangeably with AuctionInfoStatus,
|
|
1078
|
-
* this enum contains the known values that the service supports.
|
|
1079
|
-
* ### Known values supported by the service
|
|
1080
|
-
* **auction**
|
|
1081
|
-
*/
|
|
1082
|
-
export type AuctionInfoStatus = string;
|
|
1083
|
-
/** Known values of {@link Get200ApplicationJsonAllOfPropertiesItems1Status} that the service accepts. */
|
|
1084
|
-
export declare enum KnownGet200ApplicationJsonAllOfPropertiesItems1Status {
|
|
1085
|
-
/** Auction */
|
|
1086
|
-
Auction = "auction",
|
|
1087
|
-
/** Active */
|
|
1088
|
-
Active = "active",
|
|
1089
|
-
/** Inactive */
|
|
1090
|
-
Inactive = "inactive"
|
|
1091
|
-
}
|
|
1092
|
-
/**
|
|
1093
|
-
* Defines values for Get200ApplicationJsonAllOfPropertiesItems1Status. \
|
|
1094
|
-
* {@link KnownGet200ApplicationJsonAllOfPropertiesItems1Status} can be used interchangeably with Get200ApplicationJsonAllOfPropertiesItems1Status,
|
|
1095
|
-
* this enum contains the known values that the service supports.
|
|
1096
|
-
* ### Known values supported by the service
|
|
1097
|
-
* **auction** \
|
|
1098
|
-
* **active** \
|
|
1099
|
-
* **inactive**
|
|
1100
|
-
*/
|
|
1101
|
-
export type Get200ApplicationJsonAllOfPropertiesItems1Status = string;
|
|
1102
|
-
/** Known values of {@link TransferKind} that the service accepts. */
|
|
1103
|
-
export declare enum KnownTransferKind {
|
|
1104
|
-
/** RewardDev */
|
|
1105
|
-
RewardDev = "reward_dev",
|
|
1106
|
-
/** RewardBlock */
|
|
1107
|
-
RewardBlock = "reward_block"
|
|
1108
|
-
}
|
|
1109
|
-
/**
|
|
1110
|
-
* Defines values for TransferKind. \
|
|
1111
|
-
* {@link KnownTransferKind} can be used interchangeably with TransferKind,
|
|
1112
|
-
* this enum contains the known values that the service supports.
|
|
1113
|
-
* ### Known values supported by the service
|
|
1114
|
-
* **reward_dev** \
|
|
1115
|
-
* **reward_block**
|
|
1116
|
-
*/
|
|
1117
|
-
export type TransferKind = string;
|
|
1118
|
-
/** Known values of {@link Get0ItemsItem} that the service accepts. */
|
|
1119
|
-
export declare enum KnownGet0ItemsItem {
|
|
1120
|
-
/** ChannelCloseMutual */
|
|
1121
|
-
ChannelCloseMutual = "channel_close_mutual",
|
|
1122
|
-
/** ChannelCloseSolo */
|
|
1123
|
-
ChannelCloseSolo = "channel_close_solo",
|
|
1124
|
-
/** ChannelCreate */
|
|
1125
|
-
ChannelCreate = "channel_create",
|
|
1126
|
-
/** ChannelDeposit */
|
|
1127
|
-
ChannelDeposit = "channel_deposit",
|
|
1128
|
-
/** ChannelForceProgress */
|
|
1129
|
-
ChannelForceProgress = "channel_force_progress",
|
|
1130
|
-
/** ChannelOffchain */
|
|
1131
|
-
ChannelOffchain = "channel_offchain",
|
|
1132
|
-
/** ChannelSettle */
|
|
1133
|
-
ChannelSettle = "channel_settle",
|
|
1134
|
-
/** ChannelSlash */
|
|
1135
|
-
ChannelSlash = "channel_slash",
|
|
1136
|
-
/** ChannelSnapshotSolo */
|
|
1137
|
-
ChannelSnapshotSolo = "channel_snapshot_solo",
|
|
1138
|
-
/** ChannelWithdraw */
|
|
1139
|
-
ChannelWithdraw = "channel_withdraw",
|
|
1140
|
-
/** ContractCall */
|
|
1141
|
-
ContractCall = "contract_call",
|
|
1142
|
-
/** ContractCreate */
|
|
1143
|
-
ContractCreate = "contract_create",
|
|
1144
|
-
/** GaAttach */
|
|
1145
|
-
GaAttach = "ga_attach",
|
|
1146
|
-
/** GaMeta */
|
|
1147
|
-
GaMeta = "ga_meta",
|
|
1148
|
-
/** NameClaim */
|
|
1149
|
-
NameClaim = "name_claim",
|
|
1150
|
-
/** NamePreclaim */
|
|
1151
|
-
NamePreclaim = "name_preclaim",
|
|
1152
|
-
/** NameRevoke */
|
|
1153
|
-
NameRevoke = "name_revoke",
|
|
1154
|
-
/** NameTransfer */
|
|
1155
|
-
NameTransfer = "name_transfer",
|
|
1156
|
-
/** NameUpdate */
|
|
1157
|
-
NameUpdate = "name_update",
|
|
1158
|
-
/** OracleExtend */
|
|
1159
|
-
OracleExtend = "oracle_extend",
|
|
1160
|
-
/** OracleQuery */
|
|
1161
|
-
OracleQuery = "oracle_query",
|
|
1162
|
-
/** OracleRegister */
|
|
1163
|
-
OracleRegister = "oracle_register",
|
|
1164
|
-
/** OracleResponse */
|
|
1165
|
-
OracleResponse = "oracle_response",
|
|
1166
|
-
/** PayingFor */
|
|
1167
|
-
PayingFor = "paying_for",
|
|
1168
|
-
/** Spend */
|
|
1169
|
-
Spend = "spend"
|
|
1170
|
-
}
|
|
1171
|
-
/**
|
|
1172
|
-
* Defines values for Get0ItemsItem. \
|
|
1173
|
-
* {@link KnownGet0ItemsItem} can be used interchangeably with Get0ItemsItem,
|
|
1174
|
-
* this enum contains the known values that the service supports.
|
|
1175
|
-
* ### Known values supported by the service
|
|
1176
|
-
* **channel_close_mutual** \
|
|
1177
|
-
* **channel_close_solo** \
|
|
1178
|
-
* **channel_create** \
|
|
1179
|
-
* **channel_deposit** \
|
|
1180
|
-
* **channel_force_progress** \
|
|
1181
|
-
* **channel_offchain** \
|
|
1182
|
-
* **channel_settle** \
|
|
1183
|
-
* **channel_slash** \
|
|
1184
|
-
* **channel_snapshot_solo** \
|
|
1185
|
-
* **channel_withdraw** \
|
|
1186
|
-
* **contract_call** \
|
|
1187
|
-
* **contract_create** \
|
|
1188
|
-
* **ga_attach** \
|
|
1189
|
-
* **ga_meta** \
|
|
1190
|
-
* **name_claim** \
|
|
1191
|
-
* **name_preclaim** \
|
|
1192
|
-
* **name_revoke** \
|
|
1193
|
-
* **name_transfer** \
|
|
1194
|
-
* **name_update** \
|
|
1195
|
-
* **oracle_extend** \
|
|
1196
|
-
* **oracle_query** \
|
|
1197
|
-
* **oracle_register** \
|
|
1198
|
-
* **oracle_response** \
|
|
1199
|
-
* **paying_for** \
|
|
1200
|
-
* **spend**
|
|
1201
|
-
*/
|
|
1202
|
-
export type Get0ItemsItem = string;
|
|
1203
|
-
/** Known values of {@link Get1ItemsItem} that the service accepts. */
|
|
1204
|
-
export declare enum KnownGet1ItemsItem {
|
|
1205
|
-
/** Channel */
|
|
1206
|
-
Channel = "channel",
|
|
1207
|
-
/** Contract */
|
|
1208
|
-
Contract = "contract",
|
|
1209
|
-
/** Ga */
|
|
1210
|
-
Ga = "ga",
|
|
1211
|
-
/** Name */
|
|
1212
|
-
Name = "name",
|
|
1213
|
-
/** Oracle */
|
|
1214
|
-
Oracle = "oracle",
|
|
1215
|
-
/** PayingFor */
|
|
1216
|
-
PayingFor = "paying_for",
|
|
1217
|
-
/** Spend */
|
|
1218
|
-
Spend = "spend"
|
|
1219
|
-
}
|
|
1220
|
-
/**
|
|
1221
|
-
* Defines values for Get1ItemsItem. \
|
|
1222
|
-
* {@link KnownGet1ItemsItem} can be used interchangeably with Get1ItemsItem,
|
|
1223
|
-
* this enum contains the known values that the service supports.
|
|
1224
|
-
* ### Known values supported by the service
|
|
1225
|
-
* **channel** \
|
|
1226
|
-
* **contract** \
|
|
1227
|
-
* **ga** \
|
|
1228
|
-
* **name** \
|
|
1229
|
-
* **oracle** \
|
|
1230
|
-
* **paying_for** \
|
|
1231
|
-
* **spend**
|
|
1232
|
-
*/
|
|
1233
|
-
export type Get1ItemsItem = string;
|
|
1234
|
-
/** Known values of {@link InternalTransferEventKind} that the service accepts. */
|
|
1235
|
-
export declare enum KnownInternalTransferEventKind {
|
|
1236
|
-
/** AccountsExtraLima */
|
|
1237
|
-
AccountsExtraLima = "accounts_extra_lima",
|
|
1238
|
-
/** AccountsFortuna */
|
|
1239
|
-
AccountsFortuna = "accounts_fortuna",
|
|
1240
|
-
/** AccountsGenesis */
|
|
1241
|
-
AccountsGenesis = "accounts_genesis",
|
|
1242
|
-
/** AccountsLima */
|
|
1243
|
-
AccountsLima = "accounts_lima",
|
|
1244
|
-
/** AccountsMinerva */
|
|
1245
|
-
AccountsMinerva = "accounts_minerva",
|
|
1246
|
-
/** ContractsLima */
|
|
1247
|
-
ContractsLima = "contracts_lima",
|
|
1248
|
-
/** RewardDev */
|
|
1249
|
-
RewardDev = "reward_dev",
|
|
1250
|
-
/** RewardBlock */
|
|
1251
|
-
RewardBlock = "reward_block",
|
|
1252
|
-
/** FeeRefundOracle */
|
|
1253
|
-
FeeRefundOracle = "fee_refund_oracle",
|
|
1254
|
-
/** FeeLockName */
|
|
1255
|
-
FeeLockName = "fee_lock_name",
|
|
1256
|
-
/** FeeRefundName */
|
|
1257
|
-
FeeRefundName = "fee_refund_name",
|
|
1258
|
-
/** FeeSpendName */
|
|
1259
|
-
FeeSpendName = "fee_spend_name",
|
|
1260
|
-
/** RewardOracle */
|
|
1261
|
-
RewardOracle = "reward_oracle"
|
|
1262
|
-
}
|
|
1263
|
-
/**
|
|
1264
|
-
* Defines values for InternalTransferEventKind. \
|
|
1265
|
-
* {@link KnownInternalTransferEventKind} can be used interchangeably with InternalTransferEventKind,
|
|
1266
|
-
* this enum contains the known values that the service supports.
|
|
1267
|
-
* ### Known values supported by the service
|
|
1268
|
-
* **accounts_extra_lima** \
|
|
1269
|
-
* **accounts_fortuna** \
|
|
1270
|
-
* **accounts_genesis** \
|
|
1271
|
-
* **accounts_lima** \
|
|
1272
|
-
* **accounts_minerva** \
|
|
1273
|
-
* **contracts_lima** \
|
|
1274
|
-
* **reward_dev** \
|
|
1275
|
-
* **reward_block** \
|
|
1276
|
-
* **fee_refund_oracle** \
|
|
1277
|
-
* **fee_lock_name** \
|
|
1278
|
-
* **fee_refund_name** \
|
|
1279
|
-
* **fee_spend_name** \
|
|
1280
|
-
* **reward_oracle**
|
|
1281
|
-
*/
|
|
1282
|
-
export type InternalTransferEventKind = string;
|
|
1600
|
+
/** Micro Block Extended */
|
|
1601
|
+
export interface MicroBlockExtended extends MicroBlockHeader {
|
|
1602
|
+
/** The index of the micro-block on the micro-block height, starting from 0 */
|
|
1603
|
+
microBlockIndex: number;
|
|
1604
|
+
/** The number of transactions */
|
|
1605
|
+
transactionsCount: number;
|
|
1606
|
+
/** The gas used by the microblock */
|
|
1607
|
+
gas: number;
|
|
1608
|
+
/** */
|
|
1609
|
+
flags: `ba_${string}`;
|
|
1610
|
+
}
|
|
1611
|
+
export interface NameTxTx extends NameRevokeTx, Components171VsjiSchemasNametxPropertiesTxAllof1 {
|
|
1612
|
+
}
|
|
1613
|
+
export interface OracleTxTx extends OracleRegisterTx, Components1Viuqa3SchemasOracletxPropertiesTxAllof1 {
|
|
1614
|
+
}
|
|
1615
|
+
/** Defines values for Enum0. */
|
|
1616
|
+
export type Enum0 = "transactions" | "aexn" | "aex9" | "aex141" | "contract" | "transfers" | "claims" | "swaps";
|
|
1617
|
+
/** Defines values for Enum1. */
|
|
1618
|
+
export type Enum1 = "forward" | "backward";
|
|
1619
|
+
/** Defines values for ActivityType. */
|
|
1620
|
+
export type ActivityType = "SpendTxEvent" | "OracleRegisterTxEvent" | "OracleExtendTxEvent" | "OracleQueryTxEvent" | "OracleResponseTxEvent" | "NamePreclaimTxEvent" | "NameClaimTxEvent" | "NameTransferTxEvent" | "NameUpdateTxEvent" | "NameRevokeTxEvent" | "ContractCreateTxEvent" | "ContractCallTxEvent" | "GaAttachTxEvent" | "GaMetaTxEvent" | "ChannelCreateTxEvent" | "ChannelDepositTxEvent" | "ChannelWithdrawTxEvent" | "ChannelForceProgressTxEvent" | "ChannelCloseMutualTxEvent" | "ChannelCloseSoloTxEvent" | "ChannelSlashTxEvent" | "ChannelSettleTxEvent" | "ChannelSnapshotSoloTxEvent" | "ChannelSetDelegatesTxEvent" | "ChannelOffchainTxEvent" | "ChannelClientReconnectTxEvent" | "PayingForTxEvent";
|
|
1621
|
+
/** Defines values for TTLType. */
|
|
1622
|
+
export type TTLType = "delta" | "block";
|
|
1623
|
+
/** Defines values for TxType. */
|
|
1624
|
+
export type TxType = "SpendTx" | "ChannelCreateTx" | "ChannelDepositTx" | "ChannelWithdrawTx" | "ChannelForceProgressTx" | "ChannelCloseMutualTx" | "ChannelCloseSoloTx" | "ChannelSlashTx" | "ChannelSettleTx" | "ChannelSnapshotSoloTx" | "ChannelSetDelegatesTx" | "OracleRegisterTx" | "OracleExtendTx" | "OracleQueryTx" | "OracleRespondTx" | "NamePreclaimTx" | "NameClaimTx" | "NameUpdateTx" | "NameTransferTx" | "NameRevokeTx" | "ContractCreateTx" | "ContractCallTx" | "GAAttachTx" | "GAMetaTx" | "PayingForTx";
|
|
1625
|
+
/** Defines values for ActivityPayloadKind. */
|
|
1626
|
+
export type ActivityPayloadKind = "accounts_extra_lima" | "accounts_fortuna" | "accounts_genesis" | "accounts_lima" | "accounts_minerva" | "contracts_lima" | "reward_dev" | "reward_block" | "fee_refund_oracle" | "fee_lock_name" | "fee_refund_name" | "fee_spend_name" | "reward_oracle";
|
|
1627
|
+
/** Defines values for Enum6. */
|
|
1628
|
+
export type Enum6 = "forward" | "backward";
|
|
1629
|
+
/** Defines values for Enum7. */
|
|
1630
|
+
export type Enum7 = "forward" | "backward";
|
|
1631
|
+
/** Defines values for DexSwapAction. */
|
|
1632
|
+
export type DexSwapAction = "SWAP" | "BUY" | "SELL";
|
|
1633
|
+
/** Defines values for Enum9. */
|
|
1634
|
+
export type Enum9 = "forward" | "backward";
|
|
1635
|
+
/** Defines values for Enum10. */
|
|
1636
|
+
export type Enum10 = "forward" | "backward";
|
|
1637
|
+
/** Defines values for Enum11. */
|
|
1638
|
+
export type Enum11 = "creation" | "name" | "symbol";
|
|
1639
|
+
/** Defines values for Enum12. */
|
|
1640
|
+
export type Enum12 = "forward" | "backward";
|
|
1641
|
+
/** Defines values for Enum13. */
|
|
1642
|
+
export type Enum13 = "forward" | "backward";
|
|
1643
|
+
/** Defines values for Enum14. */
|
|
1644
|
+
export type Enum14 = "forward" | "backward";
|
|
1645
|
+
/** Defines values for Enum15. */
|
|
1646
|
+
export type Enum15 = "forward" | "backward";
|
|
1647
|
+
/** Defines values for Enum16. */
|
|
1648
|
+
export type Enum16 = "forward" | "backward";
|
|
1649
|
+
/** Defines values for Enum17. */
|
|
1650
|
+
export type Enum17 = "creation" | "name" | "symbol";
|
|
1651
|
+
/** Defines values for Enum18. */
|
|
1652
|
+
export type Enum18 = "forward" | "backward";
|
|
1653
|
+
/** Defines values for Enum19. */
|
|
1654
|
+
export type Enum19 = "forward" | "backward";
|
|
1655
|
+
/** Defines values for Enum20. */
|
|
1656
|
+
export type Enum20 = "forward" | "backward";
|
|
1657
|
+
/** Defines values for Enum21. */
|
|
1658
|
+
export type Enum21 = "active" | "inactive";
|
|
1659
|
+
/** Defines values for Enum22. */
|
|
1660
|
+
export type Enum22 = "forward" | "backward";
|
|
1661
|
+
/** Defines values for Enum23. */
|
|
1662
|
+
export type Enum23 = "forward" | "backward";
|
|
1663
|
+
/** Defines values for Enum24. */
|
|
1664
|
+
export type Enum24 = "forward" | "backward";
|
|
1665
|
+
/** Defines values for Enum25. */
|
|
1666
|
+
export type Enum25 = "forward" | "backward";
|
|
1667
|
+
/** Defines values for Enum26. */
|
|
1668
|
+
export type Enum26 = "forward" | "backward";
|
|
1669
|
+
/** Defines values for Enum27. */
|
|
1670
|
+
export type Enum27 = "forward" | "backward";
|
|
1671
|
+
/** Defines values for Enum28. */
|
|
1672
|
+
export type Enum28 = "forward" | "backward";
|
|
1673
|
+
/** Defines values for Enum29. */
|
|
1674
|
+
export type Enum29 = "forward" | "backward";
|
|
1675
|
+
/** Defines values for Enum30. */
|
|
1676
|
+
export type Enum30 = "forward" | "backward";
|
|
1677
|
+
/** Defines values for Enum31. */
|
|
1678
|
+
export type Enum31 = "forward" | "backward";
|
|
1679
|
+
/** Defines values for Enum32. */
|
|
1680
|
+
export type Enum32 = "forward" | "backward";
|
|
1681
|
+
/** Defines values for Enum33. */
|
|
1682
|
+
export type Enum33 = "forward" | "backward";
|
|
1683
|
+
/** Defines values for Enum34. */
|
|
1684
|
+
export type Enum34 = "forward" | "backward";
|
|
1685
|
+
/** Defines values for Enum35. */
|
|
1686
|
+
export type Enum35 = "forward" | "backward";
|
|
1687
|
+
/** Defines values for Enum36. */
|
|
1688
|
+
export type Enum36 = "forward" | "backward";
|
|
1689
|
+
/** Defines values for Enum37. */
|
|
1690
|
+
export type Enum37 = "forward" | "backward";
|
|
1691
|
+
/** Defines values for Enum38. */
|
|
1692
|
+
export type Enum38 = "forward" | "backward";
|
|
1693
|
+
/** Defines values for Enum39. */
|
|
1694
|
+
export type Enum39 = "forward" | "backward";
|
|
1695
|
+
/** Defines values for Enum40. */
|
|
1696
|
+
export type Enum40 = "forward" | "backward";
|
|
1697
|
+
/** Defines values for Enum41. */
|
|
1698
|
+
export type Enum41 = "day" | "week" | "month";
|
|
1699
|
+
/** Defines values for Enum42. */
|
|
1700
|
+
export type Enum42 = "forward" | "backward";
|
|
1701
|
+
/** Defines values for Enum43. */
|
|
1702
|
+
export type Enum43 = "day" | "week" | "month";
|
|
1703
|
+
/** Defines values for Enum44. */
|
|
1704
|
+
export type Enum44 = "forward" | "backward";
|
|
1705
|
+
/** Defines values for Enum45. */
|
|
1706
|
+
export type Enum45 = "day" | "week" | "month";
|
|
1707
|
+
/** Defines values for Enum46. */
|
|
1708
|
+
export type Enum46 = "key" | "micro";
|
|
1709
|
+
/** Defines values for Enum47. */
|
|
1710
|
+
export type Enum47 = "forward" | "backward";
|
|
1711
|
+
/** Defines values for Enum48. */
|
|
1712
|
+
export type Enum48 = "day" | "week" | "month";
|
|
1713
|
+
/** Defines values for Enum49. */
|
|
1714
|
+
export type Enum49 = "forward" | "backward";
|
|
1715
|
+
/** Defines values for Enum50. */
|
|
1716
|
+
export type Enum50 = "forward" | "backward";
|
|
1717
|
+
/** Defines values for Enum51. */
|
|
1718
|
+
export type Enum51 = "day" | "week" | "month";
|
|
1719
|
+
/** Defines values for Enum52. */
|
|
1720
|
+
export type Enum52 = "forward" | "backward";
|
|
1721
|
+
/** Defines values for Enum53. */
|
|
1722
|
+
export type Enum53 = "day" | "week" | "month";
|
|
1723
|
+
/** Defines values for Enum54. */
|
|
1724
|
+
export type Enum54 = "forward" | "backward";
|
|
1725
|
+
/** Defines values for Enum55. */
|
|
1726
|
+
export type Enum55 = "forward" | "backward";
|
|
1727
|
+
/** Defines values for Enum56. */
|
|
1728
|
+
export type Enum56 = "day" | "week" | "month";
|
|
1729
|
+
/** Defines values for Enum57. */
|
|
1730
|
+
export type Enum57 = "forward" | "backward";
|
|
1731
|
+
/** Defines values for Enum58. */
|
|
1732
|
+
export type Enum58 = "forward" | "backward";
|
|
1733
|
+
/** Defines values for Enum59. */
|
|
1734
|
+
export type Enum59 = "day" | "week" | "month";
|
|
1735
|
+
/** Defines values for Enum60. */
|
|
1736
|
+
export type Enum60 = "forward" | "backward";
|
|
1737
|
+
/** Defines values for Enum61. */
|
|
1738
|
+
export type Enum61 = "day" | "week" | "month";
|
|
1739
|
+
/** Defines values for Enum62. */
|
|
1740
|
+
export type Enum62 = "forward" | "backward";
|
|
1741
|
+
/** Defines values for Get0ItemsItem. */
|
|
1742
|
+
export type Get0ItemsItem = "channel_close_mutual" | "channel_close_solo" | "channel_create" | "channel_deposit" | "channel_force_progress" | "channel_offchain" | "channel_settle" | "channel_slash" | "channel_snapshot_solo" | "channel_withdraw" | "contract_call" | "contract_create" | "ga_attach" | "ga_meta" | "name_claim" | "name_preclaim" | "name_revoke" | "name_transfer" | "name_update" | "oracle_extend" | "oracle_query" | "oracle_register" | "oracle_response" | "paying_for" | "spend";
|
|
1743
|
+
/** Defines values for Get1ItemsItem. */
|
|
1744
|
+
export type Get1ItemsItem = "channel" | "contract" | "ga" | "name" | "oracle" | "paying_for" | "spend";
|
|
1745
|
+
/** Defines values for Enum65. */
|
|
1746
|
+
export type Enum65 = "forward" | "backward";
|
|
1747
|
+
/** Defines values for Enum66. */
|
|
1748
|
+
export type Enum66 = "forward" | "backward";
|
|
1749
|
+
/** Defines values for Enum67. */
|
|
1750
|
+
export type Enum67 = "forward" | "backward";
|
|
1751
|
+
/** Defines values for TransferKind. */
|
|
1752
|
+
export type TransferKind = "reward_dev" | "reward_block";
|
|
1753
|
+
/** Defines values for InternalTransferEventKind. */
|
|
1754
|
+
export type InternalTransferEventKind = "accounts_extra_lima" | "accounts_fortuna" | "accounts_genesis" | "accounts_lima" | "accounts_minerva" | "contracts_lima" | "reward_dev" | "reward_block" | "fee_refund_oracle" | "fee_lock_name" | "fee_refund_name" | "fee_spend_name" | "reward_oracle";
|
|
1755
|
+
/** Defines values for Enum70. */
|
|
1756
|
+
export type Enum70 = "forward" | "backward";
|
|
1283
1757
|
/** Optional parameters. */
|
|
1284
1758
|
export interface GetAccountActivitiesOptionalParams extends coreClient.OperationOptions {
|
|
1285
1759
|
/** Indicate to filter only activities initiated by the account */
|
|
1286
1760
|
ownedOnly?: boolean;
|
|
1287
1761
|
/**
|
|
1288
|
-
*
|
|
1762
|
+
* Filter by activity type. Supported values:
|
|
1289
1763
|
* * `transactions` - Transactions containing the account in any of the transaction fields
|
|
1290
1764
|
* * `aexn` - AExN (aex9 and aex141) activities
|
|
1291
1765
|
* * `aex9` - AEx9 activities
|
|
@@ -1293,51 +1767,123 @@ export interface GetAccountActivitiesOptionalParams extends coreClient.Operation
|
|
|
1293
1767
|
* * `contract` - Internal and external contract calls
|
|
1294
1768
|
* * `transfers` - Internal (both gen-based and tx-based) transfers
|
|
1295
1769
|
* * `claims` - Name claims related to the name hash
|
|
1770
|
+
* * `swaps` - Dex swaps related to the name hash
|
|
1296
1771
|
*
|
|
1297
1772
|
*/
|
|
1298
1773
|
type?: Enum0;
|
|
1774
|
+
/** Limit paginated resources (max 100) */
|
|
1775
|
+
limit?: number;
|
|
1776
|
+
/** Scopes results in a generation range */
|
|
1777
|
+
scope?: string;
|
|
1778
|
+
/** Sorts results in forwards or backwards direction */
|
|
1779
|
+
direction?: Enum1;
|
|
1299
1780
|
}
|
|
1300
1781
|
/** Contains response data for the getAccountActivities operation. */
|
|
1301
|
-
export type GetAccountActivitiesResponse =
|
|
1302
|
-
/** Optional parameters. */
|
|
1303
|
-
export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
|
|
1304
|
-
/** meta info field used on sorting */
|
|
1305
|
-
by?: Enum3;
|
|
1306
|
-
/** Sorts by name or symbol prefix */
|
|
1307
|
-
prefix?: string;
|
|
1308
|
-
}
|
|
1309
|
-
/** Contains response data for the getSortedAex141Contracts operation. */
|
|
1310
|
-
export type GetSortedAex141ContractsResponse = PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
|
|
1782
|
+
export type GetAccountActivitiesResponse = MiddlewarePage<Activity>;
|
|
1311
1783
|
/** Optional parameters. */
|
|
1312
1784
|
export interface GetAex141OwnedTokensOptionalParams extends coreClient.OperationOptions {
|
|
1313
|
-
/**
|
|
1314
|
-
|
|
1785
|
+
/** Limit paginated resources (max 100) */
|
|
1786
|
+
limit?: number;
|
|
1787
|
+
/** Sorts results in forwards or backwards direction */
|
|
1788
|
+
direction?: Enum6;
|
|
1789
|
+
/** Collection contract pubkey Contract address */
|
|
1790
|
+
contract?: `ct_${string}`;
|
|
1315
1791
|
}
|
|
1316
1792
|
/** Contains response data for the getAex141OwnedTokens operation. */
|
|
1317
|
-
export type GetAex141OwnedTokensResponse =
|
|
1793
|
+
export type GetAex141OwnedTokensResponse = MiddlewarePage<Aex141TokenResponse>;
|
|
1318
1794
|
/** Optional parameters. */
|
|
1319
|
-
export interface
|
|
1795
|
+
export interface GetAex9AccountBalancesOptionalParams extends coreClient.OperationOptions {
|
|
1320
1796
|
}
|
|
1321
|
-
/** Contains response data for the
|
|
1322
|
-
export type
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1797
|
+
/** Contains response data for the getAex9AccountBalances operation. */
|
|
1798
|
+
export type GetAex9AccountBalancesResponse = MiddlewarePage<Aex9BalanceResponse>;
|
|
1799
|
+
/** Optional parameters. */
|
|
1800
|
+
export interface GetAccountDexSwapsOptionalParams extends coreClient.OperationOptions {
|
|
1801
|
+
/** Sorts results in forwards or backwards direction */
|
|
1802
|
+
direction?: Enum7;
|
|
1803
|
+
}
|
|
1804
|
+
/** Contains response data for the getAccountDexSwaps operation. */
|
|
1805
|
+
export type GetAccountDexSwapsResponse = MiddlewarePage<DexSwap>;
|
|
1806
|
+
/** Optional parameters. */
|
|
1807
|
+
export interface GetAccountNameClaimsOptionalParams extends coreClient.OperationOptions {
|
|
1808
|
+
/** Limit paginated resources (max 100) */
|
|
1809
|
+
limit?: number;
|
|
1810
|
+
/** Scopes results in a generation range */
|
|
1811
|
+
scope?: string;
|
|
1812
|
+
/** Sorts results in forwards or backwards direction */
|
|
1813
|
+
direction?: Enum9;
|
|
1814
|
+
}
|
|
1815
|
+
/** Contains response data for the getAccountNameClaims operation. */
|
|
1816
|
+
export type GetAccountNameClaimsResponse = MiddlewarePage<NameClaim>;
|
|
1817
|
+
/** Optional parameters. */
|
|
1818
|
+
export interface GetAccountPointeesOptionalParams extends coreClient.OperationOptions {
|
|
1819
|
+
}
|
|
1820
|
+
/** Contains response data for the getAccountPointees operation. */
|
|
1821
|
+
export type GetAccountPointeesResponse = MiddlewarePage<Pointee>;
|
|
1326
1822
|
/** Optional parameters. */
|
|
1327
|
-
export interface
|
|
1823
|
+
export interface GetAccountTransactionsCountOptionalParams extends coreClient.OperationOptions {
|
|
1328
1824
|
}
|
|
1329
|
-
/** Contains response data for the
|
|
1330
|
-
export type
|
|
1825
|
+
/** Contains response data for the getAccountTransactionsCount operation. */
|
|
1826
|
+
export type GetAccountTransactionsCountResponse = PathsXcg812V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchema;
|
|
1827
|
+
/** Optional parameters. */
|
|
1828
|
+
export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
|
|
1829
|
+
/** Limit paginated resources (max 100) */
|
|
1830
|
+
limit?: number;
|
|
1831
|
+
/** Sorts results in forwards or backwards direction */
|
|
1832
|
+
direction?: Enum10;
|
|
1833
|
+
/** meta info field used on sorting */
|
|
1834
|
+
by?: Enum11;
|
|
1835
|
+
/** Sorts by name or symbol prefix, this is decided by the 'by' field. If it's name, it will sort by name prefix, if it's symbol, it will sort by symbol prefix. */
|
|
1836
|
+
prefix?: string;
|
|
1837
|
+
/** Gets AEX141 contracts with exact name or symbol, this is decided by the 'by' field. If it's name, it will get contracts with exact name, if it's symbol, it will get contracts with exact symbol. */
|
|
1838
|
+
exact?: string;
|
|
1839
|
+
}
|
|
1840
|
+
/** Contains response data for the getSortedAex141Contracts operation. */
|
|
1841
|
+
export type GetSortedAex141ContractsResponse = MiddlewarePage<Aex141Response>;
|
|
1331
1842
|
/** Optional parameters. */
|
|
1332
1843
|
export interface GetAex141ContractTemplatesOptionalParams extends coreClient.OperationOptions {
|
|
1844
|
+
/** Limit paginated resources (max 100) */
|
|
1845
|
+
limit?: number;
|
|
1846
|
+
/** Sorts results in forwards or backwards direction */
|
|
1847
|
+
direction?: Enum12;
|
|
1333
1848
|
}
|
|
1334
1849
|
/** Contains response data for the getAex141ContractTemplates operation. */
|
|
1335
|
-
export type GetAex141ContractTemplatesResponse =
|
|
1850
|
+
export type GetAex141ContractTemplatesResponse = MiddlewarePage<Aex141TemplatesResponse>;
|
|
1336
1851
|
/** Optional parameters. */
|
|
1337
1852
|
export interface GetAex141TemplateTokensOptionalParams extends coreClient.OperationOptions {
|
|
1853
|
+
/** Limit paginated resources (max 100) */
|
|
1854
|
+
limit?: number;
|
|
1855
|
+
/** Sorts results in forwards or backwards direction */
|
|
1856
|
+
direction?: Enum13;
|
|
1338
1857
|
}
|
|
1339
1858
|
/** Contains response data for the getAex141TemplateTokens operation. */
|
|
1340
|
-
export type GetAex141TemplateTokensResponse =
|
|
1859
|
+
export type GetAex141TemplateTokensResponse = MiddlewarePage<Aex141TemplateTokensResponse>;
|
|
1860
|
+
/** Optional parameters. */
|
|
1861
|
+
export interface GetAex141ContractTokensOptionalParams extends coreClient.OperationOptions {
|
|
1862
|
+
/** Limit paginated resources (max 100) */
|
|
1863
|
+
limit?: number;
|
|
1864
|
+
/** Sorts results in forwards or backwards direction */
|
|
1865
|
+
direction?: Enum14;
|
|
1866
|
+
}
|
|
1867
|
+
/** Contains response data for the getAex141ContractTokens operation. */
|
|
1868
|
+
export type GetAex141ContractTokensResponse = MiddlewarePage<Aex141TokenResponse>;
|
|
1869
|
+
/** Optional parameters. */
|
|
1870
|
+
export interface GetAex141TokenOwnerOptionalParams extends coreClient.OperationOptions {
|
|
1871
|
+
}
|
|
1872
|
+
/** Contains response data for the getAex141TokenOwner operation. */
|
|
1873
|
+
export type GetAex141TokenOwnerResponse = Aex141TokenDetailResponse;
|
|
1874
|
+
/** Optional parameters. */
|
|
1875
|
+
export interface GetAex141ContractTransfersOptionalParams extends coreClient.OperationOptions {
|
|
1876
|
+
/** Limit paginated resources (max 100) */
|
|
1877
|
+
limit?: number;
|
|
1878
|
+
/** Sorts results in forwards or backwards direction */
|
|
1879
|
+
direction?: Enum15;
|
|
1880
|
+
/** From account Account address */
|
|
1881
|
+
from?: `ak_${string}`;
|
|
1882
|
+
/** To account Account address */
|
|
1883
|
+
to?: `ak_${string}`;
|
|
1884
|
+
}
|
|
1885
|
+
/** Contains response data for the getAex141ContractTransfers operation. */
|
|
1886
|
+
export type GetAex141ContractTransfersResponse = MiddlewarePage<Aex141TransferEvent>;
|
|
1341
1887
|
/** Optional parameters. */
|
|
1342
1888
|
export interface GetAex141ByContractOptionalParams extends coreClient.OperationOptions {
|
|
1343
1889
|
}
|
|
@@ -1345,107 +1891,97 @@ export interface GetAex141ByContractOptionalParams extends coreClient.OperationO
|
|
|
1345
1891
|
export type GetAex141ByContractResponse = Aex141Response;
|
|
1346
1892
|
/** Optional parameters. */
|
|
1347
1893
|
export interface GetSortedAex9TokensOptionalParams extends coreClient.OperationOptions {
|
|
1348
|
-
/**
|
|
1894
|
+
/** Limit paginated resources (max 100) */
|
|
1895
|
+
limit?: number;
|
|
1896
|
+
/** Sorts by name or symbol prefix, this is decided by the 'by' field. If it's name, it will sort by name prefix, if it's symbol, it will sort by symbol prefix. */
|
|
1349
1897
|
prefix?: string;
|
|
1898
|
+
/** Gets AEX9 tokens with exact name or symbol, this is decided by the 'by' field. If it's name, it will get tokens with exact name, if it's symbol, it will get tokens with exact symbol. */
|
|
1899
|
+
exact?: string;
|
|
1900
|
+
/** Sorts results in forwards or backwards direction */
|
|
1901
|
+
direction?: Enum16;
|
|
1350
1902
|
/** meta info field used on sorting */
|
|
1351
|
-
by?:
|
|
1903
|
+
by?: Enum17;
|
|
1352
1904
|
}
|
|
1353
1905
|
/** Contains response data for the getSortedAex9Tokens operation. */
|
|
1354
|
-
export type GetSortedAex9TokensResponse =
|
|
1355
|
-
/** Optional parameters. */
|
|
1356
|
-
export interface GetAex9AccountBalancesOptionalParams extends coreClient.OperationOptions {
|
|
1357
|
-
}
|
|
1358
|
-
/** Contains response data for the getAex9AccountBalances operation. */
|
|
1359
|
-
export type GetAex9AccountBalancesResponse = Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema;
|
|
1906
|
+
export type GetSortedAex9TokensResponse = MiddlewarePage<Aex9Response>;
|
|
1360
1907
|
/** Optional parameters. */
|
|
1361
1908
|
export interface GetAex9TokensCountOptionalParams extends coreClient.OperationOptions {
|
|
1362
1909
|
}
|
|
1363
1910
|
/** Contains response data for the getAex9TokensCount operation. */
|
|
1364
|
-
export type GetAex9TokensCountResponse =
|
|
1365
|
-
/** The parsed response body. */
|
|
1366
|
-
body: number;
|
|
1367
|
-
};
|
|
1368
|
-
/** Optional parameters. */
|
|
1369
|
-
export interface GetAex9PairTransfersOptionalParams extends coreClient.OperationOptions {
|
|
1370
|
-
}
|
|
1371
|
-
/** Contains response data for the getAex9PairTransfers operation. */
|
|
1372
|
-
export type GetAex9PairTransfersResponse = Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema;
|
|
1373
|
-
/** Optional parameters. */
|
|
1374
|
-
export interface GetAex9SenderTransfersOptionalParams extends coreClient.OperationOptions {
|
|
1375
|
-
}
|
|
1376
|
-
/** Contains response data for the getAex9SenderTransfers operation. */
|
|
1377
|
-
export type GetAex9SenderTransfersResponse = Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema;
|
|
1378
|
-
/** Optional parameters. */
|
|
1379
|
-
export interface GetAex9RecipientTransfersOptionalParams extends coreClient.OperationOptions {
|
|
1380
|
-
}
|
|
1381
|
-
/** Contains response data for the getAex9RecipientTransfers operation. */
|
|
1382
|
-
export type GetAex9RecipientTransfersResponse = Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema;
|
|
1911
|
+
export type GetAex9TokensCountResponse = Paths19IxhsmV3Aex9CountGetResponses200ContentApplicationJsonSchema;
|
|
1383
1912
|
/** Optional parameters. */
|
|
1384
1913
|
export interface GetAex9ContractBalancesOptionalParams extends coreClient.OperationOptions {
|
|
1914
|
+
/** Limit paginated resources (max 100) */
|
|
1915
|
+
limit?: number;
|
|
1916
|
+
/** Sorts results in forwards or backwards direction */
|
|
1917
|
+
direction?: Enum18;
|
|
1385
1918
|
/** Order by */
|
|
1386
1919
|
by?: string;
|
|
1920
|
+
/** Block hash Micro block hash */
|
|
1921
|
+
blockHash?: `mh_${string}`;
|
|
1387
1922
|
}
|
|
1388
1923
|
/** Contains response data for the getAex9ContractBalances operation. */
|
|
1389
|
-
export type GetAex9ContractBalancesResponse =
|
|
1924
|
+
export type GetAex9ContractBalancesResponse = MiddlewarePage<Aex9ContractBalanceResponse>;
|
|
1390
1925
|
/** Optional parameters. */
|
|
1391
1926
|
export interface GetAex9ContractAccountBalanceOptionalParams extends coreClient.OperationOptions {
|
|
1927
|
+
/** Block hash Micro block hash */
|
|
1928
|
+
hash?: `mh_${string}`;
|
|
1392
1929
|
}
|
|
1393
1930
|
/** Contains response data for the getAex9ContractAccountBalance operation. */
|
|
1394
|
-
export type GetAex9ContractAccountBalanceResponse =
|
|
1931
|
+
export type GetAex9ContractAccountBalanceResponse = PathsKr825V3Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema;
|
|
1395
1932
|
/** Optional parameters. */
|
|
1396
1933
|
export interface GetAex9ContractAccountBalanceHistoryOptionalParams extends coreClient.OperationOptions {
|
|
1934
|
+
/** Limit paginated resources (max 100) */
|
|
1935
|
+
limit?: number;
|
|
1936
|
+
/** Scopes results in a generation range */
|
|
1937
|
+
scope?: string;
|
|
1938
|
+
/** Sorts results in forwards or backwards direction */
|
|
1939
|
+
direction?: Enum19;
|
|
1397
1940
|
}
|
|
1398
1941
|
/** Contains response data for the getAex9ContractAccountBalanceHistory operation. */
|
|
1399
|
-
export type GetAex9ContractAccountBalanceHistoryResponse =
|
|
1400
|
-
/** Optional parameters. */
|
|
1401
|
-
export interface GetAex9LogsCountOptionalParams extends coreClient.OperationOptions {
|
|
1402
|
-
}
|
|
1403
|
-
/** Contains response data for the getAex9LogsCount operation. */
|
|
1404
|
-
export type GetAex9LogsCountResponse = {
|
|
1405
|
-
/** The parsed response body. */
|
|
1406
|
-
body: number;
|
|
1407
|
-
};
|
|
1942
|
+
export type GetAex9ContractAccountBalanceHistoryResponse = MiddlewarePage<Get200ApplicationJsonAllOfPropertiesItemsItem>;
|
|
1408
1943
|
/** Optional parameters. */
|
|
1409
1944
|
export interface GetAex9ByContractOptionalParams extends coreClient.OperationOptions {
|
|
1410
1945
|
}
|
|
1411
1946
|
/** Contains response data for the getAex9ByContract operation. */
|
|
1412
1947
|
export type GetAex9ByContractResponse = Aex9Response;
|
|
1413
1948
|
/** Optional parameters. */
|
|
1414
|
-
export interface GetBlocksOptionalParams extends coreClient.OperationOptions {
|
|
1415
|
-
}
|
|
1416
|
-
/** Contains response data for the getBlocks operation. */
|
|
1417
|
-
export type GetBlocksResponse = Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema;
|
|
1418
|
-
/** Optional parameters. */
|
|
1419
|
-
export interface GetBlockOptionalParams extends coreClient.OperationOptions {
|
|
1420
|
-
}
|
|
1421
|
-
/** Contains response data for the getBlock operation. */
|
|
1422
|
-
export type GetBlockResponse = Block;
|
|
1423
|
-
/** Optional parameters. */
|
|
1424
|
-
export interface GetBlockByMbiOptionalParams extends coreClient.OperationOptions {
|
|
1425
|
-
}
|
|
1426
|
-
/** Contains response data for the getBlockByMbi operation. */
|
|
1427
|
-
export type GetBlockByMbiResponse = Block;
|
|
1428
|
-
/** Optional parameters. */
|
|
1429
1949
|
export interface GetChannelsOptionalParams extends coreClient.OperationOptions {
|
|
1950
|
+
/** Limit paginated resources (max 100) */
|
|
1951
|
+
limit?: number;
|
|
1952
|
+
/** Scopes results in a generation range */
|
|
1953
|
+
scope?: string;
|
|
1954
|
+
/** Sorts results in forwards or backwards direction */
|
|
1955
|
+
direction?: Enum20;
|
|
1430
1956
|
/** Exclusively filter by active/inactive channels. */
|
|
1431
|
-
state?:
|
|
1957
|
+
state?: Enum21;
|
|
1432
1958
|
}
|
|
1433
1959
|
/** Contains response data for the getChannels operation. */
|
|
1434
|
-
export type GetChannelsResponse =
|
|
1960
|
+
export type GetChannelsResponse = MiddlewarePage<Channel>;
|
|
1435
1961
|
/** Optional parameters. */
|
|
1436
1962
|
export interface GetChannelOptionalParams extends coreClient.OperationOptions {
|
|
1437
1963
|
}
|
|
1438
1964
|
/** Contains response data for the getChannel operation. */
|
|
1439
1965
|
export type GetChannelResponse = Channel;
|
|
1440
1966
|
/** Optional parameters. */
|
|
1441
|
-
export interface
|
|
1967
|
+
export interface GetContractCallsOptionalParams extends coreClient.OperationOptions {
|
|
1968
|
+
/** Limit paginated resources (max 100) */
|
|
1969
|
+
limit?: number;
|
|
1970
|
+
/** Scopes results in a generation range */
|
|
1971
|
+
scope?: string;
|
|
1972
|
+
/** Sorts results in forwards or backwards direction */
|
|
1973
|
+
direction?: Enum22;
|
|
1442
1974
|
}
|
|
1443
|
-
/** Contains response data for the
|
|
1444
|
-
export type
|
|
1975
|
+
/** Contains response data for the getContractCalls operation. */
|
|
1976
|
+
export type GetContractCallsResponse = MiddlewarePage<ContractCall>;
|
|
1445
1977
|
/** Optional parameters. */
|
|
1446
|
-
export interface
|
|
1447
|
-
/**
|
|
1448
|
-
|
|
1978
|
+
export interface GetContractLogsOptionalParams extends coreClient.OperationOptions {
|
|
1979
|
+
/** Limit paginated resources (max 100) */
|
|
1980
|
+
limit?: number;
|
|
1981
|
+
/** Scopes results in a generation range */
|
|
1982
|
+
scope?: string;
|
|
1983
|
+
/** Contract that emitted the logs Contract address */
|
|
1984
|
+
contractId?: `ct_${string}`;
|
|
1449
1985
|
/** Name of the event */
|
|
1450
1986
|
event?: string;
|
|
1451
1987
|
/** Prefix of the contract called function */
|
|
@@ -1456,190 +1992,518 @@ export interface GetContractsLogsOptionalParams extends coreClient.OperationOpti
|
|
|
1456
1992
|
data?: string;
|
|
1457
1993
|
/** Indicates to format args when event is AEX-N */
|
|
1458
1994
|
aexnArgs?: boolean;
|
|
1995
|
+
/** Sorts results in forwards or backwards direction */
|
|
1996
|
+
direction?: Enum23;
|
|
1459
1997
|
}
|
|
1460
|
-
/** Contains response data for the
|
|
1461
|
-
export type
|
|
1998
|
+
/** Contains response data for the getContractLogs operation. */
|
|
1999
|
+
export type GetContractLogsResponse = MiddlewarePage<ContractLog>;
|
|
1462
2000
|
/** Optional parameters. */
|
|
1463
2001
|
export interface GetContractOptionalParams extends coreClient.OperationOptions {
|
|
1464
2002
|
}
|
|
1465
2003
|
/** Contains response data for the getContract operation. */
|
|
1466
2004
|
export type GetContractResponse = Contract;
|
|
1467
2005
|
/** Optional parameters. */
|
|
1468
|
-
export interface
|
|
2006
|
+
export interface GetDexSwapsOptionalParams extends coreClient.OperationOptions {
|
|
2007
|
+
/** Sorts results in forwards or backwards direction */
|
|
2008
|
+
direction?: Enum24;
|
|
2009
|
+
}
|
|
2010
|
+
/** Contains response data for the getDexSwaps operation. */
|
|
2011
|
+
export type GetDexSwapsResponse = MiddlewarePage<DexSwap>;
|
|
2012
|
+
/** Optional parameters. */
|
|
2013
|
+
export interface GetDexSwapsByContractIdOptionalParams extends coreClient.OperationOptions {
|
|
2014
|
+
/** Sorts results in forwards or backwards direction */
|
|
2015
|
+
direction?: Enum25;
|
|
2016
|
+
}
|
|
2017
|
+
/** Contains response data for the getDexSwapsByContractId operation. */
|
|
2018
|
+
export type GetDexSwapsByContractIdResponse = MiddlewarePage<DexSwap>;
|
|
2019
|
+
/** Optional parameters. */
|
|
2020
|
+
export interface GetEpochsOptionalParams extends coreClient.OperationOptions {
|
|
2021
|
+
/** Limit paginated resources (max 100) */
|
|
2022
|
+
limit?: number;
|
|
2023
|
+
/** Sorts results in forwards or backwards direction */
|
|
2024
|
+
direction?: Enum26;
|
|
2025
|
+
/** Scopes results in a hyperchain epoch range */
|
|
2026
|
+
scope?: string;
|
|
2027
|
+
}
|
|
2028
|
+
/** Contains response data for the getEpochs operation. */
|
|
2029
|
+
export type GetEpochsResponse = MiddlewarePage<EpochInfo>;
|
|
2030
|
+
/** Optional parameters. */
|
|
2031
|
+
export interface GetEpochTopOptionalParams extends coreClient.OperationOptions {
|
|
2032
|
+
}
|
|
2033
|
+
/** Contains response data for the getEpochTop operation. */
|
|
2034
|
+
export type GetEpochTopResponse = EpochInfo;
|
|
2035
|
+
/** Optional parameters. */
|
|
2036
|
+
export interface GetSchedulesOptionalParams extends coreClient.OperationOptions {
|
|
2037
|
+
/** Limit paginated resources (max 100) */
|
|
2038
|
+
limit?: number;
|
|
2039
|
+
/** Scopes results in a hyperchain epoch range */
|
|
2040
|
+
scope?: string;
|
|
2041
|
+
/** Sorts results in forwards or backwards direction */
|
|
2042
|
+
direction?: Enum27;
|
|
2043
|
+
}
|
|
2044
|
+
/** Contains response data for the getSchedules operation. */
|
|
2045
|
+
export type GetSchedulesResponse = MiddlewarePage<Schedule>;
|
|
2046
|
+
/** Optional parameters. */
|
|
2047
|
+
export interface GetScheduleOptionalParams extends coreClient.OperationOptions {
|
|
2048
|
+
}
|
|
2049
|
+
/** Contains response data for the getSchedule operation. */
|
|
2050
|
+
export type GetScheduleResponse = Schedule;
|
|
2051
|
+
/** Optional parameters. */
|
|
2052
|
+
export interface GetValidatorsOptionalParams extends coreClient.OperationOptions {
|
|
2053
|
+
/** Limit paginated resources (max 100) */
|
|
2054
|
+
limit?: number;
|
|
2055
|
+
/** Scopes results in a hyperchain epoch range */
|
|
2056
|
+
scope?: string;
|
|
2057
|
+
/** Sorts results in forwards or backwards direction */
|
|
2058
|
+
direction?: Enum28;
|
|
2059
|
+
}
|
|
2060
|
+
/** Contains response data for the getValidators operation. */
|
|
2061
|
+
export type GetValidatorsResponse = MiddlewarePage<Validator>;
|
|
2062
|
+
/** Optional parameters. */
|
|
2063
|
+
export interface GetValidatorOptionalParams extends coreClient.OperationOptions {
|
|
2064
|
+
}
|
|
2065
|
+
/** Contains response data for the getValidator operation. */
|
|
2066
|
+
export type GetValidatorResponse = Validator;
|
|
2067
|
+
/** Optional parameters. */
|
|
2068
|
+
export interface GetValidatorDelegatesOptionalParams extends coreClient.OperationOptions {
|
|
2069
|
+
/** Limit paginated resources (max 100) */
|
|
2070
|
+
limit?: number;
|
|
2071
|
+
/** Scopes results in a hyperchain epoch range */
|
|
2072
|
+
scope?: string;
|
|
2073
|
+
/** Sorts results in forwards or backwards direction */
|
|
2074
|
+
direction?: Enum29;
|
|
2075
|
+
}
|
|
2076
|
+
/** Contains response data for the getValidatorDelegates operation. */
|
|
2077
|
+
export type GetValidatorDelegatesResponse = MiddlewarePage<Delegate>;
|
|
2078
|
+
/** Optional parameters. */
|
|
2079
|
+
export interface GetTopValidatorDelegatesOptionalParams extends coreClient.OperationOptions {
|
|
2080
|
+
/** Limit paginated resources (max 100) */
|
|
2081
|
+
limit?: number;
|
|
2082
|
+
/** Scopes results in a hyperchain epoch range */
|
|
2083
|
+
scope?: string;
|
|
2084
|
+
/** Sorts results in forwards or backwards direction */
|
|
2085
|
+
direction?: Enum30;
|
|
1469
2086
|
}
|
|
1470
|
-
/** Contains response data for the
|
|
1471
|
-
export type
|
|
2087
|
+
/** Contains response data for the getTopValidatorDelegates operation. */
|
|
2088
|
+
export type GetTopValidatorDelegatesResponse = MiddlewarePage<Delegate>;
|
|
1472
2089
|
/** Optional parameters. */
|
|
1473
2090
|
export interface GetKeyBlocksOptionalParams extends coreClient.OperationOptions {
|
|
2091
|
+
/** Limit paginated resources (max 100) */
|
|
2092
|
+
limit?: number;
|
|
2093
|
+
/** Scopes results in a generation range */
|
|
2094
|
+
scope?: string;
|
|
2095
|
+
/** Sorts results in forwards or backwards direction */
|
|
2096
|
+
direction?: Enum31;
|
|
1474
2097
|
}
|
|
1475
2098
|
/** Contains response data for the getKeyBlocks operation. */
|
|
1476
|
-
export type GetKeyBlocksResponse =
|
|
2099
|
+
export type GetKeyBlocksResponse = MiddlewarePage<KeyBlockExtended>;
|
|
1477
2100
|
/** Optional parameters. */
|
|
1478
2101
|
export interface GetKeyBlockOptionalParams extends coreClient.OperationOptions {
|
|
1479
2102
|
}
|
|
1480
2103
|
/** Contains response data for the getKeyBlock operation. */
|
|
1481
|
-
export type GetKeyBlockResponse =
|
|
2104
|
+
export type GetKeyBlockResponse = KeyBlockExtended;
|
|
1482
2105
|
/** Optional parameters. */
|
|
1483
2106
|
export interface GetKeyBlockMicroBlocksOptionalParams extends coreClient.OperationOptions {
|
|
2107
|
+
/** Limit paginated resources (max 100) */
|
|
2108
|
+
limit?: number;
|
|
2109
|
+
/** Scopes results in a generation range */
|
|
2110
|
+
scope?: string;
|
|
2111
|
+
/** Sorts results in forwards or backwards direction */
|
|
2112
|
+
direction?: Enum32;
|
|
1484
2113
|
}
|
|
1485
2114
|
/** Contains response data for the getKeyBlockMicroBlocks operation. */
|
|
1486
|
-
export type GetKeyBlockMicroBlocksResponse =
|
|
2115
|
+
export type GetKeyBlockMicroBlocksResponse = MiddlewarePage<MicroBlockExtended>;
|
|
1487
2116
|
/** Optional parameters. */
|
|
1488
2117
|
export interface GetMicroBlockOptionalParams extends coreClient.OperationOptions {
|
|
1489
2118
|
}
|
|
1490
2119
|
/** Contains response data for the getMicroBlock operation. */
|
|
1491
|
-
export type GetMicroBlockResponse =
|
|
2120
|
+
export type GetMicroBlockResponse = MicroBlockExtended;
|
|
1492
2121
|
/** Optional parameters. */
|
|
1493
2122
|
export interface GetMicroBlockTransactionsOptionalParams extends coreClient.OperationOptions {
|
|
1494
2123
|
}
|
|
1495
2124
|
/** Contains response data for the getMicroBlockTransactions operation. */
|
|
1496
|
-
export type GetMicroBlockTransactionsResponse =
|
|
2125
|
+
export type GetMicroBlockTransactionsResponse = MiddlewarePage<Transaction>;
|
|
1497
2126
|
/** Optional parameters. */
|
|
1498
2127
|
export interface GetNamesOptionalParams extends coreClient.OperationOptions {
|
|
2128
|
+
/** Limit paginated resources (max 100) */
|
|
2129
|
+
limit?: number;
|
|
2130
|
+
/** Name prefix filter (case insensitive). Requires by=name parameter */
|
|
2131
|
+
prefix?: string;
|
|
1499
2132
|
/** Sorting by deactivation, activation or name */
|
|
1500
2133
|
by?: string;
|
|
1501
|
-
/** Account that owns the name */
|
|
1502
|
-
ownedBy?: string
|
|
2134
|
+
/** Account that owns the name Account address */
|
|
2135
|
+
ownedBy?: `ak_${string}`;
|
|
1503
2136
|
/** Activation state of the name (active or inactive) */
|
|
1504
2137
|
state?: string;
|
|
2138
|
+
/** Sorts results in forwards or backwards direction */
|
|
2139
|
+
direction?: Enum33;
|
|
1505
2140
|
}
|
|
1506
2141
|
/** Contains response data for the getNames operation. */
|
|
1507
|
-
export type GetNamesResponse =
|
|
2142
|
+
export type GetNamesResponse = MiddlewarePage<Name>;
|
|
1508
2143
|
/** Optional parameters. */
|
|
1509
2144
|
export interface GetNamesAuctionsOptionalParams extends coreClient.OperationOptions {
|
|
2145
|
+
/** Limit paginated resources (max 100) */
|
|
2146
|
+
limit?: number;
|
|
2147
|
+
/** Scopes results in a generation range */
|
|
2148
|
+
scope?: string;
|
|
2149
|
+
/** Sorts results in forwards or backwards direction */
|
|
2150
|
+
direction?: Enum34;
|
|
1510
2151
|
}
|
|
1511
2152
|
/** Contains response data for the getNamesAuctions operation. */
|
|
1512
|
-
export type GetNamesAuctionsResponse = Auction
|
|
1513
|
-
/** Optional parameters. */
|
|
1514
|
-
export interface SearchNamesOptionalParams extends coreClient.OperationOptions {
|
|
1515
|
-
}
|
|
1516
|
-
/** Contains response data for the searchNames operation. */
|
|
1517
|
-
export type SearchNamesResponse = Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema;
|
|
1518
|
-
/** Optional parameters. */
|
|
1519
|
-
export interface GetNameOptionalParams extends coreClient.OperationOptions {
|
|
1520
|
-
}
|
|
1521
|
-
/** Contains response data for the getName operation. */
|
|
1522
|
-
export type GetNameResponse = Name;
|
|
2153
|
+
export type GetNamesAuctionsResponse = MiddlewarePage<Auction>;
|
|
1523
2154
|
/** Optional parameters. */
|
|
1524
2155
|
export interface GetNameAuctionOptionalParams extends coreClient.OperationOptions {
|
|
2156
|
+
/** Limit paginated resources (max 100) */
|
|
2157
|
+
limit?: number;
|
|
2158
|
+
/** Scopes results in a generation range */
|
|
2159
|
+
scope?: string;
|
|
2160
|
+
/** Sorts results in forwards or backwards direction */
|
|
2161
|
+
direction?: Enum35;
|
|
1525
2162
|
}
|
|
1526
2163
|
/** Contains response data for the getNameAuction operation. */
|
|
1527
2164
|
export type GetNameAuctionResponse = Auction;
|
|
1528
2165
|
/** Optional parameters. */
|
|
1529
|
-
export interface
|
|
2166
|
+
export interface GetNameAuctionClaimsOptionalParams extends coreClient.OperationOptions {
|
|
2167
|
+
/** Limit paginated resources (max 100) */
|
|
2168
|
+
limit?: number;
|
|
2169
|
+
/** Scopes results in a generation range */
|
|
2170
|
+
scope?: string;
|
|
2171
|
+
/** Sorts results in forwards or backwards direction */
|
|
2172
|
+
direction?: Enum36;
|
|
1530
2173
|
}
|
|
1531
|
-
/** Contains response data for the
|
|
1532
|
-
export type
|
|
2174
|
+
/** Contains response data for the getNameAuctionClaims operation. */
|
|
2175
|
+
export type GetNameAuctionClaimsResponse = PathsCrb9BgV3NamesAuctionsIdClaimsGetResponses200ContentApplicationJsonSchema;
|
|
2176
|
+
/** Optional parameters. */
|
|
2177
|
+
export interface GetNamesCountOptionalParams extends coreClient.OperationOptions {
|
|
2178
|
+
/** Account that owns the name Account address */
|
|
2179
|
+
ownedBy?: `ak_${string}`;
|
|
2180
|
+
}
|
|
2181
|
+
/** Contains response data for the getNamesCount operation. */
|
|
2182
|
+
export type GetNamesCountResponse = {
|
|
2183
|
+
/** The parsed response body. */
|
|
2184
|
+
body: number;
|
|
2185
|
+
};
|
|
1533
2186
|
/** Optional parameters. */
|
|
1534
|
-
export interface
|
|
2187
|
+
export interface GetNameOptionalParams extends coreClient.OperationOptions {
|
|
1535
2188
|
}
|
|
1536
|
-
/** Contains response data for the
|
|
1537
|
-
export type
|
|
2189
|
+
/** Contains response data for the getName operation. */
|
|
2190
|
+
export type GetNameResponse = Name;
|
|
1538
2191
|
/** Optional parameters. */
|
|
1539
|
-
export interface
|
|
2192
|
+
export interface GetNameClaimsOptionalParams extends coreClient.OperationOptions {
|
|
2193
|
+
/** Limit paginated resources (max 100) */
|
|
2194
|
+
limit?: number;
|
|
2195
|
+
/** Scopes results in a generation range */
|
|
2196
|
+
scope?: string;
|
|
2197
|
+
/** Sorts results in forwards or backwards direction */
|
|
2198
|
+
direction?: Enum37;
|
|
1540
2199
|
}
|
|
1541
|
-
/** Contains response data for the
|
|
1542
|
-
export type
|
|
2200
|
+
/** Contains response data for the getNameClaims operation. */
|
|
2201
|
+
export type GetNameClaimsResponse = MiddlewarePage<NameClaim>;
|
|
1543
2202
|
/** Optional parameters. */
|
|
1544
2203
|
export interface GetNameTransfersOptionalParams extends coreClient.OperationOptions {
|
|
2204
|
+
/** Limit paginated resources (max 100) */
|
|
2205
|
+
limit?: number;
|
|
2206
|
+
/** Scopes results in a generation range */
|
|
2207
|
+
scope?: string;
|
|
2208
|
+
/** Sorts results in forwards or backwards direction */
|
|
2209
|
+
direction?: Enum38;
|
|
1545
2210
|
}
|
|
1546
2211
|
/** Contains response data for the getNameTransfers operation. */
|
|
1547
|
-
export type GetNameTransfersResponse = NameTransfer
|
|
2212
|
+
export type GetNameTransfersResponse = MiddlewarePage<NameTransfer>;
|
|
1548
2213
|
/** Optional parameters. */
|
|
1549
2214
|
export interface GetNameUpdatesOptionalParams extends coreClient.OperationOptions {
|
|
2215
|
+
/** Limit paginated resources (max 100) */
|
|
2216
|
+
limit?: number;
|
|
2217
|
+
/** Scopes results in a generation range */
|
|
2218
|
+
scope?: string;
|
|
2219
|
+
/** Sorts results in forwards or backwards direction */
|
|
2220
|
+
direction?: Enum39;
|
|
1550
2221
|
}
|
|
1551
2222
|
/** Contains response data for the getNameUpdates operation. */
|
|
1552
|
-
export type GetNameUpdatesResponse = NameUpdate
|
|
2223
|
+
export type GetNameUpdatesResponse = MiddlewarePage<NameUpdate>;
|
|
1553
2224
|
/** Optional parameters. */
|
|
1554
2225
|
export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
|
|
2226
|
+
/** Limit paginated resources (max 100) */
|
|
2227
|
+
limit?: number;
|
|
2228
|
+
/** Scopes results in a generation range */
|
|
2229
|
+
scope?: string;
|
|
1555
2230
|
/** oracle state (active or inactive) */
|
|
1556
2231
|
state?: string;
|
|
2232
|
+
/** Sorts results in forwards or backwards direction */
|
|
2233
|
+
direction?: Enum40;
|
|
1557
2234
|
}
|
|
1558
2235
|
/** Contains response data for the getOracles operation. */
|
|
1559
|
-
export type GetOraclesResponse =
|
|
2236
|
+
export type GetOraclesResponse = MiddlewarePage<Oracle>;
|
|
1560
2237
|
/** Optional parameters. */
|
|
1561
2238
|
export interface GetOracleOptionalParams extends coreClient.OperationOptions {
|
|
1562
2239
|
}
|
|
1563
2240
|
/** Contains response data for the getOracle operation. */
|
|
1564
2241
|
export type GetOracleResponse = Oracle;
|
|
1565
2242
|
/** Optional parameters. */
|
|
2243
|
+
export interface GetOracleExtendsOptionalParams extends coreClient.OperationOptions {
|
|
2244
|
+
}
|
|
2245
|
+
/** Contains response data for the getOracleExtends operation. */
|
|
2246
|
+
export type GetOracleExtendsResponse = MiddlewarePage<OracleExtend>;
|
|
2247
|
+
/** Optional parameters. */
|
|
1566
2248
|
export interface GetOracleQueriesOptionalParams extends coreClient.OperationOptions {
|
|
1567
2249
|
}
|
|
1568
2250
|
/** Contains response data for the getOracleQueries operation. */
|
|
1569
|
-
export type GetOracleQueriesResponse =
|
|
2251
|
+
export type GetOracleQueriesResponse = MiddlewarePage<OracleQuery>;
|
|
1570
2252
|
/** Optional parameters. */
|
|
1571
2253
|
export interface GetOracleResponsesOptionalParams extends coreClient.OperationOptions {
|
|
1572
2254
|
}
|
|
1573
2255
|
/** Contains response data for the getOracleResponses operation. */
|
|
1574
|
-
export type GetOracleResponsesResponse =
|
|
2256
|
+
export type GetOracleResponsesResponse = MiddlewarePage<OracleResponse>;
|
|
1575
2257
|
/** Optional parameters. */
|
|
1576
|
-
export interface
|
|
2258
|
+
export interface GetStatsOptionalParams extends coreClient.OperationOptions {
|
|
1577
2259
|
}
|
|
1578
|
-
/** Contains response data for the
|
|
1579
|
-
export type
|
|
2260
|
+
/** Contains response data for the getStats operation. */
|
|
2261
|
+
export type GetStatsResponse = Stats;
|
|
1580
2262
|
/** Optional parameters. */
|
|
1581
|
-
export interface
|
|
2263
|
+
export interface GetActiveAccountsStatsOptionalParams extends coreClient.OperationOptions {
|
|
2264
|
+
/** Limit paginated resources (max 100) */
|
|
2265
|
+
limit?: number;
|
|
2266
|
+
/** The interval in which to return the stats. */
|
|
2267
|
+
intervalBy?: Enum41;
|
|
2268
|
+
/** Sorts results in forwards or backwards direction */
|
|
2269
|
+
direction?: Enum42;
|
|
1582
2270
|
}
|
|
1583
|
-
/** Contains response data for the
|
|
1584
|
-
export type
|
|
2271
|
+
/** Contains response data for the getActiveAccountsStats operation. */
|
|
2272
|
+
export type GetActiveAccountsStatsResponse = MiddlewarePage<Stat>;
|
|
1585
2273
|
/** Optional parameters. */
|
|
1586
|
-
export interface
|
|
2274
|
+
export interface GetAex9TransfersStatsOptionalParams extends coreClient.OperationOptions {
|
|
2275
|
+
/** Limit paginated resources (max 100) */
|
|
2276
|
+
limit?: number;
|
|
2277
|
+
/** The interval in which to return the stats. */
|
|
2278
|
+
intervalBy?: Enum43;
|
|
2279
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2280
|
+
minStartDate?: string;
|
|
2281
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2282
|
+
maxStartDate?: string;
|
|
2283
|
+
/** Sorts results in forwards or backwards direction */
|
|
2284
|
+
direction?: Enum44;
|
|
1587
2285
|
}
|
|
1588
|
-
/** Contains response data for the
|
|
1589
|
-
export type
|
|
2286
|
+
/** Contains response data for the getAex9TransfersStats operation. */
|
|
2287
|
+
export type GetAex9TransfersStatsResponse = MiddlewarePage<Stat>;
|
|
2288
|
+
/** Optional parameters. */
|
|
2289
|
+
export interface GetBlocksStatsOptionalParams extends coreClient.OperationOptions {
|
|
2290
|
+
/** Limit paginated resources (max 100) */
|
|
2291
|
+
limit?: number;
|
|
2292
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2293
|
+
minStartDate?: string;
|
|
2294
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2295
|
+
maxStartDate?: string;
|
|
2296
|
+
/** The interval in which to return the stats. */
|
|
2297
|
+
intervalBy?: Enum45;
|
|
2298
|
+
/** The type of block. */
|
|
2299
|
+
type?: Enum46;
|
|
2300
|
+
/** Sorts results in forwards or backwards direction */
|
|
2301
|
+
direction?: Enum47;
|
|
2302
|
+
}
|
|
2303
|
+
/** Contains response data for the getBlocksStats operation. */
|
|
2304
|
+
export type GetBlocksStatsResponse = MiddlewarePage<Stat>;
|
|
2305
|
+
/** Optional parameters. */
|
|
2306
|
+
export interface GetContractsStatsOptionalParams extends coreClient.OperationOptions {
|
|
2307
|
+
/** Limit paginated resources (max 100) */
|
|
2308
|
+
limit?: number;
|
|
2309
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2310
|
+
minStartDate?: string;
|
|
2311
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2312
|
+
maxStartDate?: string;
|
|
2313
|
+
/** The interval in which to return the stats. */
|
|
2314
|
+
intervalBy?: Enum48;
|
|
2315
|
+
/** Sorts results in forwards or backwards direction */
|
|
2316
|
+
direction?: Enum49;
|
|
2317
|
+
}
|
|
2318
|
+
/** Contains response data for the getContractsStats operation. */
|
|
2319
|
+
export type GetContractsStatsResponse = MiddlewarePage<Stat>;
|
|
2320
|
+
/** Optional parameters. */
|
|
2321
|
+
export interface GetDeltaStatsOptionalParams extends coreClient.OperationOptions {
|
|
2322
|
+
/** Limit paginated resources (max 100) */
|
|
2323
|
+
limit?: number;
|
|
2324
|
+
/** Scopes results in a generation range */
|
|
2325
|
+
scope?: string;
|
|
2326
|
+
/** Sorts results in forwards or backwards direction */
|
|
2327
|
+
direction?: Enum50;
|
|
2328
|
+
}
|
|
2329
|
+
/** Contains response data for the getDeltaStats operation. */
|
|
2330
|
+
export type GetDeltaStatsResponse = MiddlewarePage<DeltaStat>;
|
|
1590
2331
|
/** Optional parameters. */
|
|
1591
|
-
export interface
|
|
1592
|
-
/**
|
|
1593
|
-
|
|
2332
|
+
export interface GetDifficultyStatsOptionalParams extends coreClient.OperationOptions {
|
|
2333
|
+
/** Limit paginated resources (max 100) */
|
|
2334
|
+
limit?: number;
|
|
2335
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2336
|
+
minStartDate?: string;
|
|
2337
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2338
|
+
maxStartDate?: string;
|
|
2339
|
+
/** The interval in which to return the stats. */
|
|
2340
|
+
intervalBy?: Enum51;
|
|
2341
|
+
/** Sorts results in forwards or backwards direction */
|
|
2342
|
+
direction?: Enum52;
|
|
2343
|
+
}
|
|
2344
|
+
/** Contains response data for the getDifficultyStats operation. */
|
|
2345
|
+
export type GetDifficultyStatsResponse = MiddlewarePage<Stat>;
|
|
2346
|
+
/** Optional parameters. */
|
|
2347
|
+
export interface GetHashrateStatsOptionalParams extends coreClient.OperationOptions {
|
|
2348
|
+
/** Limit paginated resources (max 100) */
|
|
2349
|
+
limit?: number;
|
|
2350
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2351
|
+
minStartDate?: string;
|
|
2352
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2353
|
+
maxStartDate?: string;
|
|
2354
|
+
/** The interval in which to return the stats. */
|
|
2355
|
+
intervalBy?: Enum53;
|
|
2356
|
+
/** Sorts results in forwards or backwards direction */
|
|
2357
|
+
direction?: Enum54;
|
|
2358
|
+
}
|
|
2359
|
+
/** Contains response data for the getHashrateStats operation. */
|
|
2360
|
+
export type GetHashrateStatsResponse = MiddlewarePage<Stat>;
|
|
2361
|
+
/** Optional parameters. */
|
|
2362
|
+
export interface GetMinerStatsOptionalParams extends coreClient.OperationOptions {
|
|
2363
|
+
/** Limit paginated resources (max 100) */
|
|
2364
|
+
limit?: number;
|
|
2365
|
+
/** Sorts results in forwards or backwards direction */
|
|
2366
|
+
direction?: Enum55;
|
|
2367
|
+
}
|
|
2368
|
+
/** Contains response data for the getMinerStats operation. */
|
|
2369
|
+
export type GetMinerStatsResponse = MiddlewarePage<Miner>;
|
|
2370
|
+
/** Optional parameters. */
|
|
2371
|
+
export interface GetNamesStatsOptionalParams extends coreClient.OperationOptions {
|
|
2372
|
+
/** Limit paginated resources (max 100) */
|
|
2373
|
+
limit?: number;
|
|
2374
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2375
|
+
minStartDate?: string;
|
|
2376
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2377
|
+
maxStartDate?: string;
|
|
2378
|
+
/** The interval in which to return the stats. */
|
|
2379
|
+
intervalBy?: Enum56;
|
|
2380
|
+
/** Sorts results in forwards or backwards direction */
|
|
2381
|
+
direction?: Enum57;
|
|
2382
|
+
}
|
|
2383
|
+
/** Contains response data for the getNamesStats operation. */
|
|
2384
|
+
export type GetNamesStatsResponse = MiddlewarePage<Stat>;
|
|
2385
|
+
/** Optional parameters. */
|
|
2386
|
+
export interface GetTotalStatsOptionalParams extends coreClient.OperationOptions {
|
|
2387
|
+
/** Limit paginated resources (max 100) */
|
|
2388
|
+
limit?: number;
|
|
2389
|
+
/** Scopes results in a generation range */
|
|
2390
|
+
scope?: string;
|
|
2391
|
+
/** Sorts results in forwards or backwards direction */
|
|
2392
|
+
direction?: Enum58;
|
|
2393
|
+
}
|
|
2394
|
+
/** Contains response data for the getTotalStats operation. */
|
|
2395
|
+
export type GetTotalStatsResponse = MiddlewarePage<TotalStat>;
|
|
2396
|
+
/** Optional parameters. */
|
|
2397
|
+
export interface GetTotalAccountsStatsOptionalParams extends coreClient.OperationOptions {
|
|
2398
|
+
/** Limit paginated resources (max 100) */
|
|
2399
|
+
limit?: number;
|
|
2400
|
+
/** The interval in which to return the stats. */
|
|
2401
|
+
intervalBy?: Enum59;
|
|
2402
|
+
/** Sorts results in forwards or backwards direction */
|
|
2403
|
+
direction?: Enum60;
|
|
2404
|
+
}
|
|
2405
|
+
/** Contains response data for the getTotalAccountsStats operation. */
|
|
2406
|
+
export type GetTotalAccountsStatsResponse = MiddlewarePage<Stat>;
|
|
2407
|
+
/** Optional parameters. */
|
|
2408
|
+
export interface GetTransactionsStatsOptionalParams extends coreClient.OperationOptions {
|
|
2409
|
+
/** Limit paginated resources (max 100) */
|
|
2410
|
+
limit?: number;
|
|
2411
|
+
/** The minimum start date in YYYY-MM-DD format. */
|
|
2412
|
+
minStartDate?: string;
|
|
2413
|
+
/** The maximum start date in YYYY-MM-DD format. */
|
|
2414
|
+
maxStartDate?: string;
|
|
2415
|
+
/** The interval in which to return the stats. */
|
|
2416
|
+
intervalBy?: Enum61;
|
|
2417
|
+
/** The type of the transactions */
|
|
2418
|
+
txType?: string;
|
|
2419
|
+
/** Sorts results in forwards or backwards direction */
|
|
2420
|
+
direction?: Enum62;
|
|
2421
|
+
}
|
|
2422
|
+
/** Contains response data for the getTransactionsStats operation. */
|
|
2423
|
+
export type GetTransactionsStatsResponse = MiddlewarePage<Stat>;
|
|
2424
|
+
/** Optional parameters. */
|
|
2425
|
+
export interface GetStatusOptionalParams extends coreClient.OperationOptions {
|
|
2426
|
+
}
|
|
2427
|
+
/** Contains response data for the getStatus operation. */
|
|
2428
|
+
export type GetStatusResponse = Status;
|
|
2429
|
+
/** Optional parameters. */
|
|
2430
|
+
export interface GetTransactionsOptionalParams extends coreClient.OperationOptions {
|
|
2431
|
+
/** Limit paginated resources (max 100) */
|
|
2432
|
+
limit?: number;
|
|
2433
|
+
/** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Contract address */
|
|
2434
|
+
contract?: `ct_${string}`;
|
|
1594
2435
|
/** The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
|
|
1595
2436
|
type?: Get0ItemsItem[];
|
|
1596
2437
|
/** The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
|
|
1597
2438
|
typeGroup?: Get1ItemsItem[];
|
|
1598
|
-
/** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1599
|
-
account?: string
|
|
1600
|
-
/** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1601
|
-
channel?: string
|
|
1602
|
-
/** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1603
|
-
oracle?: string
|
|
1604
|
-
/** The sender ID */
|
|
1605
|
-
senderId?: string
|
|
1606
|
-
/** The recipient ID */
|
|
1607
|
-
recipientId?: string
|
|
2439
|
+
/** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Account address */
|
|
2440
|
+
account?: `ak_${string}`;
|
|
2441
|
+
/** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Channel ID */
|
|
2442
|
+
channel?: `ch_${string}`;
|
|
2443
|
+
/** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Oracle address */
|
|
2444
|
+
oracle?: `ok_${string}`;
|
|
2445
|
+
/** The sender ID Account address */
|
|
2446
|
+
senderId?: `ak_${string}`;
|
|
2447
|
+
/** The recipient ID Account address */
|
|
2448
|
+
recipientId?: `ak_${string}`;
|
|
1608
2449
|
/** Entrypoint of a contract call */
|
|
1609
2450
|
entrypoint?: string;
|
|
2451
|
+
/** Scopes results in a generation or time(unix timestamp) range */
|
|
2452
|
+
scope?: string;
|
|
2453
|
+
/** Sorts results in forwards or backwards direction */
|
|
2454
|
+
direction?: Enum65;
|
|
1610
2455
|
}
|
|
1611
|
-
/** Contains response data for the
|
|
1612
|
-
export type
|
|
2456
|
+
/** Contains response data for the getTransactions operation. */
|
|
2457
|
+
export type GetTransactionsResponse = MiddlewarePage<Transaction>;
|
|
1613
2458
|
/** Optional parameters. */
|
|
1614
|
-
export interface
|
|
2459
|
+
export interface GetTransactionsCountOptionalParams extends coreClient.OperationOptions {
|
|
2460
|
+
/** Scopes results in a generation range */
|
|
2461
|
+
scope?: string;
|
|
1615
2462
|
/** Type of a transaction */
|
|
1616
2463
|
txType?: string;
|
|
1617
|
-
/** The ID of the address/name/oracle/etc */
|
|
1618
|
-
id?: string
|
|
2464
|
+
/** The ID of the address/name/oracle/etc Account address */
|
|
2465
|
+
id?: `ak_${string}`;
|
|
1619
2466
|
}
|
|
1620
|
-
/** Contains response data for the
|
|
1621
|
-
export type
|
|
2467
|
+
/** Contains response data for the getTransactionsCount operation. */
|
|
2468
|
+
export type GetTransactionsCountResponse = {
|
|
1622
2469
|
/** The parsed response body. */
|
|
1623
2470
|
body: number;
|
|
1624
2471
|
};
|
|
1625
2472
|
/** Optional parameters. */
|
|
1626
|
-
export interface
|
|
2473
|
+
export interface GetPendingTransactionsOptionalParams extends coreClient.OperationOptions {
|
|
2474
|
+
/** Limit paginated resources (max 100) */
|
|
2475
|
+
limit?: number;
|
|
2476
|
+
/** Sorts results in forwards or backwards direction */
|
|
2477
|
+
direction?: Enum66;
|
|
1627
2478
|
}
|
|
1628
|
-
/** Contains response data for the
|
|
1629
|
-
export type
|
|
2479
|
+
/** Contains response data for the getPendingTransactions operation. */
|
|
2480
|
+
export type GetPendingTransactionsResponse = MiddlewarePage<PendingTransaction>;
|
|
1630
2481
|
/** Optional parameters. */
|
|
1631
|
-
export interface
|
|
2482
|
+
export interface GetPendingTransactionsCountOptionalParams extends coreClient.OperationOptions {
|
|
1632
2483
|
}
|
|
1633
|
-
/** Contains response data for the
|
|
1634
|
-
export type
|
|
2484
|
+
/** Contains response data for the getPendingTransactionsCount operation. */
|
|
2485
|
+
export type GetPendingTransactionsCountResponse = {
|
|
2486
|
+
/** The parsed response body. */
|
|
2487
|
+
body: number;
|
|
2488
|
+
};
|
|
1635
2489
|
/** Optional parameters. */
|
|
1636
|
-
export interface
|
|
2490
|
+
export interface GetTransactionOptionalParams extends coreClient.OperationOptions {
|
|
2491
|
+
}
|
|
2492
|
+
/** Contains response data for the getTransaction operation. */
|
|
2493
|
+
export type GetTransactionResponse = Transaction;
|
|
2494
|
+
/** Optional parameters. */
|
|
2495
|
+
export interface GetTransfersOptionalParams extends coreClient.OperationOptions {
|
|
1637
2496
|
/** Limit paginated resources (max 100) */
|
|
1638
2497
|
limit?: number;
|
|
1639
|
-
/** Scopes results in a
|
|
2498
|
+
/** Scopes results in a generation range */
|
|
1640
2499
|
scope?: string;
|
|
1641
2500
|
/** Sorts results in forwards or backwards direction */
|
|
1642
|
-
direction?:
|
|
2501
|
+
direction?: Enum67;
|
|
2502
|
+
}
|
|
2503
|
+
/** Contains response data for the getTransfers operation. */
|
|
2504
|
+
export type GetTransfersResponse = MiddlewarePage<Transfer>;
|
|
2505
|
+
/** Optional parameters. */
|
|
2506
|
+
export interface MiddlewareOptionalParams extends coreClient.ServiceClientOptions {
|
|
1643
2507
|
/** Overrides client endpoint. */
|
|
1644
2508
|
endpoint?: string;
|
|
1645
2509
|
}
|