@aeternity/aepp-sdk 14.1.1 → 15.0.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.
Files changed (82) hide show
  1. package/dist/aepp-sdk.browser-script.cjs +1 -1
  2. package/dist/aepp-sdk.browser-script.cjs.map +1 -1
  3. package/dist/aepp-sdk.browser.cjs +1 -1
  4. package/dist/aepp-sdk.browser.cjs.map +1 -1
  5. package/dist/aepp-sdk.cjs +3068 -502
  6. package/dist/aepp-sdk.cjs.map +1 -1
  7. package/es/account/Base.d.ts +6 -1
  8. package/es/account/Base.js.map +1 -1
  9. package/es/account/Generalized.d.ts +1 -1
  10. package/es/account/Generalized.js +7 -1
  11. package/es/account/Generalized.js.map +1 -1
  12. package/es/apis/node/models/index.d.ts +405 -79
  13. package/es/apis/node/models/index.js.map +1 -1
  14. package/es/apis/node/models/mappers.d.ts +54 -4
  15. package/es/apis/node/models/mappers.js +1910 -500
  16. package/es/apis/node/models/mappers.js.map +1 -1
  17. package/es/apis/node/node.d.ts +28 -6
  18. package/es/apis/node/node.js +276 -5
  19. package/es/apis/node/node.js.map +1 -1
  20. package/es/channel/Contract.d.ts +5 -0
  21. package/es/channel/Contract.js +8 -2
  22. package/es/channel/Contract.js.map +1 -1
  23. package/es/channel/handlers.js +3 -3
  24. package/es/channel/handlers.js.map +1 -1
  25. package/es/contract/ga.d.ts +5 -2
  26. package/es/contract/ga.js +53 -21
  27. package/es/contract/ga.js.map +1 -1
  28. package/es/index-browser.d.ts +3 -1
  29. package/es/index-browser.js +2 -1
  30. package/es/index-browser.js.map +1 -1
  31. package/es/tx/builder/constants.d.ts +12 -2
  32. package/es/tx/builder/constants.js +11 -1
  33. package/es/tx/builder/constants.js.map +1 -1
  34. package/es/tx/builder/entry/index.js +6 -0
  35. package/es/tx/builder/entry/index.js.map +1 -1
  36. package/es/tx/builder/entry/schema.d.ts +10 -10
  37. package/es/tx/builder/field-types/ct-version.d.ts +14 -0
  38. package/es/tx/builder/field-types/ct-version.js +14 -0
  39. package/es/tx/builder/field-types/ct-version.js.map +1 -1
  40. package/es/tx/builder/field-types/fee.d.ts +9 -7
  41. package/es/tx/builder/field-types/fee.js +75 -66
  42. package/es/tx/builder/field-types/fee.js.map +1 -1
  43. package/es/tx/builder/field-types/gas-limit.d.ts +5 -3
  44. package/es/tx/builder/field-types/gas-limit.js +25 -14
  45. package/es/tx/builder/field-types/gas-limit.js.map +1 -1
  46. package/es/tx/builder/field-types/gas-price.d.ts +6 -4
  47. package/es/tx/builder/field-types/gas-price.js +87 -21
  48. package/es/tx/builder/field-types/gas-price.js.map +1 -1
  49. package/es/tx/builder/field-types/interface.d.ts +20 -0
  50. package/es/tx/builder/field-types/interface.js +17 -1
  51. package/es/tx/builder/field-types/interface.js.map +1 -1
  52. package/es/tx/builder/field-types/name-fee.d.ts +3 -2
  53. package/es/tx/builder/field-types/name-fee.js +6 -0
  54. package/es/tx/builder/field-types/name-fee.js.map +1 -1
  55. package/es/tx/builder/field-types/pointers.d.ts +2 -1
  56. package/es/tx/builder/field-types/pointers.js +6 -2
  57. package/es/tx/builder/field-types/pointers.js.map +1 -1
  58. package/es/tx/builder/field-types/transaction.d.ts +4 -1
  59. package/es/tx/builder/field-types/transaction.js +18 -3
  60. package/es/tx/builder/field-types/transaction.js.map +1 -1
  61. package/es/tx/builder/field-types/with-formatting.d.ts +1 -1
  62. package/es/tx/builder/field-types/with-formatting.js +1 -1
  63. package/es/tx/builder/field-types/with-formatting.js.map +1 -1
  64. package/es/tx/builder/index.d.ts +13 -0
  65. package/es/tx/builder/index.js +92 -5
  66. package/es/tx/builder/index.js.map +1 -1
  67. package/es/tx/builder/protocol-parameters.d.ts +123 -0
  68. package/es/tx/builder/protocol-parameters.js +519 -0
  69. package/es/tx/builder/protocol-parameters.js.map +1 -0
  70. package/es/tx/builder/schema.d.ts +156 -155
  71. package/es/tx/builder/schema.js +5 -1
  72. package/es/tx/builder/schema.js.map +1 -1
  73. package/es/tx/execution-cost.js +5 -5
  74. package/es/tx/execution-cost.js.map +1 -1
  75. package/es/tx/transaction-signer.js +2 -2
  76. package/es/tx/transaction-signer.js.map +1 -1
  77. package/es/tx/validator.js +4 -4
  78. package/es/tx/validator.js.map +1 -1
  79. package/es/utils/wrap-proxy.d.ts +10 -0
  80. package/es/utils/wrap-proxy.js +18 -0
  81. package/es/utils/wrap-proxy.js.map +1 -1
  82. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/apis/node/models/index.ts"],"sourcesContent":["import * as coreClient from \"@azure/core-client\";\n\nexport type OffChainUpdateUnion =\n | OffChainUpdate\n | OffChainCallContract\n | OffChainDeposit\n | OffChainNewContract\n | OffChainTransfer\n | OffChainWithdrawal;\n\nexport interface Account {\n /** Base58Check encoded tagged pubkey */\n id: string;\n balance: bigint;\n nonce: number;\n /** Payable */\n payable?: boolean;\n kind?: AccountKind;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Name of authorization function for generalized account */\n authFun?: string;\n}\n\nexport interface ErrorModel {\n reason: string;\n errorCode?: string;\n}\n\nexport interface NextNonceResponse {\n nextNonce: number;\n}\n\nexport interface SignedTxs {\n transactions: SignedTx[];\n}\n\nexport interface SignedTx {\n /** A mix of all transaction types. */\n tx: Tx;\n blockHeight: number;\n /** Base58Check encoded tagged hash */\n blockHash: string;\n /** Base58Check encoded tagged hash */\n hash: string;\n /** Base64Check encoded tagged byte array */\n encodedTx?: string;\n /** At least one signature is required unless for Generalized Account Meta transactions */\n signatures: string[];\n}\n\n/** A mix of all transaction types. */\nexport interface Tx {\n /** Base58Check encoded tagged pubkey */\n recipientId?: string;\n amount?: bigint;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n senderId?: string;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n payload?: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId?: string;\n initiatorAmount?: bigint;\n /** Base58Check encoded tagged pubkey */\n responderId?: string;\n responderAmount?: bigint;\n channelReserve?: bigint;\n lockPeriod?: number;\n /** Base58Check encoded tagged pubkey */\n stateHash?: string;\n delegateIds?: Delegates;\n /** Base58Check encoded tagged pubkey */\n channelId?: string;\n /** Base58Check encoded tagged pubkey */\n fromId?: string;\n round?: number;\n /** Base58Check encoded tagged pubkey */\n toId?: string;\n update?: OffChainUpdateUnion;\n /** Base64Check encoded tagged byte array */\n offchainTrees?: string;\n initiatorAmountFinal?: bigint;\n responderAmountFinal?: bigint;\n /** Base64Check encoded tagged byte array */\n poi?: string;\n initiatorDelegateIds?: string[];\n responderDelegateIds?: string[];\n queryFormat?: string;\n responseFormat?: string;\n queryFee?: bigint;\n oracleTtl?: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n accountId?: string;\n abiVersion?: number;\n /** Base58Check encoded tagged pubkey */\n oracleId?: string;\n query?: string;\n queryTtl?: Ttl;\n responseTtl?: RelativeTTL;\n /** Base58Check encoded tagged value */\n queryId?: string;\n response?: string;\n /** Base58Check encoded tagged value */\n commitmentId?: string;\n name?: string;\n nameSalt?: number;\n nameFee?: bigint;\n /** Base58Check encoded tagged value */\n nameId?: string;\n nameTtl?: number;\n pointers?: NamePointer[];\n clientTtl?: number;\n /** Base58Check encoded tagged pubkey */\n ownerId?: string;\n /** Base64Check encoded tagged byte array */\n code?: string;\n vmVersion?: number;\n deposit?: bigint;\n gas?: number;\n gasPrice?: bigint;\n /** Base64Check encoded tagged byte array */\n callData?: string;\n /** Base58Check encoded tagged pubkey */\n callerId?: string;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Contract authorization function hash (hex encoded) */\n authFun?: string;\n /** Base58Check encoded tagged pubkey */\n gaId?: string;\n /** Base64Check encoded tagged byte array */\n authData?: string;\n tx?: SignedTx;\n /** Base58Check encoded tagged pubkey */\n payerId?: string;\n version: number;\n type: TxType;\n}\n\nexport interface Delegates {\n initiator?: string[];\n responder?: string[];\n}\n\nexport interface OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op:\n | \"OffChainCallContract\"\n | \"OffChainDeposit\"\n | \"OffChainNewContract\"\n | \"OffChainTransfer\"\n | \"OffChainWithdrawal\";\n}\n\nexport interface RelativeTTL {\n type: \"delta\";\n value: number;\n}\n\nexport interface Ttl {\n type: TTLType;\n value: number;\n}\n\nexport interface NamePointer {\n key: string;\n /** Base58Check encoded tagged value */\n encodedKey?: string;\n /** Base58Check encoded tagged pubkey */\n id: string;\n}\n\nexport interface AuctionEntry {\n /** Base58Check encoded tagged value */\n id: string;\n startedAt: number;\n endsAt: number;\n /** Base58Check encoded tagged pubkey */\n highestBidder: string;\n highestBid: bigint;\n}\n\nexport interface Channel {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n channelAmount: bigint;\n initiatorAmount: bigint;\n responderAmount: bigint;\n channelReserve: bigint;\n delegateIds: Delegates;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: number;\n soloRound: number;\n lockPeriod: number;\n lockedUntil: number;\n}\n\nexport interface ContractObject {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n vmVersion: number;\n abiVersion: number;\n active: boolean;\n referrerIds: string[];\n deposit: bigint;\n}\n\nexport interface ByteCode {\n /** Base64Check encoded tagged byte array */\n bytecode: `cb_${string}`;\n}\n\nexport interface PoI {\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface Currency {\n name: string;\n symbol: string;\n subunit: string;\n subunitsPerUnit: bigint;\n /** Use `fiat_conversion_url` instead */\n fiatConverstionUrl?: string;\n fiatConversionUrl?: string;\n logo?: Image;\n primaryColour: string;\n secondaryColour: string;\n networkName: string;\n}\n\nexport interface Image {\n type?: string;\n data?: string;\n}\n\nexport interface DryRunInput {\n /** Base58Check encoded tagged hash */\n top?: string;\n /** Accounts */\n accounts?: DryRunAccount[];\n /** Txs */\n txs: DryRunInputItem[];\n /** Collect and return on-chain tx events that would result from the call */\n txEvents?: boolean;\n}\n\nexport interface DryRunAccount {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n amount: bigint;\n}\n\nexport interface DryRunInputItem {\n /** Base64Check encoded tagged byte array */\n tx?: string;\n /** Base58Check encoded tagged hash */\n txHash?: `th_${string}`;\n callReq?: DryRunCallReq;\n}\n\nexport interface DryRunCallReq {\n /** Base64Check encoded tagged byte array */\n calldata: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n amount?: bigint;\n gas?: number;\n /** Base58Check encoded tagged pubkey */\n caller?: string;\n nonce?: number;\n abiVersion?: number;\n context?: DryRunCallContext;\n}\n\nexport interface DryRunCallContext {\n /** Base64Check encoded tagged byte array */\n tx?: string;\n /** Base58Check encoded tagged hash */\n txHash?: `th_${string}`;\n /** This call will have effects on the next call in this dry-run (or not) */\n stateful?: boolean;\n}\n\nexport interface DryRunResults {\n /** results */\n results: DryRunResult[];\n /** on-chain tx events */\n txEvents?: Record<string, unknown>[];\n}\n\nexport interface DryRunResult {\n type: string;\n result: string;\n reason?: string;\n callObj?: ContractCallObject;\n}\n\nexport interface ContractCallObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n callerNonce: number;\n height: number;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n gasPrice: bigint;\n gasUsed: number;\n log: Event[];\n /** Base64Check encoded tagged byte array */\n returnValue: string;\n /** The status of the call 'ok | error | revert'. */\n returnType: ContractCallObjectReturnType;\n}\n\nexport interface Event {\n /** Base58Check encoded tagged pubkey */\n address: string;\n /** Event topics */\n topics: bigint[];\n /** Base64Check encoded tagged byte array */\n data: string;\n}\n\nexport interface Generation {\n keyBlock: KeyBlock;\n microBlocks: string[];\n}\n\nexport interface KeyBlock {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: number;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary: string;\n /** Base64Check encoded tagged byte array */\n flags: string;\n target: number;\n pow?: number[];\n nonce?: number;\n time: Date;\n version: number;\n /** Base64Check encoded tagged byte array */\n info: string;\n}\n\n/** A mix of KeyBlock, MicroBlockHeader properties. */\nexport interface Header {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: number;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner?: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary?: string;\n /** Base64Check encoded tagged byte array */\n flags?: string;\n target?: number;\n pow?: number[];\n nonce?: number;\n time: Date;\n version: number;\n /** Base64Check encoded tagged byte array */\n info?: string;\n /** Base58Check encoded tagged hash */\n pofHash?: string;\n /** Base58Check encoded tagged hash */\n txsHash?: string;\n /** Base58Check encoded tagged value */\n signature?: string;\n}\n\nexport interface PinningTx {\n /** The epoch for which the pin is valid */\n epoch: number;\n /** the height of the pinned block (usually last block of ) */\n height: number;\n /** Base58Check encoded tagged hash */\n blockHash: string;\n /** this is the payload to post to the parent chain (standardized). Combines Epoch, Height and Hash. */\n parentPayload: string;\n /** The last leader in the epoch that could use this pin to collect the reward */\n lastLeader: string;\n /** chain type of parent (aeternity, btc, doge eventually supported) */\n parentType: string;\n /** the parent node id */\n parentNetworkId: string;\n}\n\nexport interface HCContractPubkeys {\n /** Base58Check encoded tagged pubkey */\n staking: string;\n /** Base58Check encoded tagged pubkey */\n election?: string;\n /** Base58Check encoded tagged pubkey */\n rewards?: string;\n}\n\nexport interface HashResponse {\n hash: string;\n}\n\nexport interface HeightResponse {\n height: number;\n}\n\nexport interface MicroBlockHeader {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: number;\n /** Base58Check encoded tagged hash */\n pofHash: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged hash */\n txsHash: string;\n /** Base58Check encoded tagged value */\n signature: string;\n time: Date;\n version: number;\n}\n\nexport interface CountResponse {\n count: number;\n}\n\nexport interface NameEntry {\n /** Base58Check encoded tagged value */\n id: string;\n /** Base58Check encoded tagged pubkey */\n owner?: string;\n ttl: number;\n pointers: NamePointerComplete[];\n}\n\nexport interface NamePointerComplete {\n key: string;\n /** Base58Check encoded tagged value */\n encodedKey: string;\n /** Base58Check encoded tagged pubkey */\n id: string;\n}\n\nexport interface RegisteredOracle {\n /** Base58Check encoded tagged pubkey */\n id: string;\n queryFormat: string;\n responseFormat: string;\n queryFee: bigint;\n ttl: number;\n abiVersion: number;\n}\n\nexport interface OracleQueries {\n oracleQueries: OracleQuery[];\n}\n\nexport interface OracleQuery {\n /** Base58Check encoded tagged value */\n id: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n senderNonce: number;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n response: string;\n ttl: number;\n responseTtl: Ttl;\n fee: bigint;\n}\n\nexport interface PeerPubKey {\n /** Base58Check encoded tagged pubkey */\n pubkey: string;\n}\n\nexport interface GasPricesItem {\n /** Minimum gas price in the block range */\n minGasPrice: bigint;\n /** Percent of available gas used */\n utilization: number;\n /** Number of minutes from the top */\n minutes: number;\n}\n\nexport interface Status {\n /** Base58Check encoded tagged hash */\n genesisKeyBlockHash: string;\n solutions: number;\n difficulty: number;\n hashrate: number;\n syncing: boolean;\n syncProgress?: number;\n uptime: string;\n listening: boolean;\n protocols: Protocol[];\n nodeVersion: string;\n nodeRevision: string;\n peerCount: number;\n peerConnections: PeerConnections;\n pendingTransactionsCount: number;\n networkId: string;\n /** Base58Check encoded tagged pubkey */\n peerPubkey: string;\n /** Base58Check encoded tagged hash */\n topKeyBlockHash: string;\n topBlockHeight: number;\n}\n\nexport interface Protocol {\n version: number;\n effectiveAtHeight: number;\n}\n\nexport interface PeerConnections {\n inbound: number;\n outbound: number;\n}\n\nexport interface SyncStatus {\n progress: number;\n target: number;\n speed: number;\n estimate: number;\n}\n\nexport interface EncodedTx {\n /** Base64Check encoded tagged byte array */\n tx: string;\n}\n\nexport interface PostTxResponse {\n /** Base58Check encoded tagged hash */\n txHash: `th_${string}`;\n}\n\nexport interface TxInfoObject {\n callInfo?: ContractCallObject;\n gaInfo?: GAObject;\n txInfo?: string;\n}\n\nexport interface GAObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n height: number;\n gasPrice: bigint;\n gasUsed: number;\n /** Base64Check encoded tagged byte array */\n returnValue: string;\n /** The status of the call 'ok | error'. */\n returnType: GAObjectReturnType;\n innerObject?: TxInfoObject;\n}\n\nexport interface ChannelCloseMutualTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: bigint;\n responderAmountFinal: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n}\n\nexport interface ChannelCloseSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface ChannelCreateTx {\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n initiatorAmount: bigint;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n responderAmount: bigint;\n channelReserve: bigint;\n lockPeriod: number;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n delegateIds?: Delegates;\n}\n\nexport interface ChannelDepositTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n amount: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: number;\n}\n\nexport interface ChannelForceProgressTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n round: number;\n update: OffChainUpdateUnion;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n offchainTrees?: string;\n}\n\nexport interface ChannelSetDelegatesTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorDelegateIds: string[];\n responderDelegateIds: string[];\n /** Base58Check encoded tagged pubkey */\n stateHash: string;\n round: number;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n}\n\nexport interface ChannelSettleTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: bigint;\n responderAmountFinal: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n}\n\nexport interface ChannelSlashTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface ChannelSnapshotSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n}\n\nexport interface ChannelWithdrawTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n toId: string;\n amount: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: number;\n}\n\nexport interface CheckTxInPoolResponse {\n status: string;\n}\n\nexport interface CommitmentId {\n /** Base58Check encoded tagged value */\n commitmentId: string;\n}\n\nexport interface ContractCallTx {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n nonce?: number;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n abiVersion: number;\n fee: bigint;\n ttl?: number;\n amount: bigint;\n gas: number;\n gasPrice: bigint;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface ContractCreateTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n code: string;\n vmVersion: number;\n abiVersion: number;\n deposit: bigint;\n amount: bigint;\n gas: number;\n gasPrice: bigint;\n fee: bigint;\n ttl?: number;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface UnsignedTx {\n /** Base64Check encoded tagged byte array */\n tx: string;\n}\n\nexport interface GAAttachTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n code: string;\n vmVersion: number;\n abiVersion: number;\n gas: number;\n gasPrice: bigint;\n fee: bigint;\n ttl?: number;\n /** Base64Check encoded tagged byte array */\n callData: string;\n /** Contract authorization function hash (hex encoded) */\n authFun: string;\n}\n\nexport interface GAMetaTx {\n /** Base58Check encoded tagged pubkey */\n gaId: string;\n abiVersion: number;\n gas: number;\n gasPrice: bigint;\n fee: bigint;\n ttl?: number;\n /** Base64Check encoded tagged byte array */\n authData: string;\n tx: SignedTx;\n}\n\nexport interface NameClaimTx {\n name: string;\n nameSalt: number;\n nameFee?: bigint;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameHash {\n /** Base58Check encoded tagged value */\n nameId: string;\n}\n\nexport interface NamePreclaimTx {\n /** Base58Check encoded tagged value */\n commitmentId: string;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameRevokeTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameTransferTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameUpdateTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n nameTtl: number;\n pointers: NamePointer[];\n clientTtl: number;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface PeerDetails {\n /** Hostname of peer */\n host: string;\n port: number;\n firstSeen: number;\n lastSeen: number;\n /** Base58Check encoded tagged hash */\n genesisHash: string;\n /** Base58Check encoded tagged hash */\n topHash: string;\n topDifficulty: number;\n networkId?: string;\n nodeVersion?: string;\n nodeRevision?: string;\n nodeVendor?: string;\n nodeOs?: string;\n}\n\nexport interface OracleExtendTx {\n fee: bigint;\n oracleTtl: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: number;\n ttl?: number;\n}\n\nexport interface OracleQueryTx {\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n queryFee: bigint;\n queryTtl: Ttl;\n responseTtl: RelativeTTL;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: number;\n}\n\nexport interface OracleRegisterTx {\n queryFormat: string;\n responseFormat: string;\n queryFee: bigint;\n oracleTtl: Ttl;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n fee: bigint;\n ttl?: number;\n abiVersion?: number;\n}\n\nexport interface OracleRespondTx {\n /** Base58Check encoded tagged value */\n queryId: string;\n response: string;\n responseTtl: RelativeTTL;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: number;\n}\n\nexport interface PayingForTx {\n /** Base58Check encoded tagged pubkey */\n payerId: string;\n fee: bigint;\n nonce?: number;\n tx: SignedTx;\n}\n\nexport interface PeerCount {\n connected: PeerCountConnected;\n available: PeerCountAvailable;\n blocked: number;\n}\n\nexport interface PeerCountConnected {\n inbound?: number;\n outbound?: number;\n}\n\nexport interface PeerCountAvailable {\n verified?: number;\n unverified?: number;\n}\n\nexport interface Peers {\n /** All discovered peers */\n peers: string[];\n /** All blocked peers */\n blocked: string[];\n}\n\nexport interface PubKey {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n}\n\nexport interface SpendTx {\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n amount: bigint;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: number;\n /** Base64Check encoded tagged byte array */\n payload: string;\n}\n\nexport interface TokenSupply {\n accounts?: number;\n contracts?: number;\n contractOracles?: number;\n locked?: number;\n oracles?: number;\n oracleQueries?: number;\n pendingRewards?: number;\n total?: number;\n}\n\nexport interface OffChainCallContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainCallContract\";\n /** Base58Check encoded tagged pubkey */\n caller: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n abiVersion: number;\n amount: bigint;\n gas: number;\n gasPrice: bigint;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface OffChainDeposit extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainDeposit\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n amount: bigint;\n}\n\nexport interface OffChainNewContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainNewContract\";\n /** Base58Check encoded tagged pubkey */\n owner: string;\n vmVersion: number;\n abiVersion: number;\n code: ByteCode;\n deposit: bigint;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface OffChainTransfer extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainTransfer\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: bigint;\n}\n\nexport interface OffChainWithdrawal extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainWithdrawal\";\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: bigint;\n}\n\nexport interface CreateContractUnsignedTx extends UnsignedTx {\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n}\n\n/** Defines values for AccountKind. */\nexport type AccountKind = \"basic\" | \"generalized\";\n/** Defines values for Enum1. */\nexport type Enum1 = \"max\" | \"continuity\";\n/** Defines values for TTLType. */\nexport type TTLType = \"delta\" | \"block\";\n/** Defines values for TxType. */\nexport type TxType =\n | \"SpendTx\"\n | \"ChannelCreateTx\"\n | \"ChannelDepositTx\"\n | \"ChannelWithdrawTx\"\n | \"ChannelForceProgressTx\"\n | \"ChannelCloseMutualTx\"\n | \"ChannelCloseSoloTx\"\n | \"ChannelSlashTx\"\n | \"ChannelSettleTx\"\n | \"ChannelSnapshotSoloTx\"\n | \"ChannelSetDelegatesTx\"\n | \"OracleRegisterTx\"\n | \"OracleExtendTx\"\n | \"OracleQueryTx\"\n | \"OracleRespondTx\"\n | \"NamePreclaimTx\"\n | \"NameClaimTx\"\n | \"NameUpdateTx\"\n | \"NameTransferTx\"\n | \"NameRevokeTx\"\n | \"ContractCreateTx\"\n | \"ContractCallTx\"\n | \"GAAttachTx\"\n | \"GAMetaTx\"\n | \"PayingForTx\";\n/** Defines values for ContractCallObjectReturnType. */\nexport type ContractCallObjectReturnType = \"ok\" | \"error\" | \"revert\";\n/** Defines values for Enum5. */\nexport type Enum5 = \"open\" | \"closed\" | \"all\";\n/** Defines values for GAObjectReturnType. */\nexport type GAObjectReturnType = \"ok\" | \"error\";\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkey operation. */\nexport type GetAccountByPubkeyResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHash operation. */\nexport type GetAccountByPubkeyAndHashResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHeight operation. */\nexport type GetAccountByPubkeyAndHeightResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountNextNonceOptionalParams\n extends coreClient.OperationOptions {\n /** What strategy to use in order to determine the next nonce: shall it check for continuity or return the largest nonce seen + 1. If you choose strategy max, then the greatest nonce seen in the account or currently in the transaction pool is incremented with 1 and returned. If you choose the strategy continuity, then transactions in the mempool are checked if there are gaps - missing nonces that prevent transactions with greater nonces to get included. */\n strategy?: Enum1;\n}\n\n/** Contains response data for the getAccountNextNonce operation. */\nexport type GetAccountNextNonceResponse = NextNonceResponse;\n\n/** Optional parameters. */\nexport interface GetPendingAccountTransactionsByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingAccountTransactionsByPubkey operation. */\nexport type GetPendingAccountTransactionsByPubkeyResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetAuctionEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAuctionEntryByName operation. */\nexport type GetAuctionEntryByNameResponse = AuctionEntry;\n\n/** Optional parameters. */\nexport interface GetChannelByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChannelByPubkey operation. */\nexport type GetChannelByPubkeyResponse = Channel;\n\n/** Optional parameters. */\nexport interface GetContractOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContract operation. */\nexport type GetContractResponse = ContractObject;\n\n/** Optional parameters. */\nexport interface GetContractCodeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractCode operation. */\nexport type GetContractCodeResponse = ByteCode;\n\n/** Optional parameters. */\nexport interface GetContractPoIOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractPoI operation. */\nexport type GetContractPoIResponse = PoI;\n\n/** Optional parameters. */\nexport interface GetCurrencyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrency operation. */\nexport type GetCurrencyResponse = Currency;\n\n/** Optional parameters. */\nexport interface ProtectedDryRunTxsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the protectedDryRunTxs operation. */\nexport type ProtectedDryRunTxsResponse = DryRunResults;\n\n/** Optional parameters. */\nexport interface GetCurrentGenerationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentGeneration operation. */\nexport type GetCurrentGenerationResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHash operation. */\nexport type GetGenerationByHashResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHeight operation. */\nexport type GetGenerationByHeightResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetTopHeaderOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTopHeader operation. */\nexport type GetTopHeaderResponse = Header;\n\n/** Optional parameters. */\nexport interface GetPinningTxOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPinningTx operation. */\nexport type GetPinningTxResponse = PinningTx;\n\n/** Optional parameters. */\nexport interface GetHyperchainContractPubkeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getHyperchainContractPubkeys operation. */\nexport type GetHyperchainContractPubkeysResponse = HCContractPubkeys;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlock operation. */\nexport type GetCurrentKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHash operation. */\nexport type GetCurrentKeyBlockHashResponse = HashResponse;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHeight operation. */\nexport type GetCurrentKeyBlockHeightResponse = HeightResponse;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHash operation. */\nexport type GetKeyBlockByHashResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHeight operation. */\nexport type GetKeyBlockByHeightResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetPendingKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingKeyBlock operation. */\nexport type GetPendingKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetMicroBlockHeaderByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockHeaderByHash operation. */\nexport type GetMicroBlockHeaderByHashResponse = MicroBlockHeader;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsByHash operation. */\nexport type GetMicroBlockTransactionsByHashResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsCountByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsCountByHash operation. */\nexport type GetMicroBlockTransactionsCountByHashResponse = CountResponse;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionByHashAndIndexOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionByHashAndIndex operation. */\nexport type GetMicroBlockTransactionByHashAndIndexResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetNameEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNameEntryByName operation. */\nexport type GetNameEntryByNameResponse = NameEntry;\n\n/** Optional parameters. */\nexport interface GetNameEntryByNameHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNameEntryByNameHash operation. */\nexport type GetNameEntryByNameHashResponse = NameEntry;\n\n/** Optional parameters. */\nexport interface GetOracleByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleByPubkey operation. */\nexport type GetOracleByPubkeyResponse = RegisteredOracle;\n\n/** Optional parameters. */\nexport interface GetOracleQueriesByPubkeyOptionalParams\n extends coreClient.OperationOptions {\n /** Last query id in previous page */\n from?: string;\n /** Max number of oracle queries */\n limit?: number;\n /** The type of a query: open, closed or all */\n type?: Enum5;\n}\n\n/** Contains response data for the getOracleQueriesByPubkey operation. */\nexport type GetOracleQueriesByPubkeyResponse = OracleQueries;\n\n/** Optional parameters. */\nexport interface GetOracleQueryByPubkeyAndQueryIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleQueryByPubkeyAndQueryId operation. */\nexport type GetOracleQueryByPubkeyAndQueryIdResponse = OracleQuery;\n\n/** Optional parameters. */\nexport interface GetPeerPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPeerPubkey operation. */\nexport type GetPeerPubkeyResponse = PeerPubKey;\n\n/** Optional parameters. */\nexport interface GetRecentGasPricesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getRecentGasPrices operation. */\nexport type GetRecentGasPricesResponse = GasPricesItem[];\n\n/** Optional parameters. */\nexport interface GetStatusOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the getStatus operation. */\nexport type GetStatusResponse = Status;\n\n/** Optional parameters. */\nexport interface GetChainEndsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChainEnds operation. */\nexport type GetChainEndsResponse = {\n /** The parsed response body. */\n body: string[];\n};\n\n/** Optional parameters. */\nexport interface GetSyncStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSyncStatus operation. */\nexport type GetSyncStatusResponse = SyncStatus;\n\n/** Optional parameters. */\nexport interface PostTransactionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the postTransaction operation. */\nexport type PostTransactionResponse = PostTxResponse;\n\n/** Optional parameters. */\nexport interface GetTransactionByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionByHash operation. */\nexport type GetTransactionByHashResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetTransactionInfoByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionInfoByHash operation. */\nexport type GetTransactionInfoByHashResponse = TxInfoObject;\n\n/** Optional parameters. */\nexport interface NodeOptionalParams extends coreClient.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/apis/node/models/index.ts"],"sourcesContent":["import * as coreClient from \"@azure/core-client\";\n\nexport type OffChainUpdateUnion =\n | OffChainUpdate\n | OffChainCallContract\n | OffChainDeposit\n | OffChainNewContract\n | OffChainTransfer\n | OffChainWithdrawal;\n\nexport interface Account {\n /** Base58Check encoded tagged pubkey */\n id: string;\n balance: bigint;\n nonce: number;\n /** Payable */\n payable?: boolean;\n kind?: AccountKind;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Name of authorization function for generalized account */\n authFun?: string;\n}\n\nexport interface ErrorModel {\n reason: string;\n errorCode?: string;\n}\n\nexport interface NextNonceResponse {\n nextNonce: number;\n}\n\nexport interface SignedTxs {\n transactions: SignedTx[];\n}\n\nexport interface SignedTx {\n /** A mix of all transaction types. */\n tx: Tx;\n blockHeight: number;\n /** Base58Check encoded tagged hash */\n blockHash: string;\n /** Base58Check encoded transaction hash */\n hash: string;\n /** Base64Check encoded transaction */\n encodedTx?: string;\n /** At least one signature is required unless for Generalized Account Meta transactions */\n signatures: string[];\n}\n\n/** A mix of all transaction types. */\nexport interface Tx {\n /** Base58Check encoded tagged pubkey */\n recipientId?: string;\n amount?: bigint;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n senderId?: string;\n nonce?: number;\n /** Base64Check encoded byte array. Accepted on input as a plain 'ba_'-prefixed byte array (see aehttp_dispatch_int.erl's produce_tx(channel_set_delegates_tx, ...)), but returned by the node as a 'tx_'-prefixed transaction (see aesc_set_delegates_tx.erl) -- no single prefix pattern covers both. */\n payload?: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId?: string;\n initiatorAmount?: bigint;\n /** Base58Check encoded tagged pubkey */\n responderId?: string;\n responderAmount?: bigint;\n channelReserve?: bigint;\n lockPeriod?: number;\n /** Base58Check encoded tagged pubkey */\n stateHash?: string;\n delegateIds?: Delegates;\n /** Base58Check encoded tagged pubkey */\n channelId?: string;\n /** Base58Check encoded tagged pubkey */\n fromId?: string;\n round?: number;\n /** Base58Check encoded tagged pubkey */\n toId?: string;\n update?: OffChainUpdateUnion;\n /** Base64Check encoded state trees */\n offchainTrees?: string;\n initiatorAmountFinal?: bigint;\n responderAmountFinal?: bigint;\n /** Base64Check encoded proof of inclusion */\n poi?: string;\n initiatorDelegateIds?: string[];\n responderDelegateIds?: string[];\n queryFormat?: string;\n responseFormat?: string;\n queryFee?: bigint;\n oracleTtl?: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n accountId?: string;\n abiVersion?: number;\n /** Base58Check encoded tagged pubkey */\n oracleId?: string;\n query?: string;\n queryTtl?: Ttl;\n responseTtl?: RelativeTTL;\n /** Base58Check encoded oracle query id */\n queryId?: string;\n response?: string;\n /** Base58Check encoded AENS commitment */\n commitmentId?: string;\n name?: string;\n nameSalt?: number;\n nameFee?: bigint;\n /** Base58Check encoded AENS name hash */\n nameId?: string;\n nameTtl?: number;\n pointers?: NamePointer[];\n clientTtl?: number;\n /** Base58Check encoded tagged pubkey */\n ownerId?: string;\n /** Base64Check encoded contract byte array */\n code?: string;\n vmVersion?: number;\n deposit?: bigint;\n gas?: number;\n gasPrice?: bigint;\n /** Base64Check encoded contract byte array */\n callData?: string;\n /** Base58Check encoded tagged pubkey */\n callerId?: string;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Contract authorization function hash (hex encoded) */\n authFun?: string;\n /** Base58Check encoded tagged pubkey */\n gaId?: string;\n /** Base64Check encoded contract byte array */\n authData?: string;\n tx?: SignedTx;\n /** Base58Check encoded tagged pubkey */\n payerId?: string;\n version: number;\n type: TxType;\n}\n\nexport interface Delegates {\n initiator?: string[];\n responder?: string[];\n}\n\nexport interface OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op:\n | \"OffChainCallContract\"\n | \"OffChainDeposit\"\n | \"OffChainNewContract\"\n | \"OffChainTransfer\"\n | \"OffChainWithdrawal\";\n}\n\nexport interface RelativeTTL {\n type: \"delta\";\n value: number;\n}\n\nexport interface Ttl {\n type: TTLType;\n value: number;\n}\n\nexport interface NamePointer {\n key: string;\n /** Base64Check encoded byte array */\n encodedKey?: string;\n /** Base58Check encoded tagged pubkey */\n id: string;\n}\n\nexport interface AuctionEntry {\n /** Base58Check encoded AENS name hash */\n id: string;\n startedAt: number;\n endsAt: number;\n /** Base58Check encoded tagged pubkey */\n highestBidder: string;\n highestBid: bigint;\n}\n\nexport interface Channel {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n channelAmount: bigint;\n initiatorAmount: bigint;\n responderAmount: bigint;\n channelReserve: bigint;\n delegateIds: Delegates;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: number;\n soloRound: number;\n lockPeriod: number;\n lockedUntil: number;\n}\n\nexport interface ContractObject {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n vmVersion: number;\n abiVersion: number;\n active: boolean;\n referrerIds: string[];\n deposit: bigint;\n}\n\nexport interface ByteCode {\n /** Base64Check encoded contract byte array */\n bytecode: `cb_${string}`;\n}\n\nexport interface PoI {\n /** Base64Check encoded proof of inclusion */\n poi: string;\n}\n\nexport interface Currency {\n name: string;\n symbol: string;\n subunit: string;\n subunitsPerUnit: bigint;\n /** Use `fiat_conversion_url` instead */\n fiatConverstionUrl?: string;\n fiatConversionUrl?: string;\n logo?: Image;\n primaryColour: string;\n secondaryColour: string;\n networkName: string;\n}\n\nexport interface Image {\n type?: string;\n data?: string;\n}\n\nexport interface DryRunInput {\n /** Base58Check encoded tagged hash */\n top?: string;\n /** Accounts */\n accounts?: DryRunAccount[];\n /** Txs */\n txs: DryRunInputItem[];\n /** Collect and return on-chain tx events that would result from the call */\n txEvents?: boolean;\n}\n\nexport interface DryRunAccount {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n amount: bigint;\n}\n\nexport interface DryRunInputItem {\n /** Base64Check encoded transaction */\n tx?: string;\n /** Base58Check encoded transaction hash */\n txHash?: `th_${string}`;\n callReq?: DryRunCallReq;\n}\n\nexport interface DryRunCallReq {\n /** Base64Check encoded contract byte array */\n calldata: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n amount?: bigint;\n gas?: number;\n /** Base58Check encoded tagged pubkey */\n caller?: string;\n nonce?: number;\n abiVersion?: number;\n context?: DryRunCallContext;\n}\n\nexport interface DryRunCallContext {\n /** Base64Check encoded transaction */\n tx?: string;\n /** Base58Check encoded transaction hash */\n txHash?: `th_${string}`;\n /** This call will have effects on the next call in this dry-run (or not) */\n stateful?: boolean;\n}\n\nexport interface DryRunResults {\n /** results */\n results: DryRunResult[];\n /** on-chain tx events */\n txEvents?: Record<string, unknown>[];\n}\n\nexport interface DryRunResult {\n type: string;\n result: string;\n reason?: string;\n callObj?: ContractCallObject;\n}\n\nexport interface ContractCallObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n callerNonce: number;\n height: number;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n gasPrice: bigint;\n gasUsed: number;\n log: Event[];\n /** Base64Check encoded contract byte array */\n returnValue: string;\n /** The status of the call 'ok | error | revert'. */\n returnType: ContractCallObjectReturnType;\n}\n\nexport interface Event {\n /** Base58Check encoded tagged pubkey */\n address: string;\n /** Event topics */\n topics: bigint[];\n /** Base64Check encoded contract byte array */\n data: string;\n}\n\nexport interface Generation {\n keyBlock: KeyBlock;\n microBlocks: string[];\n}\n\nexport interface KeyBlock {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: number;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary: string;\n /** Base64Check encoded byte array */\n flags?: string;\n target: number;\n pow?: number[];\n nonce?: number;\n time: Date;\n version: number;\n /** Base64Check encoded contract byte array */\n info: string;\n}\n\n/** A mix of KeyBlock, MicroBlockHeader properties. */\nexport interface Header {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: number;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner?: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary?: string;\n /** Base64Check encoded byte array */\n flags?: string;\n target?: number;\n pow?: number[];\n nonce?: number;\n time: Date;\n version: number;\n /** Base64Check encoded contract byte array */\n info?: string;\n /** \\\"no_fraud\\\" or Base58Check encoded Proof of Fraud hash */\n pofHash?: string;\n /** Base58Check encoded tagged hash */\n txsHash?: string;\n /** Base58Check encoded signature */\n signature?: string;\n}\n\nexport interface PinningTx {\n /** The epoch for which the pin is valid */\n epoch: number;\n /** the height of the pinned block (usually last block of ) */\n height: number;\n /** Base58Check encoded tagged hash */\n blockHash: string;\n /** this is the payload to post to the parent chain (standardized). Combines Epoch, Height and Hash. */\n parentPayload: string;\n /** The last leader in the epoch that could use this pin to collect the reward */\n lastLeader: string;\n /** chain type of parent (aeternity, btc, doge eventually supported) */\n parentType: string;\n /** the parent node id */\n parentNetworkId: string;\n}\n\nexport interface HCContractPubkeys {\n /** Base58Check encoded tagged pubkey */\n staking: string;\n /** Base58Check encoded tagged pubkey */\n election?: string;\n /** Base58Check encoded tagged pubkey */\n rewards?: string;\n}\n\nexport interface HashResponse {\n hash: string;\n}\n\nexport interface HeightResponse {\n height: number;\n}\n\nexport interface MicroBlockHeader {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: number;\n /** \\\"no_fraud\\\" or Base58Check encoded Proof of Fraud hash */\n pofHash: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged hash */\n txsHash: string;\n /** Base58Check encoded signature */\n signature: string;\n time: Date;\n version: number;\n /** Base64Check encoded byte array */\n flags?: string;\n}\n\nexport interface CountResponse {\n count: number;\n}\n\nexport interface NameEntry {\n /** Base58Check encoded AENS name hash */\n id: string;\n /** Base58Check encoded tagged pubkey */\n owner?: string;\n ttl: number;\n pointers: NameEntryPointersItem[];\n}\n\nexport interface RegisteredOracle {\n /** Base58Check encoded tagged pubkey */\n id: string;\n queryFormat: string;\n responseFormat: string;\n queryFee: bigint;\n ttl: number;\n abiVersion: number;\n}\n\nexport interface OracleQueries {\n oracleQueries: OracleQuery[];\n}\n\nexport interface OracleQuery {\n /** Base58Check encoded oracle query id */\n id: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n senderNonce: number;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n response: string;\n ttl: number;\n responseTtl: Ttl;\n fee: bigint;\n}\n\nexport interface PeerPubKey {\n /** Base58Check encoded tagged pubkey */\n pubkey: string;\n}\n\nexport interface GasPricesItem {\n /** Minimum gas price in the block range */\n minGasPrice: bigint;\n /** Percent of available gas used */\n utilization: number;\n /** Number of minutes from the top */\n minutes: number;\n}\n\n/** This node's local policy settings. Not consensus rules: they may differ between nodes and an operator can change them at runtime. */\nexport interface NodeSettings {\n /** Minimum gas price this node's miner accepts (aettos per gas), as a decimal string. Transactions with a lower gas price are valid but not mined by this node. */\n minMinerGasPrice: bigint;\n /** Maximum gas this node accepts for a generalized account authentication function (GAMetaTx) */\n maxAuthFunGas: number;\n /** Number of key blocks a transaction stays in this node's mempool */\n mempoolTxTtl: number;\n /** Maximum nonce distance from the current account nonce accepted into this node's mempool */\n mempoolNonceOffset: number;\n /** Maximum total gas accepted by this node's dry-run endpoint */\n dryRunGasLimit: number;\n /** Maximum total gas this node accepts in a single micro block (upper bound for a single transaction's gas) */\n blockGasLimit: number;\n}\n\nexport interface ProtocolParameters {\n /** Network id prepended to the serialized transaction before signing */\n networkId: string;\n /** Consensus protocol version effective at the current top height */\n currentProtocolVersion: number;\n /** Account holding locked/burnt coins (e.g. AENS name fees) */\n lockedCoinsHolderAccount: string;\n /** Expected key block interval in milliseconds, the proof-of-work difficulty retarget target. A node reports whichever of this and child_block_time governs its consensus, never both. */\n expectedBlockMineRate?: number;\n /** Key block interval in milliseconds of a Hyperchains child chain */\n childBlockTime?: number;\n /** Minimum micro block interval in milliseconds, enforced in block validation */\n microBlockCycle: number;\n /** Consensus parameters of the protocol effective at the current top block, followed by any protocol whose fork height has not been reached yet. */\n protocols: ProtocolConsensusParameters[];\n}\n\nexport interface ContractTxBaseGas {\n /** Transaction type */\n txType: string;\n /** ABI version this base gas applies to */\n abiVersion: number;\n /** Base fee gas of this transaction type with this ABI version */\n txBaseGas: number;\n}\n\nexport interface StateGasPerBlock {\n /** Numerator of the per-key-block state gas fraction */\n part: number;\n /** Denominator of the per-key-block state gas fraction */\n whole: number;\n}\n\nexport interface NameAuctionTimeout {\n /** Name length, measured as for the name_claim_fees index */\n length: number;\n /** Initial auction timeout in key blocks as enforced by this node; zero means no auction. May be overridden node-locally, in which case it can disagree with bid_extension. */\n bidTimeout: number;\n /** Auction extension in key blocks after a new bid */\n bidExtension: number;\n}\n\nexport interface ContractVersion {\n /** VM version */\n vmVersion: number;\n /** ABI version */\n abiVersion: number;\n}\n\nexport interface Protocol {\n version: number;\n effectiveAtHeight: number;\n}\n\nexport interface Status {\n /** Base58Check encoded tagged hash */\n genesisKeyBlockHash: string;\n solutions: number;\n difficulty: number;\n hashrate: number;\n syncing: boolean;\n syncProgress?: number;\n uptime: string;\n listening: boolean;\n protocols: Protocol[];\n nodeVersion: string;\n nodeRevision: string;\n peerCount: number;\n peerConnections: PeerConnections;\n pendingTransactionsCount: number;\n networkId: string;\n /** Base58Check encoded tagged pubkey */\n peerPubkey: string;\n /** Base58Check encoded tagged hash */\n topKeyBlockHash: string;\n topBlockHeight: number;\n}\n\nexport interface PeerConnections {\n inbound: number;\n outbound: number;\n}\n\nexport interface SyncStatus {\n progress: number;\n target: number;\n speed: number;\n estimate: number;\n}\n\nexport interface EncodedTx {\n /** Base64Check encoded transaction */\n tx: string;\n}\n\nexport interface PostTxResponse {\n /** Base58Check encoded transaction hash */\n txHash: `th_${string}`;\n}\n\nexport interface TxInfoObject {\n callInfo?: ContractCallObject;\n gaInfo?: GAObject;\n txInfo?: string;\n}\n\nexport interface GAObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n height: number;\n gasPrice: bigint;\n gasUsed: number;\n /** Base64Check encoded contract byte array */\n returnValue: string;\n /** The status of the call 'ok | error'. */\n returnType: GAObjectReturnType;\n innerObject?: TxInfoObject;\n}\n\nexport interface ChannelCloseMutualTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: bigint;\n responderAmountFinal: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n}\n\nexport interface ChannelCloseSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded byte array. Accepted on input as a plain 'ba_'-prefixed byte array (see aehttp_dispatch_int.erl's produce_tx(channel_close_solo_tx, ...)), but returned by the node as a 'tx_'-prefixed transaction (see aesc_close_solo_tx.erl) -- no single prefix pattern covers both. */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base64Check encoded proof of inclusion */\n poi: string;\n}\n\nexport interface ChannelCreateTx {\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n initiatorAmount: bigint;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n responderAmount: bigint;\n channelReserve: bigint;\n lockPeriod: number;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n delegateIds?: Delegates;\n}\n\nexport interface ChannelDepositTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n amount: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: number;\n}\n\nexport interface ChannelForceProgressTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded transaction */\n payload: string;\n round: number;\n update: OffChainUpdateUnion;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base64Check encoded state trees */\n offchainTrees?: string;\n}\n\nexport interface ChannelSetDelegatesTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorDelegateIds: string[];\n responderDelegateIds: string[];\n /** Base58Check encoded tagged pubkey */\n stateHash: string;\n round: number;\n /** Base64Check encoded byte array. Accepted on input as a plain 'ba_'-prefixed byte array (see aehttp_dispatch_int.erl's produce_tx(channel_set_delegates_tx, ...)), but returned by the node as a 'tx_'-prefixed transaction (see aesc_set_delegates_tx.erl) -- no single prefix pattern covers both. */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n}\n\nexport interface ChannelSettleTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: bigint;\n responderAmountFinal: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n}\n\nexport interface ChannelSlashTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded byte array. Accepted on input as a plain 'ba_'-prefixed byte array (see aehttp_dispatch_int.erl's produce_tx(channel_slash_tx, ...)), but returned by the node as a 'tx_'-prefixed transaction (see aesc_slash_tx.erl) -- no single prefix pattern covers both. */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n /** Base64Check encoded proof of inclusion */\n poi: string;\n}\n\nexport interface ChannelSnapshotSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded byte array. Accepted on input as a plain 'ba_'-prefixed byte array (see aehttp_dispatch_int.erl's produce_tx(channel_snapshot_solo_tx, ...)), but returned by the node as a 'tx_'-prefixed transaction (see aesc_snapshot_solo_tx.erl) -- no single prefix pattern covers both. */\n payload: string;\n ttl?: number;\n fee: bigint;\n nonce?: number;\n}\n\nexport interface ChannelWithdrawTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n toId: string;\n amount: bigint;\n ttl?: number;\n fee: bigint;\n nonce: number;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: number;\n}\n\nexport interface CheckTxInPoolResponse {\n status: string;\n}\n\nexport interface CommitmentId {\n /** Base58Check encoded AENS commitment */\n commitmentId: string;\n}\n\nexport interface ContractCallTx {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n nonce?: number;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n abiVersion: number;\n fee: bigint;\n ttl?: number;\n amount: bigint;\n gas: number;\n gasPrice: bigint;\n /** Base64Check encoded contract byte array */\n callData: string;\n}\n\nexport interface ContractCreateTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: number;\n /** Base64Check encoded contract byte array */\n code: string;\n vmVersion: number;\n abiVersion: number;\n deposit: bigint;\n amount: bigint;\n gas: number;\n gasPrice: bigint;\n fee: bigint;\n ttl?: number;\n /** Base64Check encoded contract byte array */\n callData: string;\n}\n\nexport interface GAAttachTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: number;\n /** Base64Check encoded contract byte array */\n code: string;\n vmVersion: number;\n abiVersion: number;\n gas: number;\n gasPrice: bigint;\n fee: bigint;\n ttl?: number;\n /** Base64Check encoded contract byte array */\n callData: string;\n /** Contract authorization function hash (hex encoded) */\n authFun: string;\n}\n\nexport interface GAMetaTx {\n /** Base58Check encoded tagged pubkey */\n gaId: string;\n abiVersion: number;\n gas: number;\n gasPrice: bigint;\n fee: bigint;\n ttl?: number;\n /** Base64Check encoded contract byte array */\n authData: string;\n tx: SignedTx;\n}\n\nexport interface NameClaimTx {\n name: string;\n nameSalt: number;\n nameFee?: bigint;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameHash {\n /** Base58Check encoded AENS name hash */\n nameId: string;\n}\n\nexport interface NamePreclaimTx {\n /** Base58Check encoded AENS commitment */\n commitmentId: string;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameRevokeTx {\n /** Base58Check encoded AENS name hash */\n nameId: string;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameTransferTx {\n /** Base58Check encoded AENS name hash */\n nameId: string;\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface NameUpdateTx {\n /** Base58Check encoded AENS name hash */\n nameId: string;\n nameTtl: number;\n pointers: NamePointer[];\n clientTtl: number;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n}\n\nexport interface PeerDetails {\n /** Hostname of peer */\n host: string;\n port: number;\n firstSeen: number;\n lastSeen: number;\n /** Base58Check encoded tagged hash */\n genesisHash: string;\n /** Base58Check encoded tagged hash */\n topHash: string;\n topDifficulty: number;\n networkId?: string;\n nodeVersion?: string;\n nodeRevision?: string;\n nodeVendor?: string;\n nodeOs?: string;\n}\n\nexport interface OracleExtendTx {\n fee: bigint;\n oracleTtl: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: number;\n ttl?: number;\n}\n\nexport interface OracleQueryTx {\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n queryFee: bigint;\n queryTtl: Ttl;\n responseTtl: RelativeTTL;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: number;\n}\n\nexport interface OracleRegisterTx {\n queryFormat: string;\n responseFormat: string;\n queryFee: bigint;\n oracleTtl: Ttl;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: number;\n fee: bigint;\n ttl?: number;\n abiVersion?: number;\n}\n\nexport interface OracleRespondTx {\n /** Base58Check encoded oracle query id */\n queryId: string;\n response: string;\n responseTtl: RelativeTTL;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: number;\n}\n\nexport interface PayingForTx {\n /** Base58Check encoded tagged pubkey */\n payerId: string;\n fee: bigint;\n nonce?: number;\n tx: SignedTx;\n}\n\nexport interface PeerCount {\n connected: PeerCountConnected;\n available: PeerCountAvailable;\n blocked: number;\n}\n\nexport interface PeerCountConnected {\n inbound?: number;\n outbound?: number;\n}\n\nexport interface PeerCountAvailable {\n verified?: number;\n unverified?: number;\n}\n\nexport interface Peers {\n /** All discovered peers */\n peers: string[];\n /** All blocked peers */\n blocked: string[];\n}\n\nexport interface PubKey {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n}\n\nexport interface SpendTxInput {\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n amount: bigint;\n fee: bigint;\n ttl?: number;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: number;\n /** Base64Check encoded byte array, or a raw string */\n payload: any;\n}\n\nexport interface TokenSupply {\n accounts?: number;\n contracts?: number;\n contractOracles?: number;\n locked?: number;\n oracles?: number;\n oracleQueries?: number;\n pendingRewards?: number;\n total?: number;\n}\n\nexport interface OffChainCallContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainCallContract\";\n /** Base58Check encoded tagged pubkey */\n caller: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n abiVersion: number;\n amount: bigint;\n gas: number;\n gasPrice: bigint;\n /** Base64Check encoded contract byte array */\n callData: string;\n}\n\nexport interface OffChainDeposit extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainDeposit\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n amount: bigint;\n}\n\nexport interface OffChainNewContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainNewContract\";\n /** Base58Check encoded tagged pubkey */\n owner: string;\n vmVersion: number;\n abiVersion: number;\n code: ByteCode;\n deposit: bigint;\n /** Base64Check encoded contract byte array */\n callData: string;\n}\n\nexport interface OffChainTransfer extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainTransfer\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: bigint;\n}\n\nexport interface OffChainWithdrawal extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainWithdrawal\";\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: bigint;\n}\n\nexport interface NameEntryPointersItem extends NamePointer {}\n\n/** Consensus parameters of one protocol version */\nexport interface ProtocolConsensusParameters extends Protocol {\n /** Consensus minimum gas price (aettos per gas) as a decimal string; the minimum transaction fee is the transaction's fee gas multiplied by this */\n minimumGasPrice: bigint;\n /** Gas per serialized transaction byte counted into the minimum fee */\n gasPerByte: number;\n /** Gas per byte written to a contract store */\n storeByteGas: number;\n /** Base fee gas by transaction type (transactions not executing contract code). Listed for every protocol regardless of when the type was introduced: an entry gives what the fee gas would be, not whether that transaction was accepted at that protocol. */\n txBaseGas: { [propertyName: string]: number };\n /** Base fee gas of contract-executing transaction types, per ABI version. Listed on the same basis as tx_base_gas; allowed_contract_versions is what decides acceptance. */\n contractTxBaseGas: ContractTxBaseGas[];\n /** State rent gas fraction per key block by transaction type; state gas = ceil(ttl_key_blocks * part / whole) */\n stateGasPerBlock: { [propertyName: string]: StateGasPerBlock };\n /** Minimum AENS name fee by name length, as decimal strings; element N (1-based) applies to names of length N and the last element also to longer names. All zeroes when name fees are not enforced at this protocol. Length is the label after IDNA/UTS46 conversion to ASCII, excluding the registrar - not the character count. */\n nameClaimFees: bigint[];\n /** AENS auction bid timeout and extension in key blocks by name length; a zero timeout means no auction */\n nameAuctionTimeouts: NameAuctionTimeout[];\n /** Minimum percentage a new AENS auction bid must exceed the previous bid by */\n nameClaimBidIncrement: number;\n /** The longest name that triggers an AENS auction, measured as for the name_claim_fees index */\n nameMaxLengthStartingAuction: number;\n /** Maximum name TTL in key blocks for NameUpdateTx */\n nameClaimMaxExpiration: number;\n /** Valid AENS name registrars */\n nameRegistrars: string[];\n /** Maximum number of pointers in NameUpdateTx; the field is absent when the protocol imposes no limit */\n namePointersMaxCount?: number;\n /** Maximum byte size of a pointer key in NameUpdateTx; the field is absent when the protocol imposes no limit */\n namePointerMaxKeySize?: number;\n /** Number of key blocks after which an AENS preclaim expires */\n namePreclaimExpiration: number;\n /** Minimum number of key blocks between preclaim and claim */\n nameClaimPreclaimDelta: number;\n /** Number of key blocks an expired name stays protected before it can be claimed again */\n nameProtectionPeriod: number;\n /** Locked fee in aettos, as a decimal string, for a name claim when the name fee is not enforced */\n nameClaimLockedFee: bigint;\n /** VM/ABI version combinations valid for ContractCreateTx at this protocol */\n allowedContractVersions: ContractVersion[];\n /** ABI versions valid for OracleRegisterTx at this protocol */\n allowedOracleAbiVersions: number[];\n}\n\nexport interface CreateContractUnsignedTx extends EncodedTx {\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n}\n\nexport interface SpendTx extends SpendTxInput {}\n\n/** Defines headers for Node_getAccountByPubkey operation. */\nexport interface NodeGetAccountByPubkeyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getAccountByPubkeyAndHash operation. */\nexport interface NodeGetAccountByPubkeyAndHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getAccountByPubkeyAndHeight operation. */\nexport interface NodeGetAccountByPubkeyAndHeightExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getAccountNextNonce operation. */\nexport interface NodeGetAccountNextNonceExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getPendingAccountTransactionsByPubkey operation. */\nexport interface NodeGetPendingAccountTransactionsByPubkeyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getAuctionEntryByName operation. */\nexport interface NodeGetAuctionEntryByNameExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getChannelByPubkey operation. */\nexport interface NodeGetChannelByPubkeyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getContract operation. */\nexport interface NodeGetContractExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getContractCode operation. */\nexport interface NodeGetContractCodeExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getContractPoI operation. */\nexport interface NodeGetContractPoIExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getCurrency operation. */\nexport interface NodeGetCurrencyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_protectedDryRunTxs operation. */\nexport interface NodeProtectedDryRunTxsExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getCurrentGeneration operation. */\nexport interface NodeGetCurrentGenerationExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getGenerationByHash operation. */\nexport interface NodeGetGenerationByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getGenerationByHeight operation. */\nexport interface NodeGetGenerationByHeightExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getTopHeader operation. */\nexport interface NodeGetTopHeaderExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getPinningTx operation. */\nexport interface NodeGetPinningTxExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getHyperchainContractPubkeys operation. */\nexport interface NodeGetHyperchainContractPubkeysExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getCurrentKeyBlock operation. */\nexport interface NodeGetCurrentKeyBlockExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getCurrentKeyBlockHash operation. */\nexport interface NodeGetCurrentKeyBlockHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getCurrentKeyBlockHeight operation. */\nexport interface NodeGetCurrentKeyBlockHeightExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getKeyBlockByHash operation. */\nexport interface NodeGetKeyBlockByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getKeyBlockByHeight operation. */\nexport interface NodeGetKeyBlockByHeightExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getPendingKeyBlock operation. */\nexport interface NodeGetPendingKeyBlockExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getMicroBlockHeaderByHash operation. */\nexport interface NodeGetMicroBlockHeaderByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getMicroBlockTransactionsByHash operation. */\nexport interface NodeGetMicroBlockTransactionsByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getMicroBlockTransactionsCountByHash operation. */\nexport interface NodeGetMicroBlockTransactionsCountByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getMicroBlockTransactionByHashAndIndex operation. */\nexport interface NodeGetMicroBlockTransactionByHashAndIndexExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getNameEntryByName operation. */\nexport interface NodeGetNameEntryByNameExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getNameEntryByNameHash operation. */\nexport interface NodeGetNameEntryByNameHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getOracleByPubkey operation. */\nexport interface NodeGetOracleByPubkeyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getOracleQueriesByPubkey operation. */\nexport interface NodeGetOracleQueriesByPubkeyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getOracleQueryByPubkeyAndQueryId operation. */\nexport interface NodeGetOracleQueryByPubkeyAndQueryIdExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getPeerPubkey operation. */\nexport interface NodeGetPeerPubkeyExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getRecentGasPrices operation. */\nexport interface NodeGetRecentGasPricesExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getNodeSettings operation. */\nexport interface NodeGetNodeSettingsExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getProtocolParameters operation. */\nexport interface NodeGetProtocolParametersExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getStatus operation. */\nexport interface NodeGetStatusExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getChainEnds operation. */\nexport interface NodeGetChainEndsExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getSyncStatus operation. */\nexport interface NodeGetSyncStatusExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_postTransaction operation. */\nexport interface NodePostTransactionExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getTransactionByHash operation. */\nexport interface NodeGetTransactionByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines headers for Node_getTransactionInfoByHash operation. */\nexport interface NodeGetTransactionInfoByHashExceptionHeaders {\n /** Number of seconds to wait before retrying the request */\n retryAfter?: number;\n}\n\n/** Defines values for AccountKind. */\nexport type AccountKind = \"basic\" | \"generalized\";\n/** Defines values for Enum1. */\nexport type Enum1 = \"max\" | \"continuity\";\n/** Defines values for TTLType. */\nexport type TTLType = \"delta\" | \"block\";\n/** Defines values for TxType. */\nexport type TxType =\n | \"SpendTx\"\n | \"ChannelCreateTx\"\n | \"ChannelDepositTx\"\n | \"ChannelWithdrawTx\"\n | \"ChannelForceProgressTx\"\n | \"ChannelCloseMutualTx\"\n | \"ChannelCloseSoloTx\"\n | \"ChannelSlashTx\"\n | \"ChannelSettleTx\"\n | \"ChannelSnapshotSoloTx\"\n | \"ChannelSetDelegatesTx\"\n | \"OracleRegisterTx\"\n | \"OracleExtendTx\"\n | \"OracleQueryTx\"\n | \"OracleRespondTx\"\n | \"NamePreclaimTx\"\n | \"NameClaimTx\"\n | \"NameUpdateTx\"\n | \"NameTransferTx\"\n | \"NameRevokeTx\"\n | \"ContractCreateTx\"\n | \"ContractCallTx\"\n | \"GAAttachTx\"\n | \"GAMetaTx\"\n | \"PayingForTx\";\n/** Defines values for ContractCallObjectReturnType. */\nexport type ContractCallObjectReturnType = \"ok\" | \"error\" | \"revert\";\n/** Defines values for Enum5. */\nexport type Enum5 = \"open\" | \"closed\" | \"all\";\n/** Defines values for GAObjectReturnType. */\nexport type GAObjectReturnType = \"ok\" | \"error\";\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkey operation. */\nexport type GetAccountByPubkeyResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHash operation. */\nexport type GetAccountByPubkeyAndHashResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHeight operation. */\nexport type GetAccountByPubkeyAndHeightResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountNextNonceOptionalParams\n extends coreClient.OperationOptions {\n /** What strategy to use in order to determine the next nonce: shall it check for continuity or return the largest nonce seen + 1. If you choose strategy max, then the greatest nonce seen in the account or currently in the transaction pool is incremented with 1 and returned. If you choose the strategy continuity, then transactions in the mempool are checked if there are gaps - missing nonces that prevent transactions with greater nonces to get included. */\n strategy?: Enum1;\n}\n\n/** Contains response data for the getAccountNextNonce operation. */\nexport type GetAccountNextNonceResponse = NextNonceResponse;\n\n/** Optional parameters. */\nexport interface GetPendingAccountTransactionsByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingAccountTransactionsByPubkey operation. */\nexport type GetPendingAccountTransactionsByPubkeyResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetAuctionEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAuctionEntryByName operation. */\nexport type GetAuctionEntryByNameResponse = AuctionEntry;\n\n/** Optional parameters. */\nexport interface GetChannelByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChannelByPubkey operation. */\nexport type GetChannelByPubkeyResponse = Channel;\n\n/** Optional parameters. */\nexport interface GetContractOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContract operation. */\nexport type GetContractResponse = ContractObject;\n\n/** Optional parameters. */\nexport interface GetContractCodeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractCode operation. */\nexport type GetContractCodeResponse = ByteCode;\n\n/** Optional parameters. */\nexport interface GetContractPoIOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractPoI operation. */\nexport type GetContractPoIResponse = PoI;\n\n/** Optional parameters. */\nexport interface GetCurrencyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrency operation. */\nexport type GetCurrencyResponse = Currency;\n\n/** Optional parameters. */\nexport interface ProtectedDryRunTxsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the protectedDryRunTxs operation. */\nexport type ProtectedDryRunTxsResponse = DryRunResults;\n\n/** Optional parameters. */\nexport interface GetCurrentGenerationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentGeneration operation. */\nexport type GetCurrentGenerationResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHash operation. */\nexport type GetGenerationByHashResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHeight operation. */\nexport type GetGenerationByHeightResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetTopHeaderOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTopHeader operation. */\nexport type GetTopHeaderResponse = Header;\n\n/** Optional parameters. */\nexport interface GetPinningTxOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPinningTx operation. */\nexport type GetPinningTxResponse = PinningTx;\n\n/** Optional parameters. */\nexport interface GetHyperchainContractPubkeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getHyperchainContractPubkeys operation. */\nexport type GetHyperchainContractPubkeysResponse = HCContractPubkeys;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlock operation. */\nexport type GetCurrentKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHash operation. */\nexport type GetCurrentKeyBlockHashResponse = HashResponse;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHeight operation. */\nexport type GetCurrentKeyBlockHeightResponse = HeightResponse;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHash operation. */\nexport type GetKeyBlockByHashResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHeight operation. */\nexport type GetKeyBlockByHeightResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetPendingKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingKeyBlock operation. */\nexport type GetPendingKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetMicroBlockHeaderByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockHeaderByHash operation. */\nexport type GetMicroBlockHeaderByHashResponse = MicroBlockHeader;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsByHash operation. */\nexport type GetMicroBlockTransactionsByHashResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsCountByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsCountByHash operation. */\nexport type GetMicroBlockTransactionsCountByHashResponse = CountResponse;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionByHashAndIndexOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionByHashAndIndex operation. */\nexport type GetMicroBlockTransactionByHashAndIndexResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetNameEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNameEntryByName operation. */\nexport type GetNameEntryByNameResponse = NameEntry;\n\n/** Optional parameters. */\nexport interface GetNameEntryByNameHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNameEntryByNameHash operation. */\nexport type GetNameEntryByNameHashResponse = NameEntry;\n\n/** Optional parameters. */\nexport interface GetOracleByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleByPubkey operation. */\nexport type GetOracleByPubkeyResponse = RegisteredOracle;\n\n/** Optional parameters. */\nexport interface GetOracleQueriesByPubkeyOptionalParams\n extends coreClient.OperationOptions {\n /** Last query id in previous page */\n from?: string;\n /** Max number of oracle queries */\n limit?: number;\n /** The type of a query: open, closed or all */\n type?: Enum5;\n}\n\n/** Contains response data for the getOracleQueriesByPubkey operation. */\nexport type GetOracleQueriesByPubkeyResponse = OracleQueries;\n\n/** Optional parameters. */\nexport interface GetOracleQueryByPubkeyAndQueryIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleQueryByPubkeyAndQueryId operation. */\nexport type GetOracleQueryByPubkeyAndQueryIdResponse = OracleQuery;\n\n/** Optional parameters. */\nexport interface GetPeerPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPeerPubkey operation. */\nexport type GetPeerPubkeyResponse = PeerPubKey;\n\n/** Optional parameters. */\nexport interface GetRecentGasPricesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getRecentGasPrices operation. */\nexport type GetRecentGasPricesResponse = GasPricesItem[];\n\n/** Optional parameters. */\nexport interface GetNodeSettingsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNodeSettings operation. */\nexport type GetNodeSettingsResponse = NodeSettings;\n\n/** Optional parameters. */\nexport interface GetProtocolParametersOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getProtocolParameters operation. */\nexport type GetProtocolParametersResponse = ProtocolParameters;\n\n/** Optional parameters. */\nexport interface GetStatusOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the getStatus operation. */\nexport type GetStatusResponse = Status;\n\n/** Optional parameters. */\nexport interface GetChainEndsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChainEnds operation. */\nexport type GetChainEndsResponse = {\n /** The parsed response body. */\n body: string[];\n};\n\n/** Optional parameters. */\nexport interface GetSyncStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSyncStatus operation. */\nexport type GetSyncStatusResponse = SyncStatus;\n\n/** Optional parameters. */\nexport interface PostTransactionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the postTransaction operation. */\nexport type PostTransactionResponse = PostTxResponse;\n\n/** Optional parameters. */\nexport interface GetTransactionByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionByHash operation. */\nexport type GetTransactionByHashResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetTransactionInfoByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionInfoByHash operation. */\nexport type GetTransactionInfoByHashResponse = TxInfoObject;\n\n/** Optional parameters. */\nexport interface NodeOptionalParams extends coreClient.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -36,14 +36,19 @@ export declare const HeightResponse: coreClient.CompositeMapper;
36
36
  export declare const MicroBlockHeader: coreClient.CompositeMapper;
37
37
  export declare const CountResponse: coreClient.CompositeMapper;
38
38
  export declare const NameEntry: coreClient.CompositeMapper;
39
- export declare const NamePointerComplete: coreClient.CompositeMapper;
40
39
  export declare const RegisteredOracle: coreClient.CompositeMapper;
41
40
  export declare const OracleQueries: coreClient.CompositeMapper;
42
41
  export declare const OracleQuery: coreClient.CompositeMapper;
43
42
  export declare const PeerPubKey: coreClient.CompositeMapper;
44
43
  export declare const GasPricesItem: coreClient.CompositeMapper;
45
- export declare const Status: coreClient.CompositeMapper;
44
+ export declare const NodeSettings: coreClient.CompositeMapper;
45
+ export declare const ProtocolParameters: coreClient.CompositeMapper;
46
+ export declare const ContractTxBaseGas: coreClient.CompositeMapper;
47
+ export declare const StateGasPerBlock: coreClient.CompositeMapper;
48
+ export declare const NameAuctionTimeout: coreClient.CompositeMapper;
49
+ export declare const ContractVersion: coreClient.CompositeMapper;
46
50
  export declare const Protocol: coreClient.CompositeMapper;
51
+ export declare const Status: coreClient.CompositeMapper;
47
52
  export declare const PeerConnections: coreClient.CompositeMapper;
48
53
  export declare const SyncStatus: coreClient.CompositeMapper;
49
54
  export declare const EncodedTx: coreClient.CompositeMapper;
@@ -64,7 +69,6 @@ export declare const CheckTxInPoolResponse: coreClient.CompositeMapper;
64
69
  export declare const CommitmentId: coreClient.CompositeMapper;
65
70
  export declare const ContractCallTx: coreClient.CompositeMapper;
66
71
  export declare const ContractCreateTx: coreClient.CompositeMapper;
67
- export declare const UnsignedTx: coreClient.CompositeMapper;
68
72
  export declare const GAAttachTx: coreClient.CompositeMapper;
69
73
  export declare const GAMetaTx: coreClient.CompositeMapper;
70
74
  export declare const NameClaimTx: coreClient.CompositeMapper;
@@ -84,14 +88,60 @@ export declare const PeerCountConnected: coreClient.CompositeMapper;
84
88
  export declare const PeerCountAvailable: coreClient.CompositeMapper;
85
89
  export declare const Peers: coreClient.CompositeMapper;
86
90
  export declare const PubKey: coreClient.CompositeMapper;
87
- export declare const SpendTx: coreClient.CompositeMapper;
91
+ export declare const SpendTxInput: coreClient.CompositeMapper;
88
92
  export declare const TokenSupply: coreClient.CompositeMapper;
89
93
  export declare const OffChainCallContract: coreClient.CompositeMapper;
90
94
  export declare const OffChainDeposit: coreClient.CompositeMapper;
91
95
  export declare const OffChainNewContract: coreClient.CompositeMapper;
92
96
  export declare const OffChainTransfer: coreClient.CompositeMapper;
93
97
  export declare const OffChainWithdrawal: coreClient.CompositeMapper;
98
+ export declare const NameEntryPointersItem: coreClient.CompositeMapper;
99
+ export declare const ProtocolConsensusParameters: coreClient.CompositeMapper;
94
100
  export declare const CreateContractUnsignedTx: coreClient.CompositeMapper;
101
+ export declare const SpendTx: coreClient.CompositeMapper;
102
+ export declare const NodeGetAccountByPubkeyExceptionHeaders: coreClient.CompositeMapper;
103
+ export declare const NodeGetAccountByPubkeyAndHashExceptionHeaders: coreClient.CompositeMapper;
104
+ export declare const NodeGetAccountByPubkeyAndHeightExceptionHeaders: coreClient.CompositeMapper;
105
+ export declare const NodeGetAccountNextNonceExceptionHeaders: coreClient.CompositeMapper;
106
+ export declare const NodeGetPendingAccountTransactionsByPubkeyExceptionHeaders: coreClient.CompositeMapper;
107
+ export declare const NodeGetAuctionEntryByNameExceptionHeaders: coreClient.CompositeMapper;
108
+ export declare const NodeGetChannelByPubkeyExceptionHeaders: coreClient.CompositeMapper;
109
+ export declare const NodeGetContractExceptionHeaders: coreClient.CompositeMapper;
110
+ export declare const NodeGetContractCodeExceptionHeaders: coreClient.CompositeMapper;
111
+ export declare const NodeGetContractPoIExceptionHeaders: coreClient.CompositeMapper;
112
+ export declare const NodeGetCurrencyExceptionHeaders: coreClient.CompositeMapper;
113
+ export declare const NodeProtectedDryRunTxsExceptionHeaders: coreClient.CompositeMapper;
114
+ export declare const NodeGetCurrentGenerationExceptionHeaders: coreClient.CompositeMapper;
115
+ export declare const NodeGetGenerationByHashExceptionHeaders: coreClient.CompositeMapper;
116
+ export declare const NodeGetGenerationByHeightExceptionHeaders: coreClient.CompositeMapper;
117
+ export declare const NodeGetTopHeaderExceptionHeaders: coreClient.CompositeMapper;
118
+ export declare const NodeGetPinningTxExceptionHeaders: coreClient.CompositeMapper;
119
+ export declare const NodeGetHyperchainContractPubkeysExceptionHeaders: coreClient.CompositeMapper;
120
+ export declare const NodeGetCurrentKeyBlockExceptionHeaders: coreClient.CompositeMapper;
121
+ export declare const NodeGetCurrentKeyBlockHashExceptionHeaders: coreClient.CompositeMapper;
122
+ export declare const NodeGetCurrentKeyBlockHeightExceptionHeaders: coreClient.CompositeMapper;
123
+ export declare const NodeGetKeyBlockByHashExceptionHeaders: coreClient.CompositeMapper;
124
+ export declare const NodeGetKeyBlockByHeightExceptionHeaders: coreClient.CompositeMapper;
125
+ export declare const NodeGetPendingKeyBlockExceptionHeaders: coreClient.CompositeMapper;
126
+ export declare const NodeGetMicroBlockHeaderByHashExceptionHeaders: coreClient.CompositeMapper;
127
+ export declare const NodeGetMicroBlockTransactionsByHashExceptionHeaders: coreClient.CompositeMapper;
128
+ export declare const NodeGetMicroBlockTransactionsCountByHashExceptionHeaders: coreClient.CompositeMapper;
129
+ export declare const NodeGetMicroBlockTransactionByHashAndIndexExceptionHeaders: coreClient.CompositeMapper;
130
+ export declare const NodeGetNameEntryByNameExceptionHeaders: coreClient.CompositeMapper;
131
+ export declare const NodeGetNameEntryByNameHashExceptionHeaders: coreClient.CompositeMapper;
132
+ export declare const NodeGetOracleByPubkeyExceptionHeaders: coreClient.CompositeMapper;
133
+ export declare const NodeGetOracleQueriesByPubkeyExceptionHeaders: coreClient.CompositeMapper;
134
+ export declare const NodeGetOracleQueryByPubkeyAndQueryIdExceptionHeaders: coreClient.CompositeMapper;
135
+ export declare const NodeGetPeerPubkeyExceptionHeaders: coreClient.CompositeMapper;
136
+ export declare const NodeGetRecentGasPricesExceptionHeaders: coreClient.CompositeMapper;
137
+ export declare const NodeGetNodeSettingsExceptionHeaders: coreClient.CompositeMapper;
138
+ export declare const NodeGetProtocolParametersExceptionHeaders: coreClient.CompositeMapper;
139
+ export declare const NodeGetStatusExceptionHeaders: coreClient.CompositeMapper;
140
+ export declare const NodeGetChainEndsExceptionHeaders: coreClient.CompositeMapper;
141
+ export declare const NodeGetSyncStatusExceptionHeaders: coreClient.CompositeMapper;
142
+ export declare const NodePostTransactionExceptionHeaders: coreClient.CompositeMapper;
143
+ export declare const NodeGetTransactionByHashExceptionHeaders: coreClient.CompositeMapper;
144
+ export declare const NodeGetTransactionInfoByHashExceptionHeaders: coreClient.CompositeMapper;
95
145
  export declare let discriminators: {
96
146
  OffChainUpdate: coreClient.CompositeMapper;
97
147
  "OffChainUpdate.OffChainCallContract": coreClient.CompositeMapper;