@tari-project/ootle-ts-bindings 1.34.0 → 1.34.2

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 (50) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/types/Blob.d.ts +6 -4
  4. package/dist/types/BlobHashes.d.ts +5 -0
  5. package/dist/types/Blobs.d.ts +2 -2
  6. package/dist/types/BlockHeader.d.ts +2 -2
  7. package/dist/types/ForeignProposalAtom.d.ts +2 -1
  8. package/dist/types/ForeignProposalAtom.js +0 -1
  9. package/dist/types/InstructionArg.d.ts +2 -3
  10. package/dist/types/LeaderFee.d.ts +2 -2
  11. package/dist/types/PrunedTransaction.d.ts +3 -0
  12. package/dist/types/PrunedTransactionV1.d.ts +5 -3
  13. package/dist/types/PrunedUnsignedTransactionV1.d.ts +5 -4
  14. package/dist/types/TransactionAtom.d.ts +1 -1
  15. package/dist/types/TransactionPoolRecord.d.ts +1 -1
  16. package/dist/types/UnsignedTransactionV1.d.ts +4 -2
  17. package/dist/types/UnspentOutput.d.ts +1 -1
  18. package/dist/types/WalletTransaction.d.ts +3 -2
  19. package/dist/types/tari-indexer-client/GetNonFungiblesRequest.d.ts +2 -2
  20. package/dist/types/tari-indexer-client/IndexerConnection.d.ts +0 -1
  21. package/dist/types/tari-indexer-client/IndexerGetEpochManagerStatsResponse.d.ts +1 -1
  22. package/dist/types/tari-indexer-client/TransactionEntry.d.ts +2 -1
  23. package/dist/types/validator-node-client/GetBlocksCountResponse.d.ts +1 -1
  24. package/dist/types/validator-node-client/GetEpochManagerStatsResponse.d.ts +1 -1
  25. package/dist/types/validator-node-client/VNCommitteeShardInfo.d.ts +2 -1
  26. package/dist/types/validator-node-client/VNLogEntry.d.ts +1 -1
  27. package/dist/types/wallet-types/AccountsCreateFreeTestCoinsRequest.d.ts +1 -1
  28. package/dist/types/wallet-types/AccountsCreateFreeTestCoinsResponse.d.ts +1 -1
  29. package/dist/types/wallet-types/AccountsListResponse.d.ts +1 -1
  30. package/dist/types/wallet-types/AccountsTransferRequest.d.ts +1 -1
  31. package/dist/types/wallet-types/CallInstructionRequest.d.ts +1 -2
  32. package/dist/types/wallet-types/ClaimBurnRequest.d.ts +1 -1
  33. package/dist/types/wallet-types/ClaimValidatorFeesRequest.d.ts +1 -1
  34. package/dist/types/wallet-types/ClaimValidatorFeesResponse.d.ts +1 -1
  35. package/dist/types/wallet-types/ConfidentialTransferRequest.d.ts +1 -1
  36. package/dist/types/wallet-types/ConfidentialViewVaultBalanceRequest.d.ts +1 -1
  37. package/dist/types/wallet-types/FeePoolDetails.d.ts +1 -1
  38. package/dist/types/wallet-types/KeysCreateResponse.d.ts +1 -1
  39. package/dist/types/wallet-types/KeysSetActiveRequest.d.ts +1 -1
  40. package/dist/types/wallet-types/MintFaucetNftRequest.d.ts +1 -1
  41. package/dist/types/wallet-types/PublishTemplateRequest.d.ts +1 -1
  42. package/dist/types/wallet-types/StealthTransferRequest.d.ts +1 -1
  43. package/dist/types/wallet-types/TemplatesListAuthoredResponse.d.ts +1 -1
  44. package/dist/types/wallet-types/TransactionGetResponse.d.ts +2 -2
  45. package/dist/types/wallet-types/TransactionSubmitDryRunResponse.d.ts +1 -1
  46. package/dist/types/wallet-types/TransactionSubmitManifestRequest.d.ts +3 -3
  47. package/dist/types/wallet-types/TransactionWaitResultResponse.d.ts +1 -1
  48. package/dist/types/wallet-types/TransferNftRequest.d.ts +1 -1
  49. package/dist/types/wallet-types/TransferNftResponse.d.ts +2 -2
  50. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ export * from "./types/ArgDef";
10
10
  export * from "./types/Assertion";
11
11
  export * from "./types/AuthHook";
12
12
  export * from "./types/BlobHashes";
13
- export * from "./types/Blob";
14
13
  export * from "./types/Blobs";
14
+ export * from "./types/Blob";
15
15
  export * from "./types/BlockHeader";
16
16
  export * from "./types/BlockId";
17
17
  export * from "./types/Block";
package/dist/index.js CHANGED
@@ -12,8 +12,8 @@ export * from "./types/ArgDef";
12
12
  export * from "./types/Assertion";
13
13
  export * from "./types/AuthHook";
14
14
  export * from "./types/BlobHashes";
15
- export * from "./types/Blob";
16
15
  export * from "./types/Blobs";
16
+ export * from "./types/Blob";
17
17
  export * from "./types/BlockHeader";
18
18
  export * from "./types/BlockId";
19
19
  export * from "./types/Block";
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * An opaque, content-addressed payload referenced from a transaction's instructions by index.
3
3
  *
4
- * Blobs are the prunable side-channel of a transaction: only their per-blob hashes participate
5
- * in the signing domain, so blob payloads can be dropped post-finalization without affecting
6
- * signature verifiability or the transaction id.
4
+ * Blobs are the prunable side-channel of a transaction: the bytes themselves are not bound
5
+ * directly into the signing domain only their per-blob hashes are. Once a transaction has
6
+ * been finalized and its retention window has elapsed, blob payloads can be discarded without
7
+ * affecting the transaction id or signature verifiability.
7
8
  *
8
- * JSON encoding is base64.
9
+ * JSON encoding is base64 (matches `PublishTemplate` binary today). Borsh and CBOR use the
10
+ * `Bytes` byte-array form.
9
11
  */
10
12
  export type Blob = string;
@@ -2,5 +2,10 @@ import type { Hash32 } from "./Hash32";
2
2
  /**
3
3
  * A typed collection of per-blob commitments — the prunable surrogate of `Blobs` in the
4
4
  * signing domain.
5
+ *
6
+ * The only public way to obtain a non-default `BlobHashes` is via `Blobs::hashes()`. There is
7
+ * no `from_raw` constructor: anywhere a `BlobHashes` appears, it either originated from
8
+ * hashing real blobs or arrived via deserialization of bytes previously written by this
9
+ * crate's storage layer (and is bound by a signature, so tampering is detectable).
5
10
  */
6
11
  export type BlobHashes = Array<Hash32>;
@@ -1,6 +1,6 @@
1
1
  import type { Blob } from "./Blob";
2
2
  /**
3
- * Ordered collection of blobs carried by a transaction. Index 0 is the first blob, etc.
4
- * Instructions and arguments reference blobs by `BlobIndex` (number) into this list.
3
+ * Ordered collection of `Blob`s carried by a transaction. Index 0 corresponds to the first
4
+ * blob, etc. Instructions and arguments reference blobs by `BlobIndex` into this list.
5
5
  */
6
6
  export type Blobs = Array<Blob>;
@@ -41,7 +41,7 @@ export type BlockHeader = {
41
41
  /**
42
42
  * The total leader fee for this block. This should match the sum of the leader fees in the block's body.
43
43
  */
44
- total_leader_fee: number;
44
+ total_leader_fee: bigint;
45
45
  /**
46
46
  * A Merkle root hash committing to all state after this block has been applied.
47
47
  */
@@ -58,7 +58,7 @@ export type BlockHeader = {
58
58
  * The Unix Epoch timestamp indicating the creation time of the block. Currently, this can be chosen arbitrarily
59
59
  * and is only informational/used for metrics.
60
60
  */
61
- timestamp: number;
61
+ timestamp: bigint;
62
62
  /**
63
63
  * The epoch hash is a hash given by the epoch oracle. E.g. the base layer epoch oracle gives the first block hash
64
64
  * of the epoch.
@@ -1,4 +1,5 @@
1
+ import type { ShardGroup } from "./ShardGroup";
1
2
  export type ForeignProposalAtom = {
2
3
  block_id: string;
3
- shard_group: number;
4
+ shard_group: ShardGroup;
4
5
  };
@@ -1,2 +1 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
1
  export {};
@@ -1,8 +1,7 @@
1
1
  import type { WorkspaceOffsetId } from "./WorkspaceOffsetId";
2
2
  /**
3
- * Represents an argument that can be passed to a transaction instruction. Either a literal
4
- * value, a reference to an item on the runtime's workspace, or a reference to a transaction
5
- * blob by index. Use `Blob` for large/opaque data; prefer `Literal` for small values.
3
+ * Represents an argument that can be passed to a transaction instruction. Either a literal value or a reference to a
4
+ * item on the runtime's workspace, or a reference to a transaction blob by index.
6
5
  */
7
6
  export type InstructionArg = {
8
7
  Workspace: WorkspaceOffsetId;
@@ -1,4 +1,4 @@
1
1
  export type LeaderFee = {
2
- fee: number;
3
- exhaust_burn: number;
2
+ fee: bigint;
3
+ exhaust_burn: bigint;
4
4
  };
@@ -3,6 +3,9 @@ import type { PrunedTransactionV1 } from "./PrunedTransactionV1";
3
3
  * Pruned, archive-only counterpart of `Transaction`. Carries blob commitments instead of
4
4
  * blob payloads, so API responses can omit the raw bytes while preserving the `TransactionId`,
5
5
  * signature verifiability, and the structural shape the UI needs to display.
6
+ *
7
+ * Constructed only via `From<Transaction>` (which derives commitments from the full blobs and
8
+ * drops the payloads) or via deserialization of bytes previously written by the storage layer.
6
9
  */
7
10
  export type PrunedTransaction = {
8
11
  V1: PrunedTransactionV1;
@@ -1,9 +1,11 @@
1
1
  import type { PrunedUnsealedTransactionV1 } from "./PrunedUnsealedTransactionV1";
2
2
  import type { TransactionSealSignature } from "./TransactionSealSignature";
3
3
  /**
4
- * Pruned, archive-only counterpart of `TransactionV1`. Carries blob commitments instead of
5
- * blob payloads. Produces the same `TransactionId` and verifies the same signatures as the
6
- * full form.
4
+ * Pruned, archive-only counterpart of `TransactionV1`.
5
+ *
6
+ * Constructed only via `From<TransactionV1>` (which derives blob commitments from the full
7
+ * blobs and drops the payloads) or via deserialization of bytes previously written by the
8
+ * storage layer.
7
9
  */
8
10
  export type PrunedTransactionV1 = {
9
11
  body: PrunedUnsealedTransactionV1;
@@ -18,13 +18,14 @@ export type PrunedUnsignedTransactionV1 = {
18
18
  is_seal_signer_authorized: boolean;
19
19
  dry_run: boolean;
20
20
  /**
21
- * Per-blob commitments. Mirrors `UnsignedTransactionV1.blobs.hashes()` of the full form.
21
+ * Per-blob commitments. Mirrors `UnsignedTransactionV1::blobs.hashes()` of the full form.
22
22
  */
23
23
  blob_hashes: BlobHashes;
24
24
  /**
25
- * Byte size of each blob, parallel to `blob_hashes`. Not part of the signing/id digest;
26
- * populated at conversion time so UIs can display blob sizes without downloading payloads.
27
- * May be empty when deserialised from older archives that didn't record sizes.
25
+ * Byte size of each blob, parallel to `blob_hashes`. **Not part of the signing/id domain**
26
+ * populated at conversion time from `Blobs` so that API consumers and UIs can show
27
+ * blob sizes without downloading payloads. May be empty when deserialised from older
28
+ * archives that didn't record sizes.
28
29
  */
29
30
  blob_sizes: Array<number>;
30
31
  };
@@ -5,6 +5,6 @@ export type TransactionAtom = {
5
5
  id: string;
6
6
  decision: Decision;
7
7
  evidence: Evidence;
8
- transaction_fee: number;
8
+ transaction_fee: bigint;
9
9
  leader_fee: LeaderFee | null;
10
10
  };
@@ -9,7 +9,7 @@ export type TransactionPoolRecord = {
9
9
  transaction_id: string;
10
10
  evidence: Evidence;
11
11
  is_global: boolean;
12
- transaction_fee: number;
12
+ transaction_fee: bigint;
13
13
  leader_fee: LeaderFee | null;
14
14
  stage: TransactionPoolStage;
15
15
  pending_stage: TransactionPoolStage | null;
@@ -15,8 +15,10 @@ export type UnsignedTransactionV1 = {
15
15
  is_seal_signer_authorized: boolean;
16
16
  dry_run: boolean;
17
17
  /**
18
- * Prunable side-channel of opaque payloads referenced by instructions via BlobIndex.
19
- * Only the per-blob commitments participate in the signing domain.
18
+ * Prunable side-channel of opaque payloads referenced by instructions via `BlobIndex`.
19
+ * Only the per-blob commitments (`blobs.hashes()`) participate in the signing domain
20
+ * raw blob bytes are excluded so that storage layers can drop them without affecting
21
+ * signature verifiability or transaction id.
20
22
  */
21
23
  blobs: Blobs;
22
24
  };
@@ -23,7 +23,7 @@ export type UnspentOutput = {
23
23
  * Encrypted mask and value for the recipient.
24
24
  */
25
25
  encrypted_data: EncryptedData;
26
- minimum_value_promise: number;
26
+ minimum_value_promise: bigint;
27
27
  /**
28
28
  * If the view key is enabled for a given resource, this proof MUST be provided, otherwise it MUST NOT.
29
29
  */
@@ -6,8 +6,9 @@ import type { NewAccountData } from "./wallet-types/NewAccountData";
6
6
  export type WalletTransaction = {
7
7
  id: string;
8
8
  /**
9
- * Pruned transaction blob commitments are present but raw blob payloads are omitted to
10
- * keep API responses small.
9
+ * The transaction in its pruned (blob-bytes-stripped) form. Blob commitments are retained
10
+ * so the `TransactionId` and signatures remain verifiable. Wallet daemon storage keeps the
11
+ * full form on disk for re-submission, but the public API returns this slimmer view.
11
12
  */
12
13
  transaction: PrunedTransaction;
13
14
  status: TransactionStatus;
@@ -1,6 +1,6 @@
1
1
  import type { ResourceAddress } from "../ResourceAddress";
2
2
  export type GetNonFungiblesRequest = {
3
3
  address: ResourceAddress;
4
- start_index: number;
5
- end_index: number;
4
+ start_index: bigint;
5
+ end_index: bigint;
6
6
  };
@@ -2,7 +2,6 @@ import type { IndexerConnectionDirection } from "./IndexerConnectionDirection";
2
2
  export type IndexerConnection = {
3
3
  connection_id: string;
4
4
  peer_id: string;
5
- address: string;
6
5
  direction: IndexerConnectionDirection;
7
6
  age: {
8
7
  secs: number;
@@ -5,6 +5,6 @@ export type IndexerGetEpochManagerStatsResponse = {
5
5
  * The current epoch according to the indexer's epoch oracle view
6
6
  */
7
7
  current_epoch: Epoch;
8
- current_block_height: number;
8
+ current_block_height: bigint;
9
9
  current_block_hash: Hash32;
10
10
  };
@@ -3,7 +3,8 @@ import type { TransactionId } from "../TransactionId";
3
3
  export type TransactionEntry = {
4
4
  transaction_id: TransactionId;
5
5
  /**
6
- * Pruned transaction — blob commitments retained, raw blob bytes omitted.
6
+ * Pruned transaction — blob commitments retained, raw blob bytes omitted to keep the
7
+ * response size bounded. The transaction id and signatures remain verifiable.
7
8
  */
8
9
  transaction: PrunedTransaction;
9
10
  created_at: string;
@@ -1,3 +1,3 @@
1
1
  export type GetBlocksCountResponse = {
2
- count: number;
2
+ count: bigint;
3
3
  };
@@ -2,7 +2,7 @@ import type { CommitteeInfo } from "../CommitteeInfo";
2
2
  import type { Epoch } from "../Epoch";
3
3
  export type GetEpochManagerStatsResponse = {
4
4
  current_epoch: Epoch;
5
- current_block_height: number;
5
+ current_block_height: bigint;
6
6
  current_block_hash: string;
7
7
  is_valid: boolean;
8
8
  is_initial_scanning_complete: boolean;
@@ -1,7 +1,8 @@
1
+ import type { Shard } from "../Shard";
1
2
  import type { SubstateAddress } from "../SubstateAddress";
2
3
  import type { ValidatorNode } from "./ValidatorNode";
3
4
  export type VNCommitteeShardInfo = {
4
- shard: number;
5
+ shard: Shard;
5
6
  substate_address_range: {
6
7
  start: SubstateAddress;
7
8
  end: SubstateAddress;
@@ -1,6 +1,6 @@
1
1
  import type { VNLogLevel } from "./VNLogLevel";
2
2
  export type VNLogEntry = {
3
- timestamp: number;
3
+ timestamp: bigint;
4
4
  message: string;
5
5
  level: VNLogLevel;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import type { ComponentAddressOrName } from "./ComponentAddressOrName";
2
2
  export type AccountsCreateFreeTestCoinsRequest = {
3
3
  account: ComponentAddressOrName;
4
- max_fee: number | null;
4
+ max_fee: bigint;
5
5
  };
@@ -7,7 +7,7 @@ export type AccountsCreateFreeTestCoinsResponse = {
7
7
  account: Account;
8
8
  transaction_id: TransactionId;
9
9
  amount: Amount;
10
- fee: number;
10
+ fee: bigint;
11
11
  result: FinalizeResult;
12
12
  address: OotleAddress;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  import type { AccountInfo } from "./AccountInfo";
2
2
  export type AccountsListResponse = {
3
3
  accounts: Array<AccountInfo>;
4
- total: number;
4
+ total: bigint;
5
5
  };
@@ -7,7 +7,7 @@ export type AccountsTransferRequest = {
7
7
  amount: Amount;
8
8
  resource_address: ResourceAddress;
9
9
  destination_public_key: RistrettoPublicKeyBytes;
10
- max_fee: number | null;
10
+ max_fee: bigint;
11
11
  proof_from_badge_resource: ResourceAddress | null;
12
12
  dry_run: boolean;
13
13
  };
@@ -4,8 +4,7 @@ import type { ComponentAddressOrName } from "./ComponentAddressOrName";
4
4
  export type CallInstructionRequest = {
5
5
  instructions: Array<Instruction>;
6
6
  fee_account: ComponentAddressOrName;
7
- dump_outputs_into: ComponentAddressOrName | null;
8
- max_fee: number;
7
+ max_fee: bigint;
9
8
  inputs: Array<SubstateRequirement>;
10
9
  override_inputs: boolean | null;
11
10
  new_outputs: number | null;
@@ -3,6 +3,6 @@ import type { ComponentAddressOrName } from "./ComponentAddressOrName";
3
3
  export type ClaimBurnRequest = {
4
4
  account: ComponentAddressOrName;
5
5
  claim_proof: ClaimBurnProof;
6
- max_fee: number | null;
6
+ max_fee: bigint;
7
7
  is_dry_run: boolean;
8
8
  };
@@ -3,7 +3,7 @@ import type { ComponentAddressOrName } from "./ComponentAddressOrName";
3
3
  export type ClaimValidatorFeesRequest = {
4
4
  account: ComponentAddressOrName | null;
5
5
  claim_key_index: number | null;
6
- max_fee: number | null;
6
+ max_fee: bigint;
7
7
  shards: Array<Shard>;
8
8
  dry_run: boolean;
9
9
  };
@@ -2,6 +2,6 @@ import type { FinalizeResult } from "../FinalizeResult";
2
2
  import type { TransactionId } from "../TransactionId";
3
3
  export type ClaimValidatorFeesResponse = {
4
4
  transaction_id: TransactionId;
5
- fee: number;
5
+ fee: bigint;
6
6
  result: FinalizeResult;
7
7
  };
@@ -10,7 +10,7 @@ export type ConfidentialTransferRequest = {
10
10
  input_selection: UtxoInputSelection;
11
11
  resource_address: ResourceAddress;
12
12
  destination_address: OotleAddress;
13
- max_fee: number | null;
13
+ max_fee: bigint;
14
14
  output_to_revealed: boolean;
15
15
  proof_from_badge_resource: ResourceAddress | null;
16
16
  memo?: Memo | null;
@@ -3,5 +3,5 @@ export type ConfidentialViewVaultBalanceRequest = {
3
3
  vault_id: VaultId;
4
4
  minimum_expected_value: number | null;
5
5
  maximum_expected_value: number | null;
6
- view_key_id: number;
6
+ view_key_id: bigint;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import type { ValidatorFeePoolAddress } from "../ValidatorFeePoolAddress";
2
2
  export type FeePoolDetails = {
3
3
  address: ValidatorFeePoolAddress;
4
- amount: number;
4
+ amount: bigint;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import type { RistrettoPublicKeyBytes } from "../RistrettoPublicKeyBytes";
2
2
  export type KeysCreateResponse = {
3
- id: number;
3
+ id: bigint;
4
4
  public_key: RistrettoPublicKeyBytes;
5
5
  };
@@ -1,3 +1,3 @@
1
1
  export type KeysSetActiveRequest = {
2
- index: number;
2
+ index: bigint;
3
3
  };
@@ -3,5 +3,5 @@ export type MintFaucetNftRequest = {
3
3
  account: ComponentAddressOrName;
4
4
  mutable_data: object;
5
5
  number_to_mint: bigint;
6
- max_fee: number | null;
6
+ max_fee: bigint | null;
7
7
  };
@@ -3,7 +3,7 @@ import type { PublishTemplateMetadata } from "./PublishTemplateMetadata";
3
3
  export type PublishTemplateRequest = {
4
4
  binary: string;
5
5
  fee_account: ComponentAddressOrName | null;
6
- max_fee: number;
6
+ max_fee: bigint;
7
7
  /**
8
8
  * Attempt to infer inputs and their dependencies from instructions. If false, the provided transaction must
9
9
  * contain the required inputs.
@@ -11,6 +11,6 @@ export type StealthTransferRequest = {
11
11
  resource_address: ResourceAddress;
12
12
  badge_usage?: BadgeUsage;
13
13
  transfers: Array<StealthTransfer>;
14
- max_fee: number;
14
+ max_fee: bigint;
15
15
  dry_run: boolean;
16
16
  };
@@ -1,5 +1,5 @@
1
1
  import type { AuthoredTemplate } from "./AuthoredTemplate";
2
2
  export type TemplatesListAuthoredResponse = {
3
3
  templates: Array<AuthoredTemplate>;
4
- total_templates: number;
4
+ total_templates: bigint;
5
5
  };
@@ -3,8 +3,8 @@ import type { PrunedTransaction } from "../PrunedTransaction";
3
3
  import type { TransactionStatus } from "../TransactionStatus";
4
4
  export type TransactionGetResponse = {
5
5
  /**
6
- * Pruned transaction — blob commitments are present but raw blob bytes are omitted to keep
7
- * API responses small. Use a separate endpoint to fetch blob payloads if required.
6
+ * Pruned transaction — blob commitments are present but raw blob bytes are omitted to
7
+ * keep API responses small. Use a separate endpoint to fetch blob payloads if required.
8
8
  */
9
9
  transaction: PrunedTransaction;
10
10
  result: FinalizeResult | null;
@@ -9,6 +9,6 @@ export type TransactionSubmitDryRunResponse = {
9
9
  * `floor(total_bytes / 4)` by 1 at a rounding boundary). Non-refundable overcharge is
10
10
  * subtracted since it won't recur with a tighter max_fee.
11
11
  */
12
- required_fees: number;
12
+ required_fees: bigint;
13
13
  result: ExecuteResult;
14
14
  };
@@ -13,11 +13,11 @@ export type TransactionSubmitManifestRequest = {
13
13
  * Additional signing keys for accounts involved in the transaction (e.g. for multi-account manifests).
14
14
  */
15
15
  signing_key_ids: Array<KeyId>;
16
- max_fee: number;
16
+ max_fee: bigint;
17
17
  dry_run: boolean;
18
18
  /**
19
- * Blob payloads referenced from the manifest via `blob!(name)`. Keys are the names used in
20
- * the manifest text; values are base64-encoded byte payloads.
19
+ * Blob payloads referenced from the manifest via `blob!(name)`. Keys are the names used
20
+ * in the manifest text; values are base64-encoded byte payloads in JSON.
21
21
  */
22
22
  blobs: {
23
23
  [key in string]?: Blob;
@@ -5,6 +5,6 @@ export type TransactionWaitResultResponse = {
5
5
  transaction_id: TransactionId;
6
6
  result: FinalizeResult | null;
7
7
  status: TransactionStatus;
8
- final_fee: number;
8
+ final_fee: bigint;
9
9
  timed_out: boolean;
10
10
  };
@@ -8,6 +8,6 @@ export type TransferNftRequest = {
8
8
  fee_payer_account: ComponentAddressOrName;
9
9
  source_account: ComponentAddressOrName;
10
10
  target_account_address: OotleAddress;
11
- max_fee: number;
11
+ max_fee: bigint;
12
12
  dry_run: boolean;
13
13
  };
@@ -2,7 +2,7 @@ import type { FinalizeResult } from "../FinalizeResult";
2
2
  import type { TransactionId } from "../TransactionId";
3
3
  export type TransferNftResponse = {
4
4
  transaction_id: TransactionId;
5
- fee: number;
6
- fee_refunded: number;
5
+ fee: bigint;
6
+ fee_refunded: bigint;
7
7
  result: FinalizeResult;
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/ootle-ts-bindings",
3
- "version": "1.34.0",
3
+ "version": "1.34.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"