Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/shy-carpets-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@iota/graphql-transport': minor
'@iota/iota-sdk': minor
---

Update move types
16 changes: 12 additions & 4 deletions sdk/graphql-transport/src/generated/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,12 @@ export type Epoch = {
* epoch.
*/
transactionBlocks: TransactionBlockConnection;
/** Validator related properties, including the active validators. */
/**
* Validator related properties, including the active validators.
*
* For epochs other than the current the data provided refer to the start
* of the epoch.
*/
validatorSet?: Maybe<ValidatorSet>;
};

Expand Down Expand Up @@ -5562,14 +5567,17 @@ export type Validator = {
operationCap?: Maybe<MoveObject>;
/**
* Pending pool token withdrawn during the current epoch, emptied at epoch
* boundaries.
* boundaries. Zero for past epochs.
*/
pendingPoolTokenWithdraw?: Maybe<Scalars['BigInt']['output']>;
/** Pending stake amount for this epoch. */
/**
* Pending stake amount for the current epoch, emptied at epoch boundaries.
* Zero for past epochs.
*/
pendingStake?: Maybe<Scalars['BigInt']['output']>;
/**
* Pending stake withdrawn during the current epoch, emptied at epoch
* boundaries.
* boundaries. Zero for past epochs.
*/
pendingTotalIotaWithdraw?: Maybe<Scalars['BigInt']['output']>;
/** Total number of pool tokens issued by the pool. */
Expand Down
3 changes: 2 additions & 1 deletion sdk/typescript/src/client/types/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ export interface MoveCallMetrics {
rank7Days: [MoveFunctionName, string][];
}
export interface MoveCallParams {
arguments: unknown[];
arguments: PtbInput[];
function: string;
module: string;
packageObjectId: string;
Expand Down Expand Up @@ -1497,6 +1497,7 @@ export type ProtocolConfigValue =
| {
bool: string;
};
export type PtbInput = IotaArgument | unknown;
export type PublicKey =
| {
Ed25519: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/src/client/types/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ export interface UnsafeMoveCallParams {
typeArguments: string[];
/**
* the arguments to be passed into the Move function, in
* [IotaJson](/developer/references/iota-api) format
* [IotaJson](https://docs.iota.org/developer/references/iota-api) format
*/
arguments: unknown[];
/**
Expand Down
10 changes: 7 additions & 3 deletions sdk/typescript/src/graphql/generated/2025.2/schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading