import { DocumentTypeDecoration } from '@graphql-typed-document-node/core'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K]; }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; export type MakeEmpty = { [_ in K]?: never; }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; /** String containing Base64-encoded binary data. */ Base64: { input: any; output: any; }; /** String representation of an arbitrary width, possibly signed integer. */ BigInt: { input: any; output: any; }; /** ISO-8601 Date and Time: RFC3339 in UTC with format: YYYY-MM-DDTHH:MM:SS.mmmZ. Note that the milliseconds part is optional, and it may be omitted if its value is 0. */ DateTime: { input: any; output: any; }; /** String containing 32B hex-encoded address, with a leading "0x". Leading zeroes can be omitted on input but will always appear in outputs (IotaAddress in output is guaranteed to be 66 characters long). */ IotaAddress: { input: any; output: any; }; /** Arbitrary JSON data. */ JSON: { input: any; output: any; }; /** * The contents of a Move Value, corresponding to the following recursive type: * * type MoveData = * { Address: IotaAddress } * | { UID: IotaAddress } * | { ID: IotaAddress } * | { Bool: bool } * | { Number: BigInt } * | { String: string } * | { Vector: [MoveData] } * | { Option: MoveData? } * | { Struct: [{ name: string , value: MoveData }] } * | { Variant: { * name: string, * fields: [{ name: string, value: MoveData }], * } */ MoveData: { input: any; output: any; }; /** * The shape of a concrete Move Type (a type with all its type parameters instantiated with concrete types), corresponding to the following recursive type: * * type MoveTypeLayout = * "address" * | "bool" * | "u8" | "u16" | ... | "u256" * | { vector: MoveTypeLayout } * | { * struct: { * type: string, * fields: [{ name: string, layout: MoveTypeLayout }], * } * } * | { enum: [{ * type: string, * variants: [{ * name: string, * fields: [{ name: string, layout: MoveTypeLayout }], * }] * }] * } */ MoveTypeLayout: { input: any; output: any; }; /** * The signature of a concrete Move Type (a type with all its type parameters instantiated with concrete types, that contains no references), corresponding to the following recursive type: * * type MoveTypeSignature = * "address" * | "bool" * | "u8" | "u16" | ... | "u256" * | { vector: MoveTypeSignature } * | { * datatype: { * package: string, * module: string, * type: string, * typeParameters: [MoveTypeSignature], * } * } */ MoveTypeSignature: { input: any; output: any; }; /** * The shape of an abstract Move Type (a type that can contain free type parameters, and can optionally be taken by reference), corresponding to the following recursive type: * * type OpenMoveTypeSignature = { * ref: ("&" | "&mut")?, * body: OpenMoveTypeSignatureBody, * } * * type OpenMoveTypeSignatureBody = * "address" * | "bool" * | "u8" | "u16" | ... | "u256" * | { vector: OpenMoveTypeSignatureBody } * | { * datatype { * package: string, * module: string, * type: string, * typeParameters: [OpenMoveTypeSignatureBody] * } * } * | { typeParameter: number } */ OpenMoveTypeSignature: { input: any; output: any; }; /** * An unsigned integer that can hold values up to 2^53 - 1. This can be treated * similarly to `Int`, but it is guaranteed to be non-negative, and it may be * larger than 2^32 - 1. */ UInt53: { input: any; output: any; }; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type Address = IOwner & { __typename?: 'Address'; address: Scalars['IotaAddress']['output']; /** * Total balance of all coins with marker type owned by this address. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this address. */ balances: BalanceConnection; /** * The coin objects for this address. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * The name explicitly configured as the default name pointing to this * address. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this address. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this address, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this address. */ stakedIotas: StakedIotaConnection; /** * Similar behavior to the `transactionBlocks` in Query but supporting the * additional `AddressTransactionBlockRelationship` filter, which * defaults to `SENT`. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ transactionBlocks: TransactionBlockConnection; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressBalanceArgs = { type?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The 32-byte address that is an account address (corresponding to a public * key). */ export type AddressTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; relation?: InputMaybe; scanLimit?: InputMaybe; }; export type AddressConnection = { __typename?: 'AddressConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array
; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type AddressEdge = { __typename?: 'AddressEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Address; }; /** * An address-owned object is owned by a specific 32-byte address that is * either an account address (derived from a particular signature scheme) or * an object ID. An address-owned object is accessible only to its owner and no * others. */ export type AddressOwner = { __typename?: 'AddressOwner'; owner?: Maybe; }; /** * The possible relationship types for a transaction block: sent, received, * or affected. */ export declare enum AddressTransactionBlockRelationship { /** * Transactions that affected this address (the address is the sender, * a recipient, or the owner of the gas payment). */ Affected = "AFFECTED", /** Transactions that sent objects to this address. */ Recv = "RECV", /** Transactions this address has sent. */ Sent = "SENT" } /** * Range of checkpoints that the RPC is guaranteed to produce a consistent * response for. */ export type AvailableRange = { __typename?: 'AvailableRange'; first?: Maybe; last?: Maybe; }; /** The total balance for a particular coin type. */ export type Balance = { __typename?: 'Balance'; /** How many coins of this type constitute the balance */ coinObjectCount?: Maybe; /** Coin type for the balance, such as 0x2::iota::IOTA */ coinType: MoveType; /** Total balance across all coin objects of the coin type */ totalBalance?: Maybe; }; /** * Effects to the balance (sum of coin values per coin type) owned by an * address or object. */ export type BalanceChange = { __typename?: 'BalanceChange'; /** The signed balance change. */ amount?: Maybe; /** * The inner type of the coin whose balance has changed (e.g. * `0x2::iota::IOTA`). */ coinType?: Maybe; /** The address or object whose balance has changed. */ owner?: Maybe; }; export type BalanceChangeConnection = { __typename?: 'BalanceChangeConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type BalanceChangeEdge = { __typename?: 'BalanceChangeEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: BalanceChange; }; export type BalanceConnection = { __typename?: 'BalanceConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type BalanceEdge = { __typename?: 'BalanceEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Balance; }; /** * A system transaction that updates epoch information on-chain (increments the * current epoch). Executed by the system once per epoch, without using gas. * Epoch change transactions cannot be submitted by users, because validators * will refuse to sign them. */ export type ChangeEpochTransaction = { __typename?: 'ChangeEpochTransaction'; /** * The total amount of gas charged for computation during the previous * epoch (in NANOS). */ computationCharge: Scalars['BigInt']['output']; /** The next (to become) epoch. */ epoch?: Maybe; /** * The total gas retained from storage fees, that will not be returned by * storage rebates when the relevant objects are cleaned up (in NANOS). */ nonRefundableStorageFee: Scalars['BigInt']['output']; /** The protocol version in effect in the new epoch. */ protocolVersion: Scalars['UInt53']['output']; /** Time at which the next epoch will start. */ startTimestamp: Scalars['DateTime']['output']; /** * The total amount of gas charged for storage during the previous epoch * (in NANOS). */ storageCharge: Scalars['BigInt']['output']; /** * The IOTA returned to transaction senders for cleaning up objects (in * NANOS). */ storageRebate: Scalars['BigInt']['output']; /** * System packages (specifically framework and move stdlib) that are * written before the new epoch starts, to upgrade them on-chain. * Validators write these packages out when running the transaction. */ systemPackages: MovePackageConnection; }; /** * A system transaction that updates epoch information on-chain (increments the * current epoch). Executed by the system once per epoch, without using gas. * Epoch change transactions cannot be submitted by users, because validators * will refuse to sign them. */ export type ChangeEpochTransactionSystemPackagesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A system transaction that updates epoch information on-chain (increments the * current epoch). Executed by the system once per epoch, without using gas. * Epoch change transactions cannot be submitted by users, because validators * will refuse to sign them. */ export type ChangeEpochTransactionV2 = { __typename?: 'ChangeEpochTransactionV2'; /** * The total amount of gas charged for computation during the previous * epoch (in NANOS). */ computationCharge: Scalars['BigInt']['output']; /** * The total amount of gas burned for computation during the previous * epoch (in NANOS). */ computationChargeBurned: Scalars['BigInt']['output']; /** * The list of active validators eligible for committee selection for the * next epoch. */ eligibleActiveValidators?: Maybe>; /** The next (to become) epoch. */ epoch?: Maybe; /** * The total gas retained from storage fees, that will not be returned by * storage rebates when the relevant objects are cleaned up (in NANOS). */ nonRefundableStorageFee: Scalars['BigInt']['output']; /** The protocol version in effect in the new epoch. */ protocolVersion: Scalars['UInt53']['output']; /** The validator scores at the end of the epoch. */ scores?: Maybe>; /** Time at which the next epoch will start. */ startTimestamp: Scalars['DateTime']['output']; /** * The total amount of gas charged for storage during the previous epoch * (in NANOS). */ storageCharge: Scalars['BigInt']['output']; /** * The IOTA returned to transaction senders for cleaning up objects (in * NANOS). */ storageRebate: Scalars['BigInt']['output']; /** * System packages (specifically framework and move stdlib) that are * written before the new epoch starts, to upgrade them on-chain. * Validators write these packages out when running the transaction. */ systemPackages: MovePackageConnection; }; /** * A system transaction that updates epoch information on-chain (increments the * current epoch). Executed by the system once per epoch, without using gas. * Epoch change transactions cannot be submitted by users, because validators * will refuse to sign them. */ export type ChangeEpochTransactionV2SystemPackagesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Checkpoints contain finalized transactions and are used for node * synchronization and global transaction ordering. */ export type Checkpoint = { __typename?: 'Checkpoint'; /** * The Base64-encoded BCS serialization of this checkpoint's * `CheckpointSummary`. * * # Note * For older checkpoints, where this data was not recorded, `null` is * returned. */ bcs?: Maybe; /** * A 32-byte hash that uniquely identifies the checkpoint contents, encoded * in Base58. This hash can be used to verify checkpoint contents by * checking signatures against the committee, Hashing contents to match * digest, and checking that the previous checkpoint digest matches. */ digest: Scalars['String']['output']; /** The epoch this checkpoint is part of. */ epoch?: Maybe; /** * The total number of transaction blocks in the network by the end of this * checkpoint. */ networkTotalTransactions?: Maybe; /** The digest of the checkpoint at the previous sequence number. */ previousCheckpointDigest?: Maybe; /** * The computation cost, storage cost, storage rebate, and non-refundable * storage fee accumulated during this epoch, up to and including this * checkpoint. These values increase monotonically across checkpoints * in the same epoch, and reset on epoch boundaries. */ rollingGasSummary?: Maybe; /** * This checkpoint's position in the total order of finalized checkpoints, * agreed upon by consensus. */ sequenceNumber: Scalars['UInt53']['output']; /** * The timestamp at which the checkpoint is agreed to have happened * according to consensus. Transactions that access time in this * checkpoint will observe this timestamp. */ timestamp: Scalars['DateTime']['output']; /** * Transactions in this checkpoint. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range consists of all transactions in this * checkpoint. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ transactionBlocks: TransactionBlockConnection; /** * This is an aggregation of signatures from a quorum of validators for the * checkpoint proposal. */ validatorSignatures: Scalars['Base64']['output']; }; /** * Checkpoints contain finalized transactions and are used for node * synchronization and global transaction ordering. */ export type CheckpointTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; export type CheckpointConnection = { __typename?: 'CheckpointConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type CheckpointEdge = { __typename?: 'CheckpointEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Checkpoint; }; /** * Filter either by the digest, or the sequence number, or neither, to get the * latest checkpoint. */ export type CheckpointId = { digest?: InputMaybe; sequenceNumber?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type Coin = IMoveObject & IObject & IOwner & { __typename?: 'Coin'; address: Scalars['IotaAddress']['output']; /** * Total balance of all coins with marker type owned by this object. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** Balance of this coin object. */ coinBalance?: Maybe; /** * The coin objects for this object. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Displays the contents of the Move object in a JSON string and through * GraphQL types. Also provides the flat representation of the type * signature, and the BCS of the corresponding data. */ contents?: Maybe; /** * 32-byte hash that identifies the object's contents, encoded as a Base58 * string. */ digest?: Maybe; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicObjectField?: Maybe; /** * The name explicitly configured as the default name pointing to this * object. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this object. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this object, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The owner type of this object: Immutable, Shared, Parent, Address */ owner?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** * The transaction blocks that sent objects to this object. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this object. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. */ storageRebate?: Maybe; version: Scalars['UInt53']['output']; }; /** Some 0x2::coin::Coin Move object. */ export type CoinBalanceArgs = { type?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinDynamicFieldArgs = { name: DynamicFieldName; }; /** Some 0x2::coin::Coin Move object. */ export type CoinDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** Some 0x2::coin::Coin Move object. */ export type CoinIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** Some 0x2::coin::Coin Move object. */ export type CoinStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type CoinConnection = { __typename?: 'CoinConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type CoinEdge = { __typename?: 'CoinEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Coin; }; /** The metadata for a coin type. */ export type CoinMetadata = IMoveObject & IObject & IOwner & { __typename?: 'CoinMetadata'; address: Scalars['IotaAddress']['output']; /** * Total balance of all coins with marker type owned by this object. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** * The coin objects for this object. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Displays the contents of the Move object in a JSON string and through * GraphQL types. Also provides the flat representation of the type * signature, and the BCS of the corresponding data. */ contents?: Maybe; /** The number of decimal places used to represent the token. */ decimals?: Maybe; /** Optional description of the token, provided by the creator of the token. */ description?: Maybe; /** * 32-byte hash that identifies the object's contents, encoded as a Base58 * string. */ digest?: Maybe; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicObjectField?: Maybe; iconUrl?: Maybe; /** * The name explicitly configured as the default name pointing to this * object. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this object. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Full, official name of the token. */ name?: Maybe; /** Objects owned by this object, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The owner type of this object: Immutable, Shared, Parent, Address */ owner?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** * The transaction blocks that sent objects to this object. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this object. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. */ storageRebate?: Maybe; /** The overall quantity of tokens that will be issued. */ supply?: Maybe; /** The token's identifying abbreviation. */ symbol?: Maybe; version: Scalars['UInt53']['output']; }; /** The metadata for a coin type. */ export type CoinMetadataBalanceArgs = { type?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataDynamicFieldArgs = { name: DynamicFieldName; }; /** The metadata for a coin type. */ export type CoinMetadataDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** The metadata for a coin type. */ export type CoinMetadataIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** The metadata for a coin type. */ export type CoinMetadataStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * System transaction that runs at the beginning of a checkpoint, and is * responsible for setting the current value of the clock, based on the * timestamp from consensus. */ export type ConsensusCommitPrologueTransaction = { __typename?: 'ConsensusCommitPrologueTransaction'; /** Unix timestamp from consensus. */ commitTimestamp: Scalars['DateTime']['output']; /** Digest of consensus output, encoded as a Base58 string. */ consensusCommitDigest: Scalars['String']['output']; /** Epoch of the commit prologue transaction. */ epoch?: Maybe; /** Consensus round of the commit. */ round: Scalars['UInt53']['output']; }; export type DependencyConnection = { __typename?: 'DependencyConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type DependencyEdge = { __typename?: 'DependencyEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node?: Maybe; }; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ export type DisplayEntry = { __typename?: 'DisplayEntry'; /** An error string describing why the template could not be rendered. */ error?: Maybe; /** The identifier for a particular template string of the Display object. */ key: Scalars['String']['output']; /** The template string for the key with placeholder values substituted. */ value?: Maybe; }; export type DryRunEffect = { __typename?: 'DryRunEffect'; /** * Changes made to arguments that were mutably borrowed by each command in * this transaction. */ mutatedReferences?: Maybe>; /** Return results of each command in this transaction. */ returnValues?: Maybe>; }; export type DryRunMutation = { __typename?: 'DryRunMutation'; bcs: Scalars['Base64']['output']; input: TransactionArgument; type: MoveType; }; export type DryRunResult = { __typename?: 'DryRunResult'; /** The error that occurred during dry run execution, if any. */ error?: Maybe; /** * The intermediate results for each command of the dry run execution, * including contents of mutated references and return values. */ results?: Maybe>; /** If an input object is congested, suggest a gas price to use. */ suggestedGasPrice?: Maybe; /** The transaction block representing the dry run execution. */ transaction?: Maybe; }; export type DryRunReturn = { __typename?: 'DryRunReturn'; bcs: Scalars['Base64']['output']; type: MoveType; }; /** * Dynamic fields are heterogeneous fields that can be added or removed at * runtime, and can have arbitrary user-assigned names. There are two sub-types * of dynamic fields: * * 1) Dynamic Fields can store any value that has the `store` ability, however an object stored in * this kind of field will be considered wrapped and will not be accessible directly via its ID * by external tools (explorers, wallets, etc) accessing storage. * 2) Dynamic Object Fields values must be IOTA objects (have the `key` and `store` abilities, and * id: UID as the first field), but will still be directly accessible off-chain via their object * ID after being attached. */ export type DynamicField = { __typename?: 'DynamicField'; /** * The string type, data, and serialized value of the DynamicField's 'name' * field. This field is used to uniquely identify a child of the parent * object. */ name?: Maybe; /** * The returned dynamic field is an object if its return type is * `MoveObject`, in which case it is also accessible off-chain via its * address. Its contents will be from the latest version that is at * most equal to its parent object's version. */ value?: Maybe; }; export type DynamicFieldConnection = { __typename?: 'DynamicFieldConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type DynamicFieldEdge = { __typename?: 'DynamicFieldEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: DynamicField; }; export type DynamicFieldName = { /** The Base64 encoded bcs serialization of the DynamicField's 'name' field. */ bcs: Scalars['Base64']['input']; /** * The string type of the DynamicField's 'name' field. * A string representation of a Move primitive like 'u64', or a struct type * like '0x2::kiosk::Listing' */ type: Scalars['String']['input']; }; export type DynamicFieldValue = MoveObject | MoveValue; /** * System transaction that supersedes `ChangeEpochTransaction` as the new way * to run transactions at the end of an epoch. Behaves similarly to * `ChangeEpochTransaction` but can accommodate other optional transactions to * run at the end of the epoch. */ export type EndOfEpochTransaction = { __typename?: 'EndOfEpochTransaction'; /** * The list of system transactions that are allowed to run at the end of * the epoch. */ transactions: EndOfEpochTransactionKindConnection; }; /** * System transaction that supersedes `ChangeEpochTransaction` as the new way * to run transactions at the end of an epoch. Behaves similarly to * `ChangeEpochTransaction` but can accommodate other optional transactions to * run at the end of the epoch. */ export type EndOfEpochTransactionTransactionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type EndOfEpochTransactionKind = ChangeEpochTransaction | ChangeEpochTransactionV2 | TransactionDenyRulesCreateTransaction; export type EndOfEpochTransactionKindConnection = { __typename?: 'EndOfEpochTransactionKindConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type EndOfEpochTransactionKindEdge = { __typename?: 'EndOfEpochTransactionKindEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: EndOfEpochTransactionKind; }; /** * Operation of the IOTA network is temporally partitioned into non-overlapping * epochs, and the network aims to keep epochs roughly the same duration as * each other. During a particular epoch the following data is fixed: * * - the protocol version * - the reference gas price * - the set of participating validators */ export type Epoch = { __typename?: 'Epoch'; /** The epoch's corresponding checkpoints. */ checkpoints: CheckpointConnection; /** The epoch's ending timestamp. */ endTimestamp?: Maybe; /** * The epoch's id as a sequence number that starts at 0 and is incremented * by one at every epoch change. */ epochId: Scalars['UInt53']['output']; /** The storage fees paid for transactions executed during the epoch. */ fundInflow?: Maybe; /** * The storage fee rebates paid to users who deleted the data associated * with past transactions. */ fundOutflow?: Maybe; /** * The storage fund available in this epoch. * This fund is used to redistribute storage fees from past transactions * to future validators. */ fundSize?: Maybe; /** The total IOTA supply. */ iotaTotalSupply?: Maybe; /** The treasury-cap id. */ iotaTreasuryCapId?: Maybe; /** * A commitment by the committee at the end of epoch on the contents of the * live object set at that time. This can be used to verify state * snapshots. */ liveObjectSetDigest?: Maybe; /** * The difference between the fund inflow and outflow, representing * the net amount of storage fees accumulated in this epoch. */ netInflow?: Maybe; /** * The epoch's corresponding protocol configuration, including the feature * flags and the configuration options. */ protocolConfigs: ProtocolConfigs; /** * The minimum gas price that a quorum of validators are guaranteed to sign * a transaction for. */ referenceGasPrice?: Maybe; /** * Information about whether this epoch was started in safe mode, which * happens if the full epoch change logic fails for some reason. */ safeMode?: Maybe; /** The epoch's starting timestamp. */ startTimestamp: Scalars['DateTime']['output']; /** * IOTA set aside to account for objects stored on-chain, at the start of * the epoch. This is also used for storage rebates. */ storageFund?: Maybe; /** Details of the system that are decided during genesis. */ systemParameters?: Maybe; /** * The value of the `version` field of `0x5`, the * `0x3::iota::IotaSystemState` object. This version changes whenever * the fields contained in the system state object (held in a dynamic * field attached to `0x5`) change. */ systemStateVersion?: Maybe; /** The total number of checkpoints in this epoch. */ totalCheckpoints?: Maybe; /** The total amount of gas fees (in NANOS) that were paid in this epoch. */ totalGasFees?: Maybe; /** The total NANOS rewarded as stake. */ totalStakeRewards?: Maybe; /** The total number of transaction blocks in this epoch. */ totalTransactions?: Maybe; /** * The epoch's corresponding transaction blocks. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range consists of all transactions in this * epoch. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ transactionBlocks: TransactionBlockConnection; /** * 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; }; /** * Operation of the IOTA network is temporally partitioned into non-overlapping * epochs, and the network aims to keep epochs roughly the same duration as * each other. During a particular epoch the following data is fixed: * * - the protocol version * - the reference gas price * - the set of participating validators */ export type EpochCheckpointsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Operation of the IOTA network is temporally partitioned into non-overlapping * epochs, and the network aims to keep epochs roughly the same duration as * each other. During a particular epoch the following data is fixed: * * - the protocol version * - the reference gas price * - the set of participating validators */ export type EpochTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; export type Event = { __typename?: 'Event'; /** The BCS representation of this value, Base64 encoded. */ bcs: Scalars['Base64']['output']; /** Structured contents of a Move value. */ data: Scalars['MoveData']['output']; /** * Representation of a Move value in JSON, where: * * - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings. * - Bools are represented by JSON boolean literals. * - u8, u16, and u32 are represented as JSON numbers. * - u64, u128, and u256 are represented as JSON strings. * - Vectors are represented by JSON arrays. * - Structs are represented by JSON objects. * - Empty optional values are represented by `null`. * * This form is offered as a less verbose convenience in cases where the * layout of the type is known by the client. */ json: Scalars['JSON']['output']; /** Address of the sender of the event */ sender?: Maybe
; /** * The Move module containing some function that when called by * a programmable transaction block (PTB) emitted this event. * For example, if a PTB invokes A::m1::foo, which internally * calls A::m2::emit_event to emit an event, * the sending module would be A::m1. */ sendingModule?: Maybe; /** UTC timestamp in milliseconds since epoch (1/1/1970) */ timestamp?: Maybe; /** * The transaction block that emitted this event. This information is only * available for events from transactions included in a checkpoint. * * For simulated transactions (e.g. dry run), or transactions that have * been just executed but not yet included in a checkpoint this returns * null. */ transactionBlock?: Maybe; /** The value's Move type. */ type: MoveType; }; export type EventConnection = { __typename?: 'EventConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type EventEdge = { __typename?: 'EventEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Event; }; /** Represents optional available filters for events. */ export type EventFilter = { /** * Events emitted by a particular module. An event is emitted by a * particular module if some function in the module is called by a * PTB and emits an event. * * Modules can be filtered by their package, or package::module. * We currently do not support filtering by emitting module and event type * at the same time so if both are provided in one filter, the query will * error. */ emittingModule?: InputMaybe; /** * This field is used to specify the type of event emitted. * * Events can be filtered by their type's package, package::module, * or their fully qualified type name. * * Generic types can be queried by either the generic type name, e.g. * `0x2::coin::Coin`, or by the full type name, such as * `0x2::coin::Coin<0x2::iota::IOTA>`. */ eventType?: InputMaybe; /** Filter down to events from transactions sent by this address. */ sender?: InputMaybe; /** * Filter down to the events from this transaction (given by its * transaction digest). */ transactionDigest?: InputMaybe; }; /** * Possible responses from a subscription. * * It could be one of the following: * - A successful payload from the subscription stream. * - A notice that the subscription has been lagged behind the network with the number of lost * payloads. */ export type EventSubscriptionPayload = Event | Lagged; /** * The result of an execution, including errors that occurred during said * execution. */ export type ExecutionResult = { __typename?: 'ExecutionResult'; /** * The effects of the executed transaction. Since the transaction was just * executed and not indexed yet, fields including `balance_changes`, * `timestamp` and `checkpoint` are not available. */ effects: TransactionBlockEffects; /** The errors field captures any errors that occurred during execution */ errors?: Maybe>; }; /** The execution status of this transaction block: success or failure. */ export declare enum ExecutionStatus { /** The transaction block could not be executed */ Failure = "FAILURE", /** The transaction block was successfully executed */ Success = "SUCCESS" } /** * Groups of features served by the RPC service. The GraphQL Service can be * configured to enable or disable these features. */ export declare enum Feature { /** * Statistics about how the network was running (TPS, top packages, APY, * etc) */ Analytics = "ANALYTICS", /** Coin metadata, per-address coin and balance information. */ Coins = "COINS", /** Querying an object's dynamic fields. */ DynamicFields = "DYNAMIC_FIELDS", /** Transaction and Event subscriptions. */ Subscriptions = "SUBSCRIPTIONS", /** * Aspects that affect the running of the system that are managed by the * validators either directly, or through system transactions. */ SystemState = "SYSTEM_STATE" } /** * Access to the gas inputs, after they have been smashed into one coin. The * gas coin can only be used by reference, except for with * `TransferObjectsTransaction` that can accept it by value. */ export type GasCoin = { __typename?: 'GasCoin'; /** A workaround to define an empty variant of a GraphQL union. */ _?: Maybe; }; /** Breakdown of gas costs in effects. */ export type GasCostSummary = { __typename?: 'GasCostSummary'; /** Gas paid for executing this transaction (in NANOS). */ computationCost?: Maybe; /** Gas burned for executing this transaction (in NANOS). */ computationCostBurned?: Maybe; /** * Part of storage cost that is not reclaimed when data created by this * transaction is cleaned up (in NANOS). */ nonRefundableStorageFee?: Maybe; /** Gas paid for the data stored on-chain by this transaction (in NANOS). */ storageCost?: Maybe; /** * Part of storage cost that can be reclaimed by cleaning up data created * by this transaction (when objects are deleted or an object is * modified, which is treated as a deletion followed by a creation) (in * NANOS). */ storageRebate?: Maybe; }; /** * Effects related to gas (costs incurred and the identity of the smashed gas * object returned). */ export type GasEffects = { __typename?: 'GasEffects'; gasObject?: Maybe; gasSummary?: Maybe; }; /** * Configuration for this transaction's gas price and the coins used to pay for * gas. */ export type GasInput = { __typename?: 'GasInput'; /** * The maximum number of gas units that can be expended by executing this * transaction */ gasBudget?: Maybe; /** Objects used to pay for a transaction's execution and storage */ gasPayment: ObjectConnection; /** * An unsigned integer specifying the number of native tokens per gas unit * this transaction will pay (in NANOS). */ gasPrice?: Maybe; /** Address of the owner of the gas object(s) used */ gasSponsor?: Maybe
; }; /** * Configuration for this transaction's gas price and the coins used to pay for * gas. */ export type GasInputGasPaymentArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * System transaction that initializes the network and writes the initial set * of objects on-chain. */ export type GenesisTransaction = { __typename?: 'GenesisTransaction'; /** Events emitted during genesis. */ events: EventConnection; /** Objects to be created during genesis. */ objects: ObjectConnection; }; /** * System transaction that initializes the network and writes the initial set * of objects on-chain. */ export type GenesisTransactionEventsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * System transaction that initializes the network and writes the initial set * of objects on-chain. */ export type GenesisTransactionObjectsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Interface implemented by all GraphQL types that represent a Move datatype * (either structs or enums). This interface is used to provide a way to access * fields that are shared by both structs and enums, e.g., the module that the * datatype belongs to, the name of the datatype, type parameters etc. */ export type IMoveDatatype = { /** The abilities of the datatype. */ abilities?: Maybe>; /** The module that the datatype belongs to. */ module: MoveModule; /** The name of the datatype. */ name: Scalars['String']['output']; /** The type parameters of the datatype. */ typeParameters?: Maybe>; }; /** * This interface is implemented by types that represent a Move object on-chain * (A Move value whose type has `key`). */ export type IMoveObject = { /** Displays the contents of the Move object in a JSON string and through GraphQL types. Also provides the flat representation of the type signature, and the BCS of the corresponding data. */ contents?: Maybe; /** The set of named templates defined on-chain for the type of this object, to be handled off-chain. The server substitutes data from the object into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary Move values whose type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API under the Ownertype. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are arbitrary Move values whose type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type. */ dynamicObjectField?: Maybe; }; /** * This interface is implemented by types that represent a Move object on-chain * (A Move value whose type has `key`). */ export type IMoveObjectDynamicFieldArgs = { name: DynamicFieldName; }; /** * This interface is implemented by types that represent a Move object on-chain * (A Move value whose type has `key`). */ export type IMoveObjectDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * This interface is implemented by types that represent a Move object on-chain * (A Move value whose type has `key`). */ export type IMoveObjectDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** * Interface implemented by on-chain values that are addressable by an ID (also * referred to as its address). This includes Move objects and packages. */ export type IObject = { /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** 32-byte hash that identifies the object's current contents, encoded as a Base58 string. */ digest?: Maybe; /** * The owner type of this object: Immutable, Shared, Parent, Address * Immutable and Shared Objects do not have owners. */ owner?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** The transaction blocks that sent objects to this object. */ receivedTransactionBlocks: TransactionBlockConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the * contents of a genesis or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and * represents the most recent or historical state of the object. */ status: ObjectKind; storageRebate?: Maybe; version: Scalars['UInt53']['output']; }; /** * Interface implemented by on-chain values that are addressable by an ID (also * referred to as its address). This includes Move objects and packages. */ export type IObjectReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwner = { address: Scalars['IotaAddress']['output']; /** Total balance of all coins with marker type owned by this object or address. If type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object or address. */ balances: BalanceConnection; /** * The coin objects for this object or address. * * `type` is a filter on the coin's type parameter, defaulting to `0x2::iota::IOTA`. */ coins: CoinConnection; /** The name explicitly configured as the default name pointing to this object or address. */ iotaNamesDefaultName?: Maybe; /** The NameRegistration NFTs owned by this object or address. These grant the owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this object or address, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this object or address. */ stakedIotas: StakedIotaConnection; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerBalanceArgs = { type?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Interface implemented by GraphQL types representing entities that can own * objects. Object owners are identified by an address which can represent * either the public key of an account or another object. The same address can * only refer to an account or an object, never both, but it is not possible to * know which up-front. */ export type IOwnerStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An immutable object is an object that can't be mutated, transferred, or * deleted. Immutable objects have no owner, so anyone can use them. */ export type Immutable = { __typename?: 'Immutable'; _?: Maybe; }; /** * One of the input objects or primitive values to the programmable transaction * block. */ export type Input = { __typename?: 'Input'; /** Index of the programmable transaction block input (0-indexed). */ ix: Scalars['Int']['output']; }; /** * Notifies that the subscription consumer has fallen behind the live * subscription stream and missed one or more payloads. */ export type Lagged = { __typename?: 'Lagged'; /** Number of missed payloads since the previous emitted one. */ count: Scalars['Int']['output']; }; /** * Information used by a package to link to a specific version of its * dependency. */ export type Linkage = { __typename?: 'Linkage'; /** The ID on-chain of the first version of the dependency. */ originalId: Scalars['IotaAddress']['output']; /** * The ID on-chain of the version of the dependency that this package * depends on. */ upgradedId: Scalars['IotaAddress']['output']; /** The version of the dependency that this package depends on. */ version: Scalars['UInt53']['output']; }; /** Create a vector (possibly empty). */ export type MakeMoveVecTransaction = { __typename?: 'MakeMoveVecTransaction'; /** The values to pack into the vector, all of the same type. */ elements: Array; /** * If the elements are not objects, or the vector is empty, a type must be * supplied. */ type?: Maybe; }; /** Merges `coins` into the first `coin` (produces no results). */ export type MergeCoinsTransaction = { __typename?: 'MergeCoinsTransaction'; /** The coin to merge into. */ coin: TransactionArgument; /** The coins to be merged. */ coins: Array; }; /** * Abilities are keywords in IOTA Move that define how types behave at the * compiler level. */ export declare enum MoveAbility { /** Enables values to be copied. */ Copy = "COPY", /** Enables values to be popped/dropped. */ Drop = "DROP", /** Enables values to be held directly in global storage. */ Key = "KEY", /** Enables values to be held inside a struct in global storage. */ Store = "STORE" } /** A call to either an entry or a public Move function. */ export type MoveCallTransaction = { __typename?: 'MoveCallTransaction'; /** The actual function parameters passed in for this move call. */ arguments: Array; /** The function being called, resolved. */ function?: Maybe; /** The name of the function being called. */ functionName: Scalars['String']['output']; /** The name of the module the function being called is defined in. */ module: Scalars['String']['output']; /** The storage ID of the package the function being called is defined in. */ package: Scalars['IotaAddress']['output']; /** The actual type parameters passed in for this move call. */ typeArguments: Array; }; /** * The generic representation of a Move datatype (either a struct or an enum) * which exposes common fields and information (module, name, abilities, type * parameters etc.) that is shared across them. */ export type MoveDatatype = IMoveDatatype & { __typename?: 'MoveDatatype'; abilities?: Maybe>; asMoveEnum?: Maybe; asMoveStruct?: Maybe; module: MoveModule; name: Scalars['String']['output']; typeParameters?: Maybe>; }; export type MoveDatatypeConnection = { __typename?: 'MoveDatatypeConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MoveDatatypeEdge = { __typename?: 'MoveDatatypeEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MoveDatatype; }; /** Description of an enum type, defined in a Move module. */ export type MoveEnum = IMoveDatatype & { __typename?: 'MoveEnum'; /** The enum's abilities. */ abilities?: Maybe>; /** The module this enum was originally defined in. */ module: MoveModule; /** The enum's (unqualified) type name. */ name: Scalars['String']['output']; /** * Constraints on the enum's formal type parameters. Move bytecode does * not name type parameters, so when they are referenced (e.g. in field * types) they are identified by their index in this list. */ typeParameters?: Maybe>; /** * The names and types of the enum's fields. Field types reference type * parameters, by their index in the defining enum's `typeParameters` * list. */ variants?: Maybe>; }; export type MoveEnumConnection = { __typename?: 'MoveEnumConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MoveEnumEdge = { __typename?: 'MoveEnumEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MoveEnum; }; export type MoveEnumVariant = { __typename?: 'MoveEnumVariant'; /** * The names and types of the variant's fields. Field types reference type * parameters, by their index in the defining enum's `typeParameters` * list. */ fields?: Maybe>; /** The name of the variant */ name: Scalars['String']['output']; }; /** Information for a particular field on a Move struct. */ export type MoveField = { __typename?: 'MoveField'; name: Scalars['String']['output']; type?: Maybe; }; /** Signature of a function, defined in a Move module. */ export type MoveFunction = { __typename?: 'MoveFunction'; /** Whether the function has the `entry` modifier or not. */ isEntry?: Maybe; /** The module this function was defined in. */ module: MoveModule; /** The function's (unqualified) name. */ name: Scalars['String']['output']; /** * The function's parameter types. These types can reference type * parameters introduce by this function (see `typeParameters`). */ parameters?: Maybe>; /** * The function's return types. There can be multiple because functions in * Move can return multiple values. These types can reference type * parameters introduced by this function (see `typeParameters`). */ return?: Maybe>; /** * Constraints on the function's formal type parameters. Move bytecode * does not name type parameters, so when they are referenced (e.g. in * parameter and return types) they are identified by their index in * this list. */ typeParameters?: Maybe>; /** The function's visibility: `public`, `public(friend)`, or `private`. */ visibility?: Maybe; }; export type MoveFunctionConnection = { __typename?: 'MoveFunctionConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MoveFunctionEdge = { __typename?: 'MoveFunctionEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MoveFunction; }; export type MoveFunctionTypeParameter = { __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModule = { __typename?: 'MoveModule'; /** The Base64 encoded bcs serialization of the module. */ bytes?: Maybe; /** * Look-up the definition of a datatype (struct or enum) defined in this * module, by its name. */ datatype?: Maybe; /** * Iterate through the datatypes (enmums and structs) defined in this * module. */ datatypes?: Maybe; /** Textual representation of the module's bytecode. */ disassembly?: Maybe; /** Look-up the definition of a enum defined in this module, by its name. */ enum?: Maybe; /** Iterate through the enums defined in this module. */ enums?: Maybe; /** Format version of this module's bytecode. */ fileFormatVersion: Scalars['Int']['output']; /** * Modules that this module considers friends (these modules can access * `public(friend)` functions from this module). */ friends: MoveModuleConnection; /** Look-up the signature of a function defined in this module, by its name. */ function?: Maybe; /** Iterate through the signatures of functions defined in this module. */ functions?: Maybe; /** The module's (unqualified) name. */ name: Scalars['String']['output']; /** The package that this Move module was defined in */ package: MovePackage; /** Look-up the definition of a struct defined in this module, by its name. */ struct?: Maybe; /** Iterate through the structs defined in this module. */ structs?: Maybe; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleDatatypeArgs = { name: Scalars['String']['input']; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleDatatypesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleEnumArgs = { name: Scalars['String']['input']; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleEnumsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleFriendsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleFunctionArgs = { name: Scalars['String']['input']; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleFunctionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleStructArgs = { name: Scalars['String']['input']; }; /** * Represents a module in Move, a library that defines struct types * and functions that operate on these types. */ export type MoveModuleStructsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type MoveModuleConnection = { __typename?: 'MoveModuleConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MoveModuleEdge = { __typename?: 'MoveModuleEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MoveModule; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObject = IMoveObject & IObject & IOwner & { __typename?: 'MoveObject'; address: Scalars['IotaAddress']['output']; /** Attempts to convert the Move object into a `0x2::coin::Coin`. */ asCoin?: Maybe; /** Attempts to convert the Move object into a `0x2::coin::CoinMetadata`. */ asCoinMetadata?: Maybe; asIotaNamesRegistration?: Maybe; /** * Attempts to convert the Move object into a * `0x3::staking_pool::StakedIota`. */ asStakedIota?: Maybe; /** * Total balance of all coins with marker type owned by this object. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** * The coin objects for this object. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Displays the contents of the Move object in a JSON string and through * GraphQL types. Also provides the flat representation of the type * signature, and the BCS of the corresponding data. */ contents?: Maybe; /** * 32-byte hash that identifies the object's contents, encoded as a Base58 * string. */ digest?: Maybe; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicObjectField?: Maybe; /** * The name explicitly configured as the default name pointing to this * object. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this object. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this object, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The owner type of this object: Immutable, Shared, Parent, Address */ owner?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** * The transaction blocks that sent objects to this object. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this object. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. */ storageRebate?: Maybe; version: Scalars['UInt53']['output']; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectBalanceArgs = { type?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectDynamicFieldArgs = { name: DynamicFieldName; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** * The representation of an object as a Move Object, which exposes additional * information (content, module that governs it, version, is transferable, * etc.) about this object. */ export type MoveObjectStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type MoveObjectConnection = { __typename?: 'MoveObjectConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MoveObjectEdge = { __typename?: 'MoveObjectEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MoveObject; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackage = IObject & IOwner & { __typename?: 'MovePackage'; address: Scalars['IotaAddress']['output']; /** * Total balance of all coins with marker type owned by this package. If * type is not supplied, it defaults to `0x2::iota::IOTA`. * * Note that coins owned by a package are inaccessible, because packages * are immutable and cannot be owned by an address. */ balance?: Maybe; /** * The balances of all coin types owned by this package. * * Note that coins owned by a package are inaccessible, because packages * are immutable and cannot be owned by an address. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the package's content. */ bcs?: Maybe; /** * The coin objects owned by this package. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. * * Note that coins owned by a package are inaccessible, because packages * are immutable and cannot be owned by an address. */ coins: CoinConnection; /** * 32-byte hash that identifies the package's contents, encoded as a Base58 * string. */ digest?: Maybe; /** * The name explicitly configured as the default name pointing to this * object. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this package. These grant the * owner the capability to manage the associated name. * * Note that objects owned by a package are inaccessible, because packages * are immutable and cannot be owned by an address. */ iotaNamesRegistrations: NameRegistrationConnection; /** * Fetch the latest version of this package (the package with the highest * `version` that shares this packages's original ID) */ latestPackage: MovePackage; /** The transitive dependencies of this package. */ linkage?: Maybe>; /** * A representation of the module called `name` in this package, including * the structs and functions it defines. */ module?: Maybe; /** * BCS representation of the package's modules. Modules appear as a * sequence of pairs (module name, followed by module bytes), in * alphabetic order by module name. */ moduleBcs?: Maybe; /** Paginate through the MoveModules defined in this package. */ modules?: Maybe; /** * Objects owned by this package, optionally `filter`-ed. * * Note that objects owned by a package are inaccessible, because packages * are immutable and cannot be owned by an address. */ objects: MoveObjectConnection; /** * The owner type of this object: Immutable, Shared, Parent, Address * Packages are always Immutable. */ owner?: Maybe; /** * Fetch another version of this package (the package that shares this * package's original ID, but has the specified `version`). */ packageAtVersion?: Maybe; /** BCS representation of the package itself, as a MovePackage. */ packageBcs?: Maybe; /** * Fetch all versions of this package (packages that share this package's * original ID), optionally bounding the versions exclusively from * below with `afterVersion`, or from above with `beforeVersion`. */ packageVersions: MovePackageConnection; /** The transaction block that published or upgraded this package. */ previousTransactionBlock?: Maybe; /** * The transaction blocks that sent objects to this package. * * Note that objects that have been sent to a package become inaccessible. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** * The `0x3::staking_pool::StakedIota` objects owned by this package. * * Note that objects owned by a package are inaccessible, because packages * are immutable and cannot be owned by an address. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. * * Note that packages cannot be deleted or mutated, so this number is * provided purely for reference. */ storageRebate?: Maybe; /** The (previous) versions of this package that introduced its types. */ typeOrigins?: Maybe>; version: Scalars['UInt53']['output']; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageBalanceArgs = { type?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageModuleArgs = { name: Scalars['String']['input']; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageModulesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackagePackageAtVersionArgs = { version: Scalars['UInt53']['input']; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackagePackageVersionsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** * A MovePackage is a kind of Move object that represents code that has been * published on chain. It exposes information about its modules, type * definitions, functions, and dependencies. */ export type MovePackageStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Filter for paginating `MovePackage`s that were created within a range of * checkpoints. */ export type MovePackageCheckpointFilter = { /** * Fetch packages that were published strictly after this checkpoint. * Omitting this fetches packages published since genesis. */ afterCheckpoint?: InputMaybe; /** * Fetch packages that were published strictly before this checkpoint. * Omitting this fetches packages published up to the latest checkpoint * (inclusive). */ beforeCheckpoint?: InputMaybe; }; export type MovePackageConnection = { __typename?: 'MovePackageConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MovePackageEdge = { __typename?: 'MovePackageEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MovePackage; }; /** Filter for paginating versions of a given `MovePackage`. */ export type MovePackageVersionFilter = { /** * Fetch versions of this package that are strictly newer than this * version. Omitting this fetches versions since the original version. */ afterVersion?: InputMaybe; /** * Fetch versions of this package that are strictly older than this * version. Omitting this fetches versions up to the latest version * (inclusive). */ beforeVersion?: InputMaybe; }; /** Description of a struct type, defined in a Move module. */ export type MoveStruct = IMoveDatatype & { __typename?: 'MoveStruct'; /** Abilities this struct has. */ abilities?: Maybe>; /** * The names and types of the struct's fields. Field types reference type * parameters, by their index in the defining struct's `typeParameters` * list. */ fields?: Maybe>; /** The module this struct was originally defined in. */ module: MoveModule; /** The struct's (unqualified) type name. */ name: Scalars['String']['output']; /** * Constraints on the struct's formal type parameters. Move bytecode does * not name type parameters, so when they are referenced (e.g. in field * types) they are identified by their index in this list. */ typeParameters?: Maybe>; }; export type MoveStructConnection = { __typename?: 'MoveStructConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type MoveStructEdge = { __typename?: 'MoveStructEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: MoveStruct; }; export type MoveStructTypeParameter = { __typename?: 'MoveStructTypeParameter'; constraints: Array; isPhantom: Scalars['Boolean']['output']; }; /** Represents concrete types (no type parameters, no references). */ export type MoveType = { __typename?: 'MoveType'; /** The abilities this concrete type has. */ abilities: Array; /** Structured representation of the "shape" of values that match this type. */ layout: Scalars['MoveTypeLayout']['output']; /** Flat representation of the type signature, as a displayable string. */ repr: Scalars['String']['output']; /** Structured representation of the type signature. */ signature: Scalars['MoveTypeSignature']['output']; }; export type MoveValue = { __typename?: 'MoveValue'; /** The BCS representation of this value, Base64 encoded. */ bcs: Scalars['Base64']['output']; /** Structured contents of a Move value. */ data: Scalars['MoveData']['output']; /** * Representation of a Move value in JSON, where: * * - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings. * - Bools are represented by JSON boolean literals. * - u8, u16, and u32 are represented as JSON numbers. * - u64, u128, and u256 are represented as JSON strings. * - Vectors are represented by JSON arrays. * - Structs are represented by JSON objects. * - Empty optional values are represented by `null`. * * This form is offered as a less verbose convenience in cases where the * layout of the type is known by the client. */ json: Scalars['JSON']['output']; /** The value's Move type. */ type: MoveType; }; /** * The result of a move-view function call. * * Execution errors are captured in the `error` field, in which * case the `results` field will be `None`. * * On success, the `results` field will contain the return values of the * move view function, and the `error` field will be `None`. */ export type MoveViewResult = { __typename?: 'MoveViewResult'; /** Execution error from executing the move view call. */ error?: Maybe; /** The return values of the move view function. */ results?: Maybe>; }; /** * The visibility modifier describes which modules can access this module * member. By default, a module member can be called only within the same * module. */ export declare enum MoveVisibility { /** * A friend member can be accessed in the module it is defined in and any * other module in its package that is explicitly specified in its * friend list. */ Friend = "FRIEND", /** A private member can be accessed in the module it is defined in. */ Private = "PRIVATE", /** A public member can be accessed by any module. */ Public = "PUBLIC" } /** Mutations are used to write to the IOTA network. */ export type Mutation = { __typename?: 'Mutation'; /** * Execute a transaction, committing its effects on chain. * * - `txBytes` is a `Transaction` struct that has been BCS-encoded and then Base64-encoded. * - `signatures` are a list of `flag || signature || pubkey` bytes, Base64-encoded. * * Waits until the transaction has reached finality on chain to return its * transaction digest, or returns the error that prevented finality if * that was not possible. A transaction is final when its effects are * guaranteed on chain (it cannot be revoked). * * Transaction effects are now available immediately after execution * through `Query.transactionBlock`. However, other queries that depend * on the chain’s indexed state (e.g., address-level balance updates) * may still lag until the transaction has been checkpointed. * To confirm that a transaction has been included in a checkpoint, query * `Query.transactionBlock` and check whether the `effects.checkpoint` * field is set (or `null` if not yet checkpointed). */ executeTransactionBlock: ExecutionResult; }; /** Mutations are used to write to the IOTA network. */ export type MutationExecuteTransactionBlockArgs = { signatures: Array; txBytes: Scalars['String']['input']; }; export declare enum NameFormat { At = "AT", Dot = "DOT" } export type NameRegistration = IMoveObject & IOwner & { __typename?: 'NameRegistration'; address: Scalars['IotaAddress']['output']; /** * Total balance of all coins with marker type owned by this object. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** * The coin objects for this object. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Displays the contents of the Move object in a JSON string and through * GraphQL types. Also provides the flat representation of the type * signature, and the BCS of the corresponding data. */ contents?: Maybe; /** * 32-byte hash that identifies the object's contents, encoded as a Base58 * string. */ digest?: Maybe; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicObjectField?: Maybe; /** * Determines whether a transaction can transfer this object, using the * TransferObjects transaction command or * `iota::transfer::public_transfer`, both of which require the object to * have the `key` and `store` abilities. */ hasPublicTransfer: Scalars['Boolean']['output']; /** * The name explicitly configured as the default name pointing to this * object. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this object. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Name of the NameRegistration object */ name: Scalars['String']['output']; /** Objects owned by this object, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The owner type of this object: Immutable, Shared, Parent, Address */ owner?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** * The transaction blocks that sent objects to this object. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this object. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. */ storageRebate?: Maybe; version: Scalars['UInt53']['output']; }; export type NameRegistrationBalanceArgs = { type?: InputMaybe; }; export type NameRegistrationBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type NameRegistrationCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; export type NameRegistrationDynamicFieldArgs = { name: DynamicFieldName; }; export type NameRegistrationDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type NameRegistrationDynamicObjectFieldArgs = { name: DynamicFieldName; }; export type NameRegistrationIotaNamesDefaultNameArgs = { format?: InputMaybe; }; export type NameRegistrationIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type NameRegistrationObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type NameRegistrationReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; export type NameRegistrationStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type NameRegistrationConnection = { __typename?: 'NameRegistrationConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type NameRegistrationEdge = { __typename?: 'NameRegistrationEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: NameRegistration; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type Object = IObject & IOwner & { __typename?: 'Object'; address: Scalars['IotaAddress']['output']; /** Attempts to convert the object into a MoveObject */ asMoveObject?: Maybe; /** Attempts to convert the object into a MovePackage */ asMovePackage?: Maybe; /** * Total balance of all coins with marker type owned by this object. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** * The coin objects for this object. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * 32-byte hash that identifies the object's current contents, encoded as a * Base58 string. */ digest?: Maybe; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicObjectField?: Maybe; /** * The name explicitly configured as the default name pointing to this * address. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this address. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this object, optionally `filter`-ed. */ objects: MoveObjectConnection; /** * The owner type of this object: Immutable, Shared, Parent, Address * Immutable and Shared Objects do not have owners. */ owner?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** * The transaction blocks that sent objects to this object. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** The `0x3::staking_pool::StakedIota` objects owned by this object. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. */ storageRebate?: Maybe; version: Scalars['UInt53']['output']; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectBalanceArgs = { type?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectDynamicFieldArgs = { name: DynamicFieldName; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** * An object in IOTA is a package (set of Move bytecode modules) or object * (typed data structure with fields) with additional metadata detailing its * id, version, transaction digest, owner field indicating how this object can * be accessed. */ export type ObjectStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Effect on an individual Object (keyed by its ID). */ export type ObjectChange = { __typename?: 'ObjectChange'; /** The address of the object that has changed. */ address: Scalars['IotaAddress']['output']; /** Whether the ID was created in this transaction. */ idCreated?: Maybe; /** Whether the ID was deleted in this transaction. */ idDeleted?: Maybe; /** The contents of the object immediately before the transaction. */ inputState?: Maybe; /** The contents of the object immediately after the transaction. */ outputState?: Maybe; }; export type ObjectChangeConnection = { __typename?: 'ObjectChangeConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type ObjectChangeEdge = { __typename?: 'ObjectChangeEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: ObjectChange; }; export type ObjectConnection = { __typename?: 'ObjectConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type ObjectEdge = { __typename?: 'ObjectEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Object; }; /** * Constrains the set of objects returned. All filters are optional, and the * resulting set of objects are ones whose * * - Type matches the `type` filter, * - AND, whose owner matches the `owner` filter, * - AND, whose ID is in `objectIds` OR whose ID and version is in `objectKeys`. */ export type ObjectFilter = { /** Filter for live objects by their IDs. */ objectIds?: InputMaybe>; /** * Filter for live or potentially historical objects by their ID and * version. */ objectKeys?: InputMaybe>; /** Filter for live objects by their current owners. */ owner?: InputMaybe; /** * Filter objects by their type's `package`, `package::module`, or their * fully qualified type name. * * Generic types can be queried by either the generic type name, e.g. * `0x2::coin::Coin`, or by the full type name, such as * `0x2::coin::Coin<0x2::iota::IOTA>`. */ type?: InputMaybe; }; export type ObjectKey = { objectId: Scalars['IotaAddress']['input']; version: Scalars['UInt53']['input']; }; export declare enum ObjectKind { /** The object is fetched from the index. */ Indexed = "INDEXED", /** * The object is loaded from serialized data, such as the contents of a * transaction that hasn't been indexed yet. */ NotIndexed = "NOT_INDEXED" } /** The object's owner type: Immutable, Shared, Parent, or Address. */ export type ObjectOwner = AddressOwner | Immutable | Parent | Shared; export type ObjectRef = { /** ID of the object. */ address: Scalars['IotaAddress']['input']; /** Digest of the object. */ digest: Scalars['String']['input']; /** Version or sequence number of the object. */ version: Scalars['UInt53']['input']; }; /** * Represents types that could contain references or free type parameters. * Such types can appear as function parameters, in fields of structs, or as * actual type parameter. */ export type OpenMoveType = { __typename?: 'OpenMoveType'; /** Flat representation of the type signature, as a displayable string. */ repr: Scalars['String']['output']; /** Structured representation of the type signature. */ signature: Scalars['OpenMoveTypeSignature']['output']; }; /** A Move object, either immutable, or owned mutable. */ export type OwnedOrImmutable = { __typename?: 'OwnedOrImmutable'; /** ID of the object being read. */ address: Scalars['IotaAddress']['output']; /** * 32-byte hash that identifies the object's contents at this version, * encoded as a Base58 string. */ digest: Scalars['String']['output']; /** The object at this version. May not be available due to pruning. */ object?: Maybe; /** Version of the object being read. */ version: Scalars['UInt53']['output']; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type Owner = IOwner & { __typename?: 'Owner'; address: Scalars['IotaAddress']['output']; asAddress?: Maybe
; asObject?: Maybe; /** * Total balance of all coins with marker type owned by this object or * address. If type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object or address. */ balances: BalanceConnection; /** * The coin objects for this object or address. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * This field exists as a convenience when accessing a dynamic field on a * wrapped object. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * This field exists as a convenience when accessing a dynamic field on a * wrapped object. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * This field exists as a convenience when accessing a dynamic field on a * wrapped object. */ dynamicObjectField?: Maybe; /** * The name explicitly configured as the default name pointing to this * object or address. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this object or address. These * grant the owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this object or address, optionally `filter`-ed. */ objects: MoveObjectConnection; /** * The `0x3::staking_pool::StakedIota` objects owned by this object or * address. */ stakedIotas: StakedIotaConnection; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerBalanceArgs = { type?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerDynamicFieldArgs = { name: DynamicFieldName; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * An Owner is an entity that can own an object. Each Owner is identified by a * IotaAddress which represents either an Address (corresponding to a public * key of an account) or an Object, but never both (it is not known up-front * whether a given Owner is an Address or an Object). */ export type OwnerStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Information about pagination in a connection */ export type PageInfo = { __typename?: 'PageInfo'; /** When paginating forwards, the cursor to continue. */ endCursor?: Maybe; /** When paginating forwards, are there more items? */ hasNextPage: Scalars['Boolean']['output']; /** When paginating backwards, are there more items? */ hasPreviousPage: Scalars['Boolean']['output']; /** When paginating backwards, the cursor to continue. */ startCursor?: Maybe; }; /** * If the object's owner is a Parent, this object is part of a dynamic field * (it is the value of the dynamic field, or the intermediate Field object * itself). Also note that if the owner is a parent, then it's guaranteed to be * an object. */ export type Parent = { __typename?: 'Parent'; parent?: Maybe; }; /** A single transaction, or command, in the programmable transaction block. */ export type ProgrammableTransaction = MakeMoveVecTransaction | MergeCoinsTransaction | MoveCallTransaction | PublishTransaction | SplitCoinsTransaction | TransferObjectsTransaction | UpgradeTransaction; /** * A user transaction that allows the interleaving of native commands (like * transfer, split coins, merge coins, etc) and move calls, executed * atomically. */ export type ProgrammableTransactionBlock = { __typename?: 'ProgrammableTransactionBlock'; /** Input objects or primitive values. */ inputs: TransactionInputConnection; /** The transaction commands, executed sequentially. */ transactions: ProgrammableTransactionConnection; }; /** * A user transaction that allows the interleaving of native commands (like * transfer, split coins, merge coins, etc) and move calls, executed * atomically. */ export type ProgrammableTransactionBlockInputsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * A user transaction that allows the interleaving of native commands (like * transfer, split coins, merge coins, etc) and move calls, executed * atomically. */ export type ProgrammableTransactionBlockTransactionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type ProgrammableTransactionConnection = { __typename?: 'ProgrammableTransactionConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type ProgrammableTransactionEdge = { __typename?: 'ProgrammableTransactionEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: ProgrammableTransaction; }; /** A single protocol configuration value. */ export type ProtocolConfigAttr = { __typename?: 'ProtocolConfigAttr'; key: Scalars['String']['output']; value?: Maybe; }; /** Whether or not a single feature is enabled in the protocol config. */ export type ProtocolConfigFeatureFlag = { __typename?: 'ProtocolConfigFeatureFlag'; key: Scalars['String']['output']; value: Scalars['Boolean']['output']; }; /** * Constants that control how the chain operates. * * These can only change during protocol upgrades which happen on epoch * boundaries. */ export type ProtocolConfigs = { __typename?: 'ProtocolConfigs'; /** Query for the value of the configuration with name `key`. */ config?: Maybe; /** * List all available configurations and their values. These * configurations can take any value (but they will all be represented * in string form), and do not include feature flags. */ configs: Array; /** Query for the state of the feature flag with name `key`. */ featureFlag?: Maybe; /** * List all available feature flags and their values. Feature flags are a * form of boolean configuration that are usually used to gate features * while they are in development. Once a flag has been enabled, it is * rare for it to be disabled. */ featureFlags: Array; /** * The protocol is not required to change on every epoch boundary, so the * protocol version tracks which change to the protocol these configs * are from. */ protocolVersion: Scalars['UInt53']['output']; }; /** * Constants that control how the chain operates. * * These can only change during protocol upgrades which happen on epoch * boundaries. */ export type ProtocolConfigsConfigArgs = { key: Scalars['String']['input']; }; /** * Constants that control how the chain operates. * * These can only change during protocol upgrades which happen on epoch * boundaries. */ export type ProtocolConfigsFeatureFlagArgs = { key: Scalars['String']['input']; }; /** Publishes a Move Package. */ export type PublishTransaction = { __typename?: 'PublishTransaction'; /** IDs of the transitive dependencies of the package to be published. */ dependencies: Array; /** * Bytecode for the modules to be published, BCS serialized and Base64 * encoded. */ modules: Array; }; /** BCS encoded primitive value (not an object or Move struct). */ export type Pure = { __typename?: 'Pure'; /** BCS serialized and Base64 encoded primitive value. */ bytes: Scalars['Base64']['output']; }; export type Query = { __typename?: 'Query'; /** Look-up an Account by its IotaAddress. */ address?: Maybe
; /** * Range of checkpoints that the RPC has data available for (for data * that can be tied to a particular checkpoint). */ availableRange: AvailableRange; /** * First four bytes of the network's genesis checkpoint digest (uniquely * identifies the network). */ chainIdentifier: Scalars['String']['output']; /** * Fetch checkpoint information by sequence number or digest (defaults to * the latest available checkpoint). */ checkpoint?: Maybe; /** The checkpoints that exist in the network. */ checkpoints: CheckpointConnection; /** The coin metadata associated with the given coin type. */ coinMetadata?: Maybe; /** * The coin objects that exist in the network. * * The type field is a string of the inner type of the coin by which to * filter (e.g. `0x2::iota::IOTA`). If no type is provided, it will * default to `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Simulate running a transaction to inspect its effects without * committing to them on-chain. * * `txBytes` either a `Transaction` struct or a `TransactionKind` * struct, BCS-encoded and then Base64-encoded. The expected * type is controlled by the presence or absence of `txMeta`: If * present, `txBytes` is assumed to be a `TransactionKind`, if * absent, then `Transaction`. * * `txMeta` the data that is missing from a `TransactionKind` to make * a `Transaction` (sender address and gas information). All * its fields are nullable. * * `skipChecks` optional flag to disable the usual verification * checks that prevent access to objects that are owned by * addresses other than the sender, and calling non-public, * non-entry functions, and some other checks. Defaults to false. */ dryRunTransactionBlock: DryRunResult; /** Fetch epoch information by ID (defaults to the latest epoch). */ epoch?: Maybe; /** * Query events that are emitted in the network. * We currently do not support filtering by emitting module and event type * at the same time so if both are provided in one filter, the query will * error. */ events: EventConnection; /** Check if a transaction is indexed on the fullnode. */ isTransactionIndexedOnNode: Scalars['Boolean']['output']; /** * The latest version of the package at `address`. * * This corresponds to the package with the highest `version` that shares * its original ID with the package at `address`. */ latestPackage?: Maybe; moveViewCall: MoveViewResult; /** * The object corresponding to the given address at the (optionally) given * version. When no version is given, the latest version is returned. */ object?: Maybe; /** The objects that exist in the network. */ objects: ObjectConnection; /** * Look up an Owner by its IotaAddress. * * `rootVersion` represents the version of the root object in some nested * chain of dynamic fields. It allows consistent historical queries for * the case of wrapped objects, which don't have a version. For * example, if querying the dynamic field of a table wrapped in a parent * object, passing the parent object's version here will ensure we get the * dynamic field's state at the moment that parent's version was * created. * * Also, if this Owner is an object itself, `rootVersion` will be used to * bound its version from above when querying `Owner.asObject`. This * can be used, for example, to get the contents of a dynamic object * field when its parent was at `rootVersion`. * * If `rootVersion` is omitted, dynamic fields will be from a consistent * snapshot of the IOTA state at the latest checkpoint known to the * GraphQL RPC. Similarly, `Owner.asObject` will return the object's * version at the latest checkpoint. */ owner?: Maybe; /** * The package corresponding to the given address (at the optionally given * version). * * When no version is given, the package is loaded directly from the * address given. Otherwise, the address is translated before loading * to point to the package whose original ID matches the package at * `address`, but whose version is `version`. For non-system packages, this * might result in a different address than `address` because different * versions of a package, introduced by upgrades, exist at distinct * addresses. * * Note that this interpretation of `version` is different from a * historical object read (the interpretation of `version` for the * `object` query). */ package?: Maybe; /** * Fetch all versions of package at `address` (packages that share this * package's original ID), optionally bounding the versions exclusively * from below with `afterVersion`, or from above with `beforeVersion`. */ packageVersions: MovePackageConnection; /** * The Move packages that exist in the network, optionally filtered to be * strictly before `beforeCheckpoint` and/or strictly after * `afterCheckpoint`. * * This query returns all versions of a given user package that appear * between the specified checkpoints, but only records the latest * versions of system packages. */ packages: MovePackageConnection; /** * Fetch the protocol config by protocol version (defaults to the latest * protocol version known to the GraphQL service). */ protocolConfig: ProtocolConfigs; /** * Resolves an IOTA-Names `name` to an address, if it has been * bound. */ resolveIotaNamesAddress?: Maybe
; /** Configuration for this RPC service */ serviceConfig: ServiceConfig; /** Fetch a transaction block by its transaction digest. */ transactionBlock?: Maybe; /** * The transaction blocks that exist in the network. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all checkpointed transactions * known to GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. Transactions that don't have a checkpoint yet * are always omitted. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ transactionBlocks: TransactionBlockConnection; /** * Fetch multiple transaction blocks by their digests. * This includes all transactions, even if they are not checkpointed yet. * @deprecated Use `transactionsByDigests` instead. Will be removed in v1.38. */ transactionBlocksByDigests: Array>; /** * Fetch multiple transaction blocks by their digests. * * Unlike `transactionBlocks(filter: { transactionIds })`, this includes * all transactions, even if they are not checkpointed yet. * * Pages keep the order of the `digests` argument and hold one node per * digest, null when the transaction was not found. Only forward * pagination is supported: `limit` caps the page size and `cursor` * resumes after an entry of a previous page. */ transactionsByDigests: TransactionsByDigestsPage; /** * Fetch a structured representation of a concrete type, including its * layout information. Fails if the type is malformed. */ type: MoveType; }; export type QueryAddressArgs = { address: Scalars['IotaAddress']['input']; }; export type QueryCheckpointArgs = { id?: InputMaybe; }; export type QueryCheckpointsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryCoinMetadataArgs = { coinType: Scalars['String']['input']; }; export type QueryCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; export type QueryDryRunTransactionBlockArgs = { skipChecks?: InputMaybe; txBytes: Scalars['String']['input']; txMeta?: InputMaybe; }; export type QueryEpochArgs = { id?: InputMaybe; }; export type QueryEventsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryIsTransactionIndexedOnNodeArgs = { digest: Scalars['String']['input']; }; export type QueryLatestPackageArgs = { address: Scalars['IotaAddress']['input']; }; export type QueryMoveViewCallArgs = { arguments?: InputMaybe>; functionName: Scalars['String']['input']; typeArgs?: InputMaybe>; }; export type QueryObjectArgs = { address: Scalars['IotaAddress']['input']; version?: InputMaybe; }; export type QueryObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryOwnerArgs = { address: Scalars['IotaAddress']['input']; rootVersion?: InputMaybe; }; export type QueryPackageArgs = { address: Scalars['IotaAddress']['input']; version?: InputMaybe; }; export type QueryPackageVersionsArgs = { address: Scalars['IotaAddress']['input']; after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryPackagesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryProtocolConfigArgs = { protocolVersion?: InputMaybe; }; export type QueryResolveIotaNamesAddressArgs = { name: Scalars['String']['input']; }; export type QueryTransactionBlockArgs = { digest: Scalars['String']['input']; }; export type QueryTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; export type QueryTransactionBlocksByDigestsArgs = { digests: Array; }; export type QueryTransactionsByDigestsArgs = { cursor?: InputMaybe; digests: Array; limit?: InputMaybe; }; export type QueryTypeArgs = { type: Scalars['String']['input']; }; /** System transaction to update the source of on-chain randomness. */ export type RandomnessStateUpdateTransaction = { __typename?: 'RandomnessStateUpdateTransaction'; /** Epoch of the randomness state update transaction. */ epoch?: Maybe; /** Updated random bytes, encoded as Base64. */ randomBytes: Scalars['Base64']['output']; /** The initial version the randomness object was shared at. */ randomnessObjInitialSharedVersion: Scalars['UInt53']['output']; /** Randomness round of the update. */ randomnessRound: Scalars['UInt53']['output']; }; /** A Move object that can be received in this transaction. */ export type Receiving = { __typename?: 'Receiving'; /** ID of the object being read. */ address: Scalars['IotaAddress']['output']; /** * 32-byte hash that identifies the object's contents at this version, * encoded as a Base58 string. */ digest: Scalars['String']['output']; /** The object at this version. May not be available due to pruning. */ object?: Maybe; /** Version of the object being read. */ version: Scalars['UInt53']['output']; }; /** The result of another transaction command. */ export type Result = { __typename?: 'Result'; /** The index of the previous command (0-indexed) that returned this result. */ cmd: Scalars['Int']['output']; /** * If the previous command returns multiple values, this is the index of * the individual result among the multiple results from that command * (also 0-indexed). */ ix?: Maybe; }; /** Information about whether epoch changes are using safe mode. */ export type SafeMode = { __typename?: 'SafeMode'; /** * Whether safe mode was used for the last epoch change. The system will * retry a full epoch change on every epoch boundary and automatically * reset this flag if so. */ enabled?: Maybe; /** * Accumulated fees for computation and cost that have not been added to * the various reward pools, because the full epoch change did not * happen. */ gasSummary?: Maybe; }; /** The enabled features and service limits configured by the server. */ export type ServiceConfig = { __typename?: 'ServiceConfig'; /** List the available versions for this GraphQL service. */ availableVersions: Array; /** Default number of elements allowed on a single page of a connection. */ defaultPageSize: Scalars['Int']['output']; /** List of all features that are enabled on this GraphQL service. */ enabledFeatures: Array; /** Check whether `feature` is enabled on this GraphQL service. */ isEnabled: Scalars['Boolean']['output']; /** * Maximum estimated cost of a database query used to serve a GraphQL * request. This is measured in the same units that the database uses * in EXPLAIN queries. */ maxDbQueryCost: Scalars['Int']['output']; /** * Maximum nesting allowed in struct fields when calculating the layout of * a single Move Type. */ maxMoveValueDepth: Scalars['Int']['output']; /** * The maximum number of output nodes in a GraphQL response. * * Non-connection nodes have a count of 1, while connection nodes are * counted as the specified 'first' or 'last' number of items, or the * default_page_size as set by the server if those arguments are not * set. * * Counts accumulate multiplicatively down the query tree. For example, if * a query starts with a connection of first: 10 and has a field to a * connection with last: 20, the count at the second level would be 200 * nodes. This is then summed to the count of 10 nodes at the first * level, for a total of 210 nodes. */ maxOutputNodes: Scalars['Int']['output']; /** Maximum number of elements allowed on a single page of a connection. */ maxPageSize: Scalars['Int']['output']; /** The maximum depth a GraphQL query can be to be accepted by this service. */ maxQueryDepth: Scalars['Int']['output']; /** * The maximum number of nodes (field names) the service will accept in a * single query. */ maxQueryNodes: Scalars['Int']['output']; /** * The maximum bytes allowed for the read part of GraphQL queries. * * In case of mutations or `dryRunTransactionBlocks` the `txBytes` and * `signatures` are not included in this limit. */ maxQueryPayloadSize: Scalars['Int']['output']; /** Maximum number of candidates to scan when gathering a page of results. */ maxScanLimit: Scalars['Int']['output']; /** * Maximum number of transaction ids that can be passed to a * `TransactionBlockFilter`. */ maxTransactionIds: Scalars['Int']['output']; /** * The maximum bytes allowed for transactions in queries. * * This corresponds to the `txBytes` and `signatures` fields of the GraphQL * mutation `executeTransactionBlock` node, or the `txBytes` of a * `dryRunTransactionBlock`. * * By default, this is set to the value of the maximum transaction bytes * (including the signatures) allowed by the protocol, plus the Base64 * overhead (roughly 1/3 of the original string). */ maxTransactionPayloadSize: Scalars['Int']['output']; /** * Maximum nesting allowed in type arguments in Move Types resolved by this * service. */ maxTypeArgumentDepth: Scalars['Int']['output']; /** * Maximum number of type arguments passed into a generic instantiation of * a Move Type resolved by this service. */ maxTypeArgumentWidth: Scalars['Int']['output']; /** * Maximum number of structs that need to be processed when calculating the * layout of a single Move Type. */ maxTypeNodes: Scalars['Int']['output']; /** * Maximum time in milliseconds spent waiting for a response from fullnode * after issuing a transaction to execute. Note that the transaction * may still succeed even in the case of a timeout. Transactions are * idempotent, so a transaction that times out should be resubmitted * until the network returns a definite response (success or failure, not * timeout). */ mutationTimeoutMs: Scalars['Int']['output']; /** * Maximum time in milliseconds that will be spent to serve one query * request. */ requestTimeoutMs: Scalars['Int']['output']; }; /** The enabled features and service limits configured by the server. */ export type ServiceConfigIsEnabledArgs = { feature: Feature; }; /** * A shared object is an object that is shared using the * 0x2::transfer::share_object function. Unlike owned objects, once an object * is shared, it stays mutable and is accessible by anyone. */ export type Shared = { __typename?: 'Shared'; initialSharedVersion: Scalars['UInt53']['output']; }; /** A Move object that's shared. */ export type SharedInput = { __typename?: 'SharedInput'; address: Scalars['IotaAddress']['output']; /** The version at which this object was shared.​ */ initialSharedVersion: Scalars['UInt53']['output']; /** * Controls whether the transaction block can reference the shared object * as a mutable reference or by value. This has implications for * scheduling: Transactions that just read shared objects at a certain * version (mutable = false) can be executed concurrently, while * transactions that write shared objects (mutable = true) must be executed * serially with respect to each other. */ mutable: Scalars['Boolean']['output']; }; /** * The transaction accepted a shared object as input, but its execution was * cancelled. */ export type SharedObjectCancelled = { __typename?: 'SharedObjectCancelled'; /** ID of the shared object. */ address: Scalars['IotaAddress']['output']; /** * The assigned shared object version. It is a special version indicating * transaction cancellation reason. */ version: Scalars['UInt53']['output']; }; /** * The transaction accepted a shared object as input, but it was deleted before * the transaction executed. */ export type SharedObjectDelete = { __typename?: 'SharedObjectDelete'; /** ID of the shared object. */ address: Scalars['IotaAddress']['output']; /** * Whether this transaction intended to use this shared object mutably or * not. See `SharedInput.mutable` for further details. */ mutable: Scalars['Boolean']['output']; /** * The version of the shared object that was assigned to this transaction * during by consensus, during sequencing. */ version: Scalars['UInt53']['output']; }; /** The transaction accepted a shared object as input, but only to read it. */ export type SharedObjectRead = { __typename?: 'SharedObjectRead'; /** ID of the object being read. */ address: Scalars['IotaAddress']['output']; /** * 32-byte hash that identifies the object's contents at this version, * encoded as a Base58 string. */ digest: Scalars['String']['output']; /** The object at this version. May not be available due to pruning. */ object?: Maybe; /** Version of the object being read. */ version: Scalars['UInt53']['output']; }; /** * Splits off coins with denominations in `amounts` from `coin`, returning * multiple results (as many as there are amounts.) */ export type SplitCoinsTransaction = { __typename?: 'SplitCoinsTransaction'; /** The denominations to split off from the coin. */ amounts: Array; /** The coin to split. */ coin: TransactionArgument; }; /** The stake's possible status: active, pending, or unstaked. */ export declare enum StakeStatus { /** * The stake object is active in a staking pool and it is generating * rewards. */ Active = "ACTIVE", /** The stake awaits to join a staking pool in the next epoch. */ Pending = "PENDING", /** The stake is no longer active in any staking pool. */ Unstaked = "UNSTAKED" } /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIota = IMoveObject & IObject & IOwner & { __typename?: 'StakedIota'; /** The epoch at which this stake became active. */ activatedEpoch?: Maybe; address: Scalars['IotaAddress']['output']; /** * Total balance of all coins with marker type owned by this object. If * type is not supplied, it defaults to `0x2::iota::IOTA`. */ balance?: Maybe; /** The balances of all coin types owned by this object. */ balances: BalanceConnection; /** The Base64-encoded BCS serialization of the object's content. */ bcs?: Maybe; /** * The coin objects for this object. * * `type` is a filter on the coin's type parameter, defaulting to * `0x2::iota::IOTA`. */ coins: CoinConnection; /** * Displays the contents of the Move object in a JSON string and through * GraphQL types. Also provides the flat representation of the type * signature, and the BCS of the corresponding data. */ contents?: Maybe; /** * 32-byte hash that identifies the object's contents, encoded as a Base58 * string. */ digest?: Maybe; /** * The set of named templates defined on-chain for the type of this object, * to be handled off-chain. The server substitutes data from the object * into these templates to generate a display string per template. */ display?: Maybe>; /** * Access a dynamic field on an object using its name. Names are arbitrary * Move values whose type have `copy`, `drop`, and `store`, and are * specified using their type, and their BCS contents, Base64 encoded. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicField?: Maybe; /** * The dynamic fields and dynamic object fields on an object. * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicFields: DynamicFieldConnection; /** * Access a dynamic object field on an object using its name. Names are * arbitrary Move values whose type have `copy`, `drop`, and `store`, * and are specified using their type, and their BCS contents, Base64 * encoded. The value of a dynamic object field can also be accessed * off-chain directly via its address (e.g. using `Query.object`). * * Dynamic fields on wrapped objects can be accessed by using the same API * under the Owner type. */ dynamicObjectField?: Maybe; /** * The estimated reward for this stake object, calculated as: * * principal * (initial_stake_rate / current_stake_rate - 1.0) * * Or 0, if this value is negative, where: * * - `initial_stake_rate` is the stake rate at the epoch this stake was activated at. * - `current_stake_rate` is the stake rate in the current epoch. * * This value is only available if the stake is active. */ estimatedReward?: Maybe; /** * The name explicitly configured as the default name pointing to this * object. */ iotaNamesDefaultName?: Maybe; /** * The NameRegistration NFTs owned by this object. These grant the * owner the capability to manage the associated name. */ iotaNamesRegistrations: NameRegistrationConnection; /** Objects owned by this object, optionally `filter`-ed. */ objects: MoveObjectConnection; /** The owner type of this object: Immutable, Shared, Parent, Address */ owner?: Maybe; /** The object id of the validator staking pool this stake belongs to. */ poolId?: Maybe; /** The transaction block that created this version of the object. */ previousTransactionBlock?: Maybe; /** The IOTA that was initially staked. */ principal?: Maybe; /** * The transaction blocks that sent objects to this object. * * `scanLimit` restricts the number of candidate transactions scanned when * gathering a page of results. It is required for queries that apply two * or more complex filters (on function, affected address, recipient, input * object, changed object, or wrapped or deleted object), and can be at * most `serviceConfig.maxScanLimit`. A `kind` filter cannot be * combined with any of them. * * When the scan limit is reached the page will be returned even if it has * fewer than `first` results when paginating forward (`last` when * paginating backwards). If there are more transactions to scan, * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set * to the last transaction that was scanned as opposed to the last (or * first) transaction in the page. * * Requesting the next (or previous) page after this cursor will resume the * search, scanning the next `scanLimit` many transactions in the * direction of pagination, and so on until all transactions in the * scanning range have been visited. * * By default, the scanning range includes all transactions known to * GraphQL, but it can be restricted by the `after` and `before` * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and * `atCheckpoint` filters. * * DEPRECATION NOTICE: Support for the combination of two or more complex * filters as discussed above will stop with the v1.38 release. `scanLimit` * will thus become obsolete and will be removed as well. */ receivedTransactionBlocks: TransactionBlockConnection; /** The epoch at which this object was requested to join a stake pool. */ requestedEpoch?: Maybe; /** A stake can be pending, active, or unstaked */ stakeStatus: StakeStatus; /** The `0x3::staking_pool::StakedIota` objects owned by this object. */ stakedIotas: StakedIotaConnection; /** * The current status of the object as read from the off-chain store. The * possible states are: * - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis * or system package upgrade transaction. * - INDEXED: The object is retrieved from the off-chain index and represents the most recent * or historical state of the object. */ status: ObjectKind; /** * The amount of IOTA we would rebate if this object gets deleted or * mutated. This number is recalculated based on the present storage * gas price. */ storageRebate?: Maybe; version: Scalars['UInt53']['output']; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaBalanceArgs = { type?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaBalancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaCoinsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; type?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaDynamicFieldArgs = { name: DynamicFieldName; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaDynamicFieldsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaDynamicObjectFieldArgs = { name: DynamicFieldName; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaIotaNamesDefaultNameArgs = { format?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaIotaNamesRegistrationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaObjectsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaReceivedTransactionBlocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; scanLimit?: InputMaybe; }; /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */ export type StakedIotaStakedIotasArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type StakedIotaConnection = { __typename?: 'StakedIotaConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type StakedIotaEdge = { __typename?: 'StakedIotaEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: StakedIota; }; /** IOTA set aside to account for objects stored on-chain. */ export type StorageFund = { __typename?: 'StorageFund'; /** * The portion of the storage fund that will never be refunded through * storage rebates. * * The system maintains an invariant that the sum of all storage fees into * the storage fund is equal to the sum of all storage rebates out, * the total storage rebates remaining, and the non-refundable balance. */ nonRefundableBalance?: Maybe; /** Sum of storage rebates of live objects on chain. */ totalObjectStorageRebates?: Maybe; }; export type Subscription = { __typename?: 'Subscription'; /** * Subscribe to incoming events from the IOTA network. * * If no filter is provided, all events will be returned. * * # Stream recovery * * Events are streamed in transaction order, all events from a single * transaction arrive contiguously before any events from the next one. * * When `start_after` is provided with a transaction digest, the stream * resumes from the transaction immediately after it. * * Because a single transaction can emit multiple events, a disconnection * may leave the client with only a partial set of events from the * transaction it was last receiving. A transaction is considered fully * received only once the client has seen an event from the following * transaction (a digest change signals the previous transaction is * complete). * * On reconnect, clients should pass the digest of the last fully * received transaction as `start_after`. The stream resumes from the * next transaction, so no partial transaction is ever observed. */ events: EventSubscriptionPayload; /** * Subscribe to incoming transactions from the IOTA network. * * If no filter is provided, all transactions will be returned. * * # Stream recovery * * When `start_after` is provided with the digest of the last transaction * the client received, the stream resumes from the transaction * immediately after it. The identified transaction itself is not * emitted. */ transactions: TransactionBlockSubscriptionPayload; }; export type SubscriptionEventsArgs = { filter?: InputMaybe; startAfter?: InputMaybe; }; export type SubscriptionTransactionsArgs = { filter?: InputMaybe; startAfter?: InputMaybe; }; /** Filter incoming events in a subscription. */ export type SubscriptionEventFilter = /** * Filter incoming events by emitting module. * * - Filter by package: "0x02" * - Filter by module: "0x02::coin" */ { emittingModule: Scalars['String']['input']; }; /** Filter incoming transactions in a subscription. */ export type SubscriptionTransactionFilter = /** * Filter incoming transactions by package, module, or function name. * * - Filter by package: "0x03" * - Filter by module: "0x03::iota_system" * - Filter by function: "0x03::iota_system::request_add_stake" */ { function: Scalars['String']['input']; kind?: never; signingAddress?: never; } | /** Filter incoming transactions by kind. */ { function?: never; kind: TransactionBlockKindInput; signingAddress?: never; } | /** Filter incoming transactions by signing address. */ { function?: never; kind?: never; signingAddress: Scalars['IotaAddress']['input']; }; /** Details of the system that are decided during genesis. */ export type SystemParameters = { __typename?: 'SystemParameters'; /** Target duration of an epoch, in milliseconds. */ durationMs?: Maybe; /** The maximum number of active validators that the system supports. */ maxValidatorCount?: Maybe; /** The minimum number of active validators that the system supports. */ minValidatorCount?: Maybe; /** Minimum stake needed to become a new validator. */ minValidatorJoiningStake?: Maybe; /** * The number of epochs that a validator has to recover from having less * than `validatorLowStakeThreshold` stake. */ validatorLowStakeGracePeriod?: Maybe; /** * Validators with stake below this threshold will enter the grace period * (see `validatorLowStakeGracePeriod`), after which they are removed * from the active validator set. */ validatorLowStakeThreshold?: Maybe; /** * Validators with stake below this threshold will be removed from the * active validator set at the next epoch boundary, without a grace * period. */ validatorVeryLowStakeThreshold?: Maybe; }; /** An argument to a programmable transaction command. */ export type TransactionArgument = GasCoin | Input | Result; export type TransactionBlock = { __typename?: 'TransactionBlock'; /** * This transaction's `SenderSignedTransaction`, BCS serialized and Base64 * encoded. * * `null` for simulated transactions, which have no signatures. use * `bcsUnsigned` for them instead. */ bcs?: Maybe; /** * This transaction's `TransactionData` (the transaction without its * signatures), BCS serialized and Base64 encoded. * * Available for every transaction, including simulated ones. */ bcsUnsigned?: Maybe; /** * A 32-byte hash that uniquely identifies the transaction block contents, * encoded in Base58. This serves as a unique id for the block on * chain. */ digest?: Maybe; /** * The effects field captures the results to the chain of executing this * transaction. */ effects?: Maybe; /** * This field is set by senders of a transaction block. It is an epoch * reference that sets a deadline after which validators will no longer * consider the transaction valid. By default, there is no deadline for * when a transaction must execute. */ expiration?: Maybe; /** * The gas input field provides information on what objects were used as * gas as well as the owner of the gas object(s) and information on the * gas price and budget. * * If the owner of the gas object(s) is not the same as the sender, the * transaction block is a sponsored transaction block. */ gasInput?: Maybe; /** * Returns whether the transaction has been indexed on the fullnode. * * This makes a request to the fullnode if the transaction is not part of * a checkpoint to resolve the index status on the node. * * However, as this relies on the transaction data being already * constructed or fetched from the backing database, it only makes * sense to be used with `Mutation.executeTransactionBlock` on the * resulting effects. * * Otherwise, it is recommended that you use * `Query.isTransactionIndexedOnNode` for optimal performance. */ indexedOnNode?: Maybe; /** * The type of this transaction as well as the commands and/or parameters * comprising the transaction of this kind. */ kind?: Maybe; /** * The address corresponding to the public key that signed this * transaction. System transactions do not have senders. */ sender?: Maybe
; /** * A list of all signatures, Base64-encoded, from senders, and potentially * the gas owner if this is a sponsored transaction. */ signatures?: Maybe>; }; export type TransactionBlockConnection = { __typename?: 'TransactionBlockConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type TransactionBlockEdge = { __typename?: 'TransactionBlockEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: TransactionBlock; }; /** The effects representing the result of executing a transaction block. */ export type TransactionBlockEffects = { __typename?: 'TransactionBlockEffects'; /** * The error code of the Move abort, populated if this transaction failed * with a Move abort. */ abortCode?: Maybe; /** * The effect this transaction had on the balances (sum of coin values per * coin type) of addresses and objects. */ balanceChanges: BalanceChangeConnection; /** Base64 encoded bcs serialization of the on-chain transaction effects. */ bcs: Scalars['Base64']['output']; /** * The checkpoint this transaction was finalized in, if it is within the * available range. */ checkpoint?: Maybe; /** Transactions whose outputs this transaction depends upon. */ dependencies: DependencyConnection; /** The epoch this transaction was executed in. */ epoch?: Maybe; /** * The reason for a transaction failure, if it did fail. * If the error is a Move abort, the error message will be resolved to a * human-readable form if possible, otherwise it will fall back to * displaying the abort code and location. */ errors?: Maybe; /** Events emitted by this transaction block. */ events: EventConnection; /** Effects to the gas object. */ gasEffects?: Maybe; /** * The latest version of all objects (apart from packages) that have been * created or modified by this transaction, immediately following this * transaction. */ lamportVersion: Scalars['UInt53']['output']; /** The effect this transaction had on objects on-chain. */ objectChanges: ObjectChangeConnection; /** Whether the transaction executed successfully or not. */ status?: Maybe; /** * Timestamp corresponding to the checkpoint this transaction was finalized * in. */ timestamp?: Maybe; /** The transaction that ran to produce these effects. */ transactionBlock?: Maybe; /** * Shared objects that are referenced by but not changed by this * transaction. */ unchangedSharedObjects: UnchangedSharedObjectConnection; }; /** The effects representing the result of executing a transaction block. */ export type TransactionBlockEffectsBalanceChangesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The effects representing the result of executing a transaction block. */ export type TransactionBlockEffectsDependenciesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The effects representing the result of executing a transaction block. */ export type TransactionBlockEffectsEventsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The effects representing the result of executing a transaction block. */ export type TransactionBlockEffectsObjectChangesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The effects representing the result of executing a transaction block. */ export type TransactionBlockEffectsUnchangedSharedObjectsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents optional available filters for transaction blocks. */ export type TransactionBlockFilter = { /** * Limit to transactions that affected the given address (the address is * the sender, a recipient, or the owner of the gas payment). */ affectedAddress?: InputMaybe; /** Limit to transactions that occurred strictly after the given checkpoint. */ afterCheckpoint?: InputMaybe; /** Limit to transactions in the given checkpoint. */ atCheckpoint?: InputMaybe; /** Limit to transaction that occurred strictly before the given checkpoint. */ beforeCheckpoint?: InputMaybe; /** Limit to transactions that output a version of this object. */ changedObject?: InputMaybe; /** * Filter transactions by move function called. * * Calls can be filtered by the `package`, `package::module`, or the * `package::module::name` of their function. */ function?: InputMaybe; /** Limit to transactions that accepted the given object as an input. */ inputObject?: InputMaybe; /** * An input filter selecting for either system or programmable * transactions. */ kind?: InputMaybe; /** Limit to transactions that sent an object to the given address. */ recvAddress?: InputMaybe; /** Limit to transactions that were sent by the given address. */ sentAddress?: InputMaybe; /** Select transactions by their digest. */ transactionIds?: InputMaybe>; /** Limit to transactions that wrapped or deleted the given object. */ wrappedOrDeletedObject?: InputMaybe; }; /** * The kind of transaction block, either a programmable transaction or a system * transaction. */ export type TransactionBlockKind = ConsensusCommitPrologueTransaction | EndOfEpochTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction | TransactionDenyRulesUpdateTransaction; /** An input filter selecting for either system or programmable transactions. */ export declare enum TransactionBlockKindInput { /** The consensus commit prologue transaction block. */ ConsensusCommitPrologueV1 = "CONSENSUS_COMMIT_PROLOGUE_V1", /** The end of epoch transaction block. */ EndOfEpochTx = "END_OF_EPOCH_TX", /** The genesis transaction block. */ Genesis = "GENESIS", /** A user submitted transaction block. */ ProgrammableTx = "PROGRAMMABLE_TX", /** The randomness state update transaction block. */ RandomnessStateUpdate = "RANDOMNESS_STATE_UPDATE", /** * A system transaction can be one of several types of transactions. * See [unions/transaction-block-kind] for more details. */ SystemTx = "SYSTEM_TX" } /** * Possible responses from a subscription. * * It could be one of the following: * - A successful payload from the subscription stream. * - A notice that the subscription has been lagged behind the network with the number of lost * payloads. */ export type TransactionBlockSubscriptionPayload = Lagged | TransactionBlock; export type TransactionDenyRulesCreateTransaction = { __typename?: 'TransactionDenyRulesCreateTransaction'; /** A workaround to define an empty variant of a GraphQL union. */ dummy?: Maybe; }; /** * System transaction that applies an add/remove delta to the on-chain * transaction deny rules; the switch states are absolute. */ export type TransactionDenyRulesUpdateTransaction = { __typename?: 'TransactionDenyRulesUpdateTransaction'; /** Addresses added to the sender-or-sponsor deny list. */ addedAddresses: Array; /** Objects added to the input-or-receiving deny list. */ addedObjects: Array; /** Packages added to the dependency deny list. */ addedPackages: Array; /** The initial version the deny rules object was shared at. */ denyRulesObjInitialSharedVersion: Scalars['UInt53']['output']; /** Epoch of the deny rules update transaction. */ epoch?: Maybe; /** Whether transactions signed with a Move authenticator are denied. */ moveAuthenticatorDisabled: Scalars['Boolean']['output']; /** Whether all package publishing is denied. */ packagePublishDisabled: Scalars['Boolean']['output']; /** Whether all package upgrades are denied. */ packageUpgradeDisabled: Scalars['Boolean']['output']; /** Whether transactions that contain receiving objects are denied. */ receivingObjectsDisabled: Scalars['Boolean']['output']; /** Addresses removed from the sender-or-sponsor deny list. */ removedAddresses: Array; /** Objects removed from the input-or-receiving deny list. */ removedObjects: Array; /** Packages removed from the dependency deny list. */ removedPackages: Array; /** Consensus round of the update. */ round: Scalars['UInt53']['output']; /** Whether transactions that use shared objects as inputs are denied. */ sharedObjectDisabled: Scalars['Boolean']['output']; /** Whether all user transactions are denied. */ userTransactionDisabled: Scalars['Boolean']['output']; }; export type TransactionInput = OwnedOrImmutable | Pure | Receiving | SharedInput; export type TransactionInputConnection = { __typename?: 'TransactionInputConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type TransactionInputEdge = { __typename?: 'TransactionInputEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: TransactionInput; }; /** * The optional extra data a user can provide to a transaction dry run. * `sender` defaults to `0x0`. If gasObjects` is not present, or is an empty * list, it is substituted with a mock Coin object, `gasPrice` defaults to the * reference gas price, `gasBudget` defaults to the max gas budget and * `gasSponsor` defaults to the sender. */ export type TransactionMetadata = { gasBudget?: InputMaybe; gasObjects?: InputMaybe>; gasPrice?: InputMaybe; gasSponsor?: InputMaybe; sender?: InputMaybe; }; /** A page of the `transactionsByDigests` query. */ export type TransactionsByDigestsPage = { __typename?: 'TransactionsByDigestsPage'; /** * Cursor of the last entry of this page; pass it as `cursor` to get the * next page. */ endCursor?: Maybe; /** Whether there are more entries after this page. */ hasNextPage: Scalars['Boolean']['output']; /** * One entry per digest of the page, in the order of the `digests` * argument, null when the transaction was not found. */ nodes: Array>; }; /** * Transfers `inputs` to `address`. All inputs must have the `store` ability * (allows public transfer) and must not be previously immutable or shared. */ export type TransferObjectsTransaction = { __typename?: 'TransferObjectsTransaction'; /** The address to transfer to. */ address: TransactionArgument; /** The objects to transfer. */ inputs: Array; }; /** Information about which previous versions of a package introduced its types. */ export type TypeOrigin = { __typename?: 'TypeOrigin'; /** The storage ID of the package that first defined this type. */ definingId: Scalars['IotaAddress']['output']; /** Module defining the type. */ module: Scalars['String']['output']; /** Name of the struct. */ struct: Scalars['String']['output']; }; /** * Details pertaining to shared objects that are referenced by but not changed * by a transaction. This information is considered part of the effects, * because although the transaction specifies the shared object as input, * consensus must schedule it and pick the version that is actually used. */ export type UnchangedSharedObject = SharedObjectCancelled | SharedObjectDelete | SharedObjectRead; export type UnchangedSharedObjectConnection = { __typename?: 'UnchangedSharedObjectConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** An edge in a connection. */ export type UnchangedSharedObjectEdge = { __typename?: 'UnchangedSharedObjectEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: UnchangedSharedObject; }; /** Upgrades a Move Package. */ export type UpgradeTransaction = { __typename?: 'UpgradeTransaction'; /** ID of the package being upgraded. */ currentPackage: Scalars['IotaAddress']['output']; /** IDs of the transitive dependencies of the package to be published. */ dependencies: Array; /** * Bytecode for the modules to be published, BCS serialized and Base64 * encoded. */ modules: Array; /** The `UpgradeTicket` authorizing the upgrade. */ upgradeTicket: TransactionArgument; }; export type Validator = { __typename?: 'Validator'; /** The validator's address. */ address: Address; /** * The APY of this validator in basis points. To get the APY in * percentage, divide by 100. */ apy?: Maybe; /** * The number of epochs for which this validator has been below the * low stake threshold. */ atRisk?: Maybe; /** The fee set by the validator for providing staking services. */ commissionRate?: Maybe; /** * Validator's set of credentials such as public keys, network addresses * and others. */ credentials?: Maybe; /** Validator's description. */ description?: Maybe; /** * The effective fee charged by the validator for staking services. * * This is evaluated according to [IIP8](https://github.com/iotaledger/IIPs/blob/main/iips/IIP-0008/IIP-0008.md) * for epochs with protocol version >= 20. */ effectiveCommissionRate?: Maybe; /** * The validator's current exchange object. The exchange rate is used to * determine the amount of IOTA tokens that each past IOTA staker can * withdraw in the future. * @deprecated The exchange object is a wrapped object. Access its dynamic fields through the `exchangeRatesTable` query. */ exchangeRates?: Maybe; /** Number of exchange rates in the table. */ exchangeRatesSize?: Maybe; /** * A wrapped object containing the validator's exchange rates. This is a * table from epoch number to `PoolTokenExchangeRate` value. The * exchange rate is used to determine the amount of IOTA tokens that * each past IOTA staker can withdraw in the future. */ exchangeRatesTable?: Maybe; /** The reference gas price for this epoch. */ gasPrice?: Maybe; /** Validator's url containing their custom image. */ imageUrl?: Maybe; /** Validator's name. */ name?: Maybe; /** The proposed next epoch fee for the validator's staking services. */ nextEpochCommissionRate?: Maybe; /** Validator's set of credentials for the next epoch. */ nextEpochCredentials?: Maybe; /** The validator's gas price quote for the next epoch. */ nextEpochGasPrice?: Maybe; /** * The total number of IOTA tokens in this pool plus * the pending stake amount for this epoch. */ nextEpochStake?: Maybe; /** * The validator's current valid `Cap` object. Validators can delegate * the operation ability to another address. The address holding this `Cap` * object can then update the reference gas price and tallying rule on * behalf of the validator. */ operationCap?: Maybe; /** * Pending pool token withdrawn during the current epoch, emptied at epoch * boundaries. Zero for past epochs. */ pendingPoolTokenWithdraw?: Maybe; /** * Pending stake amount for the current epoch, emptied at epoch boundaries. * Zero for past epochs. */ pendingStake?: Maybe; /** * Pending stake withdrawn during the current epoch, emptied at epoch * boundaries. Zero for past epochs. */ pendingTotalIotaWithdraw?: Maybe; /** Total number of pool tokens issued by the pool. */ poolTokenBalance?: Maybe; /** Validator's homepage URL. */ projectUrl?: Maybe; /** The addresses of other validators this validator has reported. */ reportRecords: AddressConnection; /** The epoch stake rewards will be added here at the end of each epoch. */ rewardsPool?: Maybe; /** * The validator's current staking pool object, used to track the amount of * stake and to compound staking rewards. * @deprecated The staking pool is a wrapped object. Access its fields directly on the `Validator` type. */ stakingPool?: Maybe; /** The epoch at which this pool became active. */ stakingPoolActivationEpoch?: Maybe; /** The ID of this validator's `0x3::staking_pool::StakingPoolV1`. */ stakingPoolId: Scalars['IotaAddress']['output']; /** The total number of IOTA tokens in this pool. */ stakingPoolIotaBalance?: Maybe; /** * The voting power of this validator in basis points (e.g., 100 = 1% * voting power). */ votingPower?: Maybe; }; export type ValidatorReportRecordsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type ValidatorConnection = { __typename?: 'ValidatorConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** The credentials related fields associated with a validator. */ export type ValidatorCredentials = { __typename?: 'ValidatorCredentials'; authorityPubKey?: Maybe; netAddress?: Maybe; networkPubKey?: Maybe; p2PAddress?: Maybe; primaryAddress?: Maybe; proofOfPossession?: Maybe; protocolPubKey?: Maybe; }; /** An edge in a connection. */ export type ValidatorEdge = { __typename?: 'ValidatorEdge'; /** A cursor for use in pagination */ cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Validator; }; /** Representation of `0x3::validator_set::ValidatorSet`. */ export type ValidatorSet = { __typename?: 'ValidatorSet'; /** The current set of active validators. */ activeValidators: ValidatorConnection; /** The current set of committee members. */ committeeMembers: ValidatorConnection; /** Object ID of the `Table` storing the inactive staking pools. */ inactivePoolsId?: Maybe; /** Size of the inactive pools `Table`. */ inactivePoolsSize?: Maybe; /** * Object ID of the wrapped object `TableVec` storing the pending active * validators. */ pendingActiveValidatorsId?: Maybe; /** Size of the pending active validators table. */ pendingActiveValidatorsSize?: Maybe; /** * Validators that are pending removal from the active validator set, * expressed as indices in to `activeValidators`. */ pendingRemovals?: Maybe>; /** * Object ID of the `Table` storing the mapping from staking pool ids to * the addresses of the corresponding validators. This is needed * because a validator's address can potentially change but the object * ID of its pool will not. */ stakingPoolMappingsId?: Maybe; /** Size of the stake pool mappings `Table`. */ stakingPoolMappingsSize?: Maybe; /** * Total amount of stake for all active validators at the beginning of the * epoch. */ totalStake?: Maybe; /** Object ID of the `Table` storing the validator candidates. */ validatorCandidatesId?: Maybe; /** Size of the validator candidates `Table`. */ validatorCandidatesSize?: Maybe; }; /** Representation of `0x3::validator_set::ValidatorSet`. */ export type ValidatorSetActiveValidatorsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Representation of `0x3::validator_set::ValidatorSet`. */ export type ValidatorSetCommitteeMembersArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type GetCheckpointQueryVariables = Exact<{ id?: InputMaybe; }>; export type GetCheckpointQuery = { __typename?: 'Query'; checkpoint?: { __typename?: 'Checkpoint'; digest: string; networkTotalTransactions?: any | null; previousCheckpointDigest?: string | null; sequenceNumber: any; timestamp: any; validatorSignatures: any; epoch?: { __typename?: 'Epoch'; epochId: any; } | null; rollingGasSummary?: { __typename?: 'GasCostSummary'; computationCost?: any | null; computationCostBurned?: any | null; storageCost?: any | null; storageRebate?: any | null; nonRefundableStorageFee?: any | null; } | null; transactionBlocks: { __typename?: 'TransactionBlockConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; }>; }; endOfEpoch: { __typename?: 'TransactionBlockConnection'; nodes: Array<{ __typename?: 'TransactionBlock'; kind?: { __typename: 'ConsensusCommitPrologueTransaction'; } | { __typename: 'EndOfEpochTransaction'; transactions: { __typename?: 'EndOfEpochTransactionKindConnection'; nodes: Array<{ __typename: 'ChangeEpochTransaction'; } | { __typename: 'ChangeEpochTransactionV2'; epoch?: { __typename?: 'Epoch'; epochId: any; validatorSet?: { __typename?: 'ValidatorSet'; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; } | null; protocolConfigs: { __typename?: 'ProtocolConfigs'; protocolVersion: any; }; } | null; } | { __typename: 'TransactionDenyRulesCreateTransaction'; }>; }; } | { __typename: 'GenesisTransaction'; } | { __typename: 'ProgrammableTransactionBlock'; } | { __typename: 'RandomnessStateUpdateTransaction'; } | { __typename: 'TransactionDenyRulesUpdateTransaction'; } | null; }>; }; } | null; }; export type GetCheckpointsQueryVariables = Exact<{ first?: InputMaybe; before?: InputMaybe; last?: InputMaybe; after?: InputMaybe; }>; export type GetCheckpointsQuery = { __typename?: 'Query'; checkpoints: { __typename?: 'CheckpointConnection'; pageInfo: { __typename?: 'PageInfo'; startCursor?: string | null; endCursor?: string | null; hasNextPage: boolean; hasPreviousPage: boolean; }; nodes: Array<{ __typename?: 'Checkpoint'; digest: string; networkTotalTransactions?: any | null; previousCheckpointDigest?: string | null; sequenceNumber: any; timestamp: any; validatorSignatures: any; epoch?: { __typename?: 'Epoch'; epochId: any; } | null; rollingGasSummary?: { __typename?: 'GasCostSummary'; computationCost?: any | null; computationCostBurned?: any | null; storageCost?: any | null; storageRebate?: any | null; nonRefundableStorageFee?: any | null; } | null; transactionBlocks: { __typename?: 'TransactionBlockConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; }>; }; endOfEpoch: { __typename?: 'TransactionBlockConnection'; nodes: Array<{ __typename?: 'TransactionBlock'; kind?: { __typename: 'ConsensusCommitPrologueTransaction'; } | { __typename: 'EndOfEpochTransaction'; transactions: { __typename?: 'EndOfEpochTransactionKindConnection'; nodes: Array<{ __typename: 'ChangeEpochTransaction'; } | { __typename: 'ChangeEpochTransactionV2'; epoch?: { __typename?: 'Epoch'; epochId: any; validatorSet?: { __typename?: 'ValidatorSet'; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; } | null; protocolConfigs: { __typename?: 'ProtocolConfigs'; protocolVersion: any; }; } | null; } | { __typename: 'TransactionDenyRulesCreateTransaction'; }>; }; } | { __typename: 'GenesisTransaction'; } | { __typename: 'ProgrammableTransactionBlock'; } | { __typename: 'RandomnessStateUpdateTransaction'; } | { __typename: 'TransactionDenyRulesUpdateTransaction'; } | null; }>; }; }>; }; }; export type PaginateCheckpointTransactionBlocksQueryVariables = Exact<{ id?: InputMaybe; after?: InputMaybe; }>; export type PaginateCheckpointTransactionBlocksQuery = { __typename?: 'Query'; checkpoint?: { __typename?: 'Checkpoint'; transactionBlocks: { __typename?: 'TransactionBlockConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; }>; }; } | null; }; export type Rpc_Checkpoint_FieldsFragment = { __typename?: 'Checkpoint'; digest: string; networkTotalTransactions?: any | null; previousCheckpointDigest?: string | null; sequenceNumber: any; timestamp: any; validatorSignatures: any; epoch?: { __typename?: 'Epoch'; epochId: any; } | null; rollingGasSummary?: { __typename?: 'GasCostSummary'; computationCost?: any | null; computationCostBurned?: any | null; storageCost?: any | null; storageRebate?: any | null; nonRefundableStorageFee?: any | null; } | null; transactionBlocks: { __typename?: 'TransactionBlockConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; }>; }; endOfEpoch: { __typename?: 'TransactionBlockConnection'; nodes: Array<{ __typename?: 'TransactionBlock'; kind?: { __typename: 'ConsensusCommitPrologueTransaction'; } | { __typename: 'EndOfEpochTransaction'; transactions: { __typename?: 'EndOfEpochTransactionKindConnection'; nodes: Array<{ __typename: 'ChangeEpochTransaction'; } | { __typename: 'ChangeEpochTransactionV2'; epoch?: { __typename?: 'Epoch'; epochId: any; validatorSet?: { __typename?: 'ValidatorSet'; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; } | null; protocolConfigs: { __typename?: 'ProtocolConfigs'; protocolVersion: any; }; } | null; } | { __typename: 'TransactionDenyRulesCreateTransaction'; }>; }; } | { __typename: 'GenesisTransaction'; } | { __typename: 'ProgrammableTransactionBlock'; } | { __typename: 'RandomnessStateUpdateTransaction'; } | { __typename: 'TransactionDenyRulesUpdateTransaction'; } | null; }>; }; }; export type DevInspectTransactionBlockQueryVariables = Exact<{ txBytes: Scalars['String']['input']; txMeta: TransactionMetadata; showBalanceChanges?: InputMaybe; showEffects?: InputMaybe; showRawEffects?: InputMaybe; showEvents?: InputMaybe; showInput?: InputMaybe; showObjectChanges?: InputMaybe; showRawInput?: InputMaybe; }>; export type DevInspectTransactionBlockQuery = { __typename?: 'Query'; dryRunTransactionBlock: { __typename?: 'DryRunResult'; error?: string | null; results?: Array<{ __typename?: 'DryRunEffect'; mutatedReferences?: Array<{ __typename?: 'DryRunMutation'; bcs: any; input: { __typename: 'GasCoin'; } | { __typename: 'Input'; inputIndex: number; } | { __typename: 'Result'; cmd: number; resultIndex?: number | null; }; type: { __typename?: 'MoveType'; repr: string; }; }> | null; returnValues?: Array<{ __typename?: 'DryRunReturn'; bcs: any; type: { __typename?: 'MoveType'; repr: string; }; }> | null; }> | null; transaction?: { __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; } | null; }; }; export type DryRunTransactionBlockQueryVariables = Exact<{ txBytes: Scalars['String']['input']; showBalanceChanges?: InputMaybe; showEffects?: InputMaybe; showRawEffects?: InputMaybe; showEvents?: InputMaybe; showInput?: InputMaybe; showObjectChanges?: InputMaybe; showRawInput?: InputMaybe; }>; export type DryRunTransactionBlockQuery = { __typename?: 'Query'; dryRunTransactionBlock: { __typename?: 'DryRunResult'; error?: string | null; transaction?: { __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; } | null; }; }; export type ExecuteTransactionBlockMutationVariables = Exact<{ txBytes: Scalars['String']['input']; signatures: Array | Scalars['String']['input']; showBalanceChanges?: InputMaybe; showEffects?: InputMaybe; showRawEffects?: InputMaybe; showEvents?: InputMaybe; showInput?: InputMaybe; showObjectChanges?: InputMaybe; showRawInput?: InputMaybe; }>; export type ExecuteTransactionBlockMutation = { __typename?: 'Mutation'; executeTransactionBlock: { __typename?: 'ExecutionResult'; errors?: Array | null; effects: { __typename?: 'TransactionBlockEffects'; transactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; } | null; }; }; }; export type GetAllBalancesQueryVariables = Exact<{ owner: Scalars['IotaAddress']['input']; limit?: InputMaybe; cursor?: InputMaybe; }>; export type GetAllBalancesQuery = { __typename?: 'Query'; address?: { __typename?: 'Address'; balances: { __typename?: 'BalanceConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Balance'; coinObjectCount?: any | null; totalBalance?: any | null; coinType: { __typename?: 'MoveType'; repr: string; }; }>; }; } | null; }; export type GetBalanceQueryVariables = Exact<{ owner: Scalars['IotaAddress']['input']; type?: InputMaybe; }>; export type GetBalanceQuery = { __typename?: 'Query'; address?: { __typename?: 'Address'; balance?: { __typename?: 'Balance'; coinObjectCount?: any | null; totalBalance?: any | null; coinType: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; }; export type GetChainIdentifierQueryVariables = Exact<{ [key: string]: never; }>; export type GetChainIdentifierQuery = { __typename?: 'Query'; chainIdentifier: string; }; export type GetCoinMetadataQueryVariables = Exact<{ coinType: Scalars['String']['input']; }>; export type GetCoinMetadataQuery = { __typename?: 'Query'; coinMetadata?: { __typename?: 'CoinMetadata'; decimals?: number | null; name?: string | null; symbol?: string | null; description?: string | null; iconUrl?: string | null; address: any; } | null; }; export type GetCoinsQueryVariables = Exact<{ owner: Scalars['IotaAddress']['input']; first?: InputMaybe; cursor?: InputMaybe; type?: InputMaybe; }>; export type GetCoinsQuery = { __typename?: 'Query'; address?: { __typename?: 'Address'; address: any; coins: { __typename?: 'CoinConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Coin'; coinBalance?: any | null; address: any; version: any; digest?: string | null; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; }>; }; } | null; }; export type GetCommitteeInfoQueryVariables = Exact<{ epochId?: InputMaybe; after?: InputMaybe; }>; export type GetCommitteeInfoQuery = { __typename?: 'Query'; epoch?: { __typename?: 'Epoch'; epochId: any; validatorSet?: { __typename?: 'ValidatorSet'; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; votingPower?: number | null; credentials?: { __typename?: 'ValidatorCredentials'; authorityPubKey?: any | null; } | null; }>; }; } | null; } | null; }; export type GetCurrentEpochQueryVariables = Exact<{ [key: string]: never; }>; export type GetCurrentEpochQuery = { __typename?: 'Query'; epoch?: { __typename?: 'Epoch'; epochId: any; totalTransactions?: any | null; startTimestamp: any; endTimestamp?: any | null; referenceGasPrice?: any | null; validatorSet?: { __typename?: 'ValidatorSet'; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }>; }; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }>; }; } | null; firstCheckpoint: { __typename?: 'CheckpointConnection'; nodes: Array<{ __typename?: 'Checkpoint'; sequenceNumber: any; }>; }; } | null; }; export type PaginateEpochValidatorsQueryVariables = Exact<{ id: Scalars['UInt53']['input']; after?: InputMaybe; }>; export type PaginateEpochValidatorsQuery = { __typename?: 'Query'; epoch?: { __typename?: 'Epoch'; validatorSet?: { __typename?: 'ValidatorSet'; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }>; }; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }>; }; } | null; } | null; }; export type Rpc_Validator_FieldsFragment = { __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }; export type Rpc_Credential_FieldsFragment = { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; }; export type GetTypeLayoutQueryVariables = Exact<{ type: Scalars['String']['input']; }>; export type GetTypeLayoutQuery = { __typename?: 'Query'; type: { __typename?: 'MoveType'; layout: any; }; }; export type GetDynamicFieldObjectQueryVariables = Exact<{ parentId: Scalars['IotaAddress']['input']; name: DynamicFieldName; showBcs?: InputMaybe; showContent?: InputMaybe; showDisplay?: InputMaybe; showType?: InputMaybe; showOwner?: InputMaybe; showPreviousTransaction?: InputMaybe; showStorageRebate?: InputMaybe; }>; export type GetDynamicFieldObjectQuery = { __typename?: 'Query'; owner?: { __typename?: 'Owner'; dynamicObjectField?: { __typename?: 'DynamicField'; value?: { __typename: 'MoveObject'; owner?: { __typename: 'AddressOwner'; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; digest?: string | null; version: any; storageRebate?: any | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; owner?: { __typename: 'AddressOwner'; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; data: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; } | null; } | null; } | { __typename: 'Shared'; } | null; } | { __typename: 'MoveValue'; } | null; } | null; } | null; }; export type GetDynamicFieldsQueryVariables = Exact<{ parentId: Scalars['IotaAddress']['input']; first?: InputMaybe; cursor?: InputMaybe; }>; export type GetDynamicFieldsQuery = { __typename?: 'Query'; owner?: { __typename?: 'Owner'; dynamicFields: { __typename?: 'DynamicFieldConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'DynamicField'; name?: { __typename?: 'MoveValue'; bcs: any; json: any; type: { __typename?: 'MoveType'; layout: any; repr: string; }; } | null; value?: { __typename: 'MoveObject'; address: any; digest?: string | null; version: any; contents?: { __typename?: 'MoveValue'; json: any; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | { __typename: 'MoveValue'; json: any; type: { __typename?: 'MoveType'; repr: string; }; } | null; }>; }; } | null; }; export type GetLatestCheckpointSequenceNumberQueryVariables = Exact<{ [key: string]: never; }>; export type GetLatestCheckpointSequenceNumberQuery = { __typename?: 'Query'; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; }; export type GetLatestIotaSystemStateQueryVariables = Exact<{ [key: string]: never; }>; export type GetLatestIotaSystemStateQuery = { __typename?: 'Query'; epoch?: { __typename?: 'Epoch'; epochId: any; startTimestamp: any; endTimestamp?: any | null; referenceGasPrice?: any | null; systemStateVersion?: any | null; iotaTotalSupply?: any | null; iotaTreasuryCapId?: any | null; safeMode?: { __typename?: 'SafeMode'; enabled?: boolean | null; gasSummary?: { __typename?: 'GasCostSummary'; computationCost?: any | null; computationCostBurned?: any | null; nonRefundableStorageFee?: any | null; storageCost?: any | null; storageRebate?: any | null; } | null; } | null; storageFund?: { __typename?: 'StorageFund'; nonRefundableBalance?: any | null; totalObjectStorageRebates?: any | null; } | null; systemParameters?: { __typename?: 'SystemParameters'; minValidatorCount?: number | null; maxValidatorCount?: number | null; minValidatorJoiningStake?: any | null; durationMs?: any | null; validatorLowStakeThreshold?: any | null; validatorLowStakeGracePeriod?: any | null; validatorVeryLowStakeThreshold?: any | null; } | null; protocolConfigs: { __typename?: 'ProtocolConfigs'; protocolVersion: any; }; validatorSet?: { __typename?: 'ValidatorSet'; inactivePoolsSize?: number | null; pendingActiveValidatorsSize?: number | null; stakingPoolMappingsSize?: number | null; validatorCandidatesSize?: number | null; pendingRemovals?: Array | null; totalStake?: any | null; stakingPoolMappingsId?: any | null; pendingActiveValidatorsId?: any | null; validatorCandidatesId?: any | null; inactivePoolsId?: any | null; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }>; }; committeeMembers: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; atRisk?: any | null; commissionRate?: number | null; effectiveCommissionRate?: number | null; exchangeRatesSize?: any | null; description?: string | null; gasPrice?: any | null; imageUrl?: string | null; name?: string | null; nextEpochCommissionRate?: number | null; nextEpochGasPrice?: any | null; nextEpochStake?: any | null; pendingPoolTokenWithdraw?: any | null; pendingStake?: any | null; pendingTotalIotaWithdraw?: any | null; poolTokenBalance?: any | null; projectUrl?: string | null; rewardsPool?: any | null; stakingPoolId: any; stakingPoolActivationEpoch?: any | null; stakingPoolIotaBalance?: any | null; votingPower?: number | null; exchangeRatesTable?: { __typename?: 'Owner'; address: any; } | null; credentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; nextEpochCredentials?: { __typename?: 'ValidatorCredentials'; netAddress?: string | null; networkPubKey?: any | null; p2PAddress?: string | null; primaryAddress?: string | null; authorityPubKey?: any | null; proofOfPossession?: any | null; protocolPubKey?: any | null; } | null; operationCap?: { __typename?: 'MoveObject'; address: any; } | null; address: { __typename?: 'Address'; address: any; }; }>; }; } | null; } | null; }; export type GetMoveFunctionArgTypesQueryVariables = Exact<{ packageId: Scalars['IotaAddress']['input']; module: Scalars['String']['input']; function: Scalars['String']['input']; }>; export type GetMoveFunctionArgTypesQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; asMovePackage?: { __typename?: 'MovePackage'; module?: { __typename?: 'MoveModule'; fileFormatVersion: number; function?: { __typename?: 'MoveFunction'; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; } | null; } | null; } | null; } | null; }; export type GetNormalizedMoveFunctionQueryVariables = Exact<{ packageId: Scalars['IotaAddress']['input']; module: Scalars['String']['input']; function: Scalars['String']['input']; }>; export type GetNormalizedMoveFunctionQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; address: any; asMovePackage?: { __typename?: 'MovePackage'; module?: { __typename?: 'MoveModule'; fileFormatVersion: number; function?: { __typename?: 'MoveFunction'; name: string; visibility?: MoveVisibility | null; isEntry?: boolean | null; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }> | null; return?: Array<{ __typename?: 'OpenMoveType'; repr: string; signature: any; }> | null; } | null; } | null; } | null; } | null; }; export type Rpc_Move_Function_FieldsFragment = { __typename?: 'MoveFunction'; name: string; visibility?: MoveVisibility | null; isEntry?: boolean | null; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }> | null; return?: Array<{ __typename?: 'OpenMoveType'; repr: string; signature: any; }> | null; }; export type GetNormalizedMoveModuleQueryVariables = Exact<{ packageId: Scalars['IotaAddress']['input']; module: Scalars['String']['input']; }>; export type GetNormalizedMoveModuleQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; asMovePackage?: { __typename?: 'MovePackage'; module?: { __typename?: 'MoveModule'; name: string; fileFormatVersion: number; friends: { __typename?: 'MoveModuleConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; }>; }; structs?: { __typename?: 'MoveStructConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveStruct'; name: string; abilities?: Array | null; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; signature: any; } | null; }> | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; isPhantom: boolean; constraints: Array; }> | null; }>; } | null; enums?: { __typename?: 'MoveEnumConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveEnum'; name: string; abilities?: Array | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; constraints: Array; isPhantom: boolean; }> | null; variants?: Array<{ __typename?: 'MoveEnumVariant'; name: string; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; repr: string; signature: any; } | null; }> | null; }> | null; }>; } | null; functions?: { __typename?: 'MoveFunctionConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveFunction'; name: string; visibility?: MoveVisibility | null; isEntry?: boolean | null; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }> | null; return?: Array<{ __typename?: 'OpenMoveType'; repr: string; signature: any; }> | null; }>; } | null; } | null; } | null; } | null; }; export type PaginateMoveModuleListsQueryVariables = Exact<{ packageId: Scalars['IotaAddress']['input']; module: Scalars['String']['input']; hasMoreFriends: Scalars['Boolean']['input']; hasMoreStructs: Scalars['Boolean']['input']; hasMoreFunctions: Scalars['Boolean']['input']; hasMoreEnums: Scalars['Boolean']['input']; afterFriends?: InputMaybe; afterStructs?: InputMaybe; afterFunctions?: InputMaybe; afterEnums?: InputMaybe; }>; export type PaginateMoveModuleListsQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; asMovePackage?: { __typename?: 'MovePackage'; module?: { __typename?: 'MoveModule'; friends?: { __typename?: 'MoveModuleConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; }>; }; structs?: { __typename?: 'MoveStructConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveStruct'; name: string; abilities?: Array | null; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; signature: any; } | null; }> | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; isPhantom: boolean; constraints: Array; }> | null; }>; } | null; functions?: { __typename?: 'MoveFunctionConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveFunction'; name: string; visibility?: MoveVisibility | null; isEntry?: boolean | null; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }> | null; return?: Array<{ __typename?: 'OpenMoveType'; repr: string; signature: any; }> | null; }>; } | null; enums?: { __typename?: 'MoveEnumConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveEnum'; name: string; abilities?: Array | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; constraints: Array; isPhantom: boolean; }> | null; variants?: Array<{ __typename?: 'MoveEnumVariant'; name: string; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; repr: string; signature: any; } | null; }> | null; }> | null; }>; } | null; } | null; } | null; } | null; }; export type Rpc_Move_Module_FieldsFragment = { __typename?: 'MoveModule'; name: string; fileFormatVersion: number; friends: { __typename?: 'MoveModuleConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; }>; }; structs?: { __typename?: 'MoveStructConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveStruct'; name: string; abilities?: Array | null; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; signature: any; } | null; }> | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; isPhantom: boolean; constraints: Array; }> | null; }>; } | null; enums?: { __typename?: 'MoveEnumConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveEnum'; name: string; abilities?: Array | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; constraints: Array; isPhantom: boolean; }> | null; variants?: Array<{ __typename?: 'MoveEnumVariant'; name: string; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; repr: string; signature: any; } | null; }> | null; }> | null; }>; } | null; functions?: { __typename?: 'MoveFunctionConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveFunction'; name: string; visibility?: MoveVisibility | null; isEntry?: boolean | null; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }> | null; return?: Array<{ __typename?: 'OpenMoveType'; repr: string; signature: any; }> | null; }>; } | null; }; export type Rpc_Move_Enum_FieldsFragment = { __typename?: 'MoveEnum'; name: string; abilities?: Array | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; constraints: Array; isPhantom: boolean; }> | null; variants?: Array<{ __typename?: 'MoveEnumVariant'; name: string; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; repr: string; signature: any; } | null; }> | null; }> | null; }; export type GetNormalizedMoveModulesByPackageQueryVariables = Exact<{ packageId: Scalars['IotaAddress']['input']; cursor?: InputMaybe; }>; export type GetNormalizedMoveModulesByPackageQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; asMovePackage?: { __typename?: 'MovePackage'; address: any; modules?: { __typename?: 'MoveModuleConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveModule'; name: string; fileFormatVersion: number; friends: { __typename?: 'MoveModuleConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; }>; }; structs?: { __typename?: 'MoveStructConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveStruct'; name: string; abilities?: Array | null; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; signature: any; } | null; }> | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; isPhantom: boolean; constraints: Array; }> | null; }>; } | null; enums?: { __typename?: 'MoveEnumConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveEnum'; name: string; abilities?: Array | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; constraints: Array; isPhantom: boolean; }> | null; variants?: Array<{ __typename?: 'MoveEnumVariant'; name: string; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; repr: string; signature: any; } | null; }> | null; }> | null; }>; } | null; functions?: { __typename?: 'MoveFunctionConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveFunction'; name: string; visibility?: MoveVisibility | null; isEntry?: boolean | null; parameters?: Array<{ __typename?: 'OpenMoveType'; signature: any; }> | null; typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter'; constraints: Array; }> | null; return?: Array<{ __typename?: 'OpenMoveType'; repr: string; signature: any; }> | null; }>; } | null; }>; } | null; } | null; } | null; }; export type GetNormalizedMoveStructQueryVariables = Exact<{ packageId: Scalars['IotaAddress']['input']; module: Scalars['String']['input']; struct: Scalars['String']['input']; }>; export type GetNormalizedMoveStructQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; asMovePackage?: { __typename?: 'MovePackage'; address: any; module?: { __typename?: 'MoveModule'; fileFormatVersion: number; struct?: { __typename?: 'MoveStruct'; name: string; abilities?: Array | null; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; signature: any; } | null; }> | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; isPhantom: boolean; constraints: Array; }> | null; } | null; } | null; } | null; } | null; }; export type Rpc_Move_Struct_FieldsFragment = { __typename?: 'MoveStruct'; name: string; abilities?: Array | null; fields?: Array<{ __typename?: 'MoveField'; name: string; type?: { __typename?: 'OpenMoveType'; signature: any; } | null; }> | null; typeParameters?: Array<{ __typename?: 'MoveStructTypeParameter'; isPhantom: boolean; constraints: Array; }> | null; }; export type GetProtocolConfigQueryVariables = Exact<{ protocolVersion?: InputMaybe; }>; export type GetProtocolConfigQuery = { __typename?: 'Query'; protocolConfig: { __typename?: 'ProtocolConfigs'; protocolVersion: any; configs: Array<{ __typename?: 'ProtocolConfigAttr'; key: string; value?: string | null; }>; featureFlags: Array<{ __typename?: 'ProtocolConfigFeatureFlag'; key: string; value: boolean; }>; }; }; export type GetReferenceGasPriceQueryVariables = Exact<{ [key: string]: never; }>; export type GetReferenceGasPriceQuery = { __typename?: 'Query'; epoch?: { __typename?: 'Epoch'; referenceGasPrice?: any | null; } | null; }; export type GetTotalSupplyQueryVariables = Exact<{ coinType: Scalars['String']['input']; }>; export type GetTotalSupplyQuery = { __typename?: 'Query'; coinMetadata?: { __typename?: 'CoinMetadata'; supply?: any | null; decimals?: number | null; } | null; }; export type GetTotalTransactionBlocksQueryVariables = Exact<{ [key: string]: never; }>; export type GetTotalTransactionBlocksQuery = { __typename?: 'Query'; checkpoint?: { __typename?: 'Checkpoint'; networkTotalTransactions?: any | null; } | null; }; export type GetValidatorsApyQueryVariables = Exact<{ [key: string]: never; }>; export type GetValidatorsApyQuery = { __typename?: 'Query'; epoch?: { __typename?: 'Epoch'; epochId: any; validatorSet?: { __typename?: 'ValidatorSet'; activeValidators: { __typename?: 'ValidatorConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Validator'; apy?: number | null; address: { __typename?: 'Address'; address: any; }; }>; }; } | null; } | null; }; export type ResolveNameServiceAddressQueryVariables = Exact<{ name: Scalars['String']['input']; }>; export type ResolveNameServiceAddressQuery = { __typename?: 'Query'; resolveIotaNamesAddress?: { __typename?: 'Address'; address: any; } | null; }; export type ResolveNameServiceNamesQueryVariables = Exact<{ address: Scalars['IotaAddress']['input']; limit?: InputMaybe; cursor?: InputMaybe; }>; export type ResolveNameServiceNamesQuery = { __typename?: 'Query'; address?: { __typename?: 'Address'; iotaNamesRegistrations: { __typename?: 'NameRegistrationConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'NameRegistration'; name: string; }>; }; } | null; }; export type IsTransactionIndexedOnNodeQueryVariables = Exact<{ digest: Scalars['String']['input']; }>; export type IsTransactionIndexedOnNodeQuery = { __typename?: 'Query'; isTransactionIndexedOnNode: boolean; }; export type GetOwnedObjectsQueryVariables = Exact<{ owner: Scalars['IotaAddress']['input']; limit?: InputMaybe; cursor?: InputMaybe; showBcs?: InputMaybe; showContent?: InputMaybe; showDisplay?: InputMaybe; showType?: InputMaybe; showOwner?: InputMaybe; showPreviousTransaction?: InputMaybe; showStorageRebate?: InputMaybe; filter?: InputMaybe; }>; export type GetOwnedObjectsQuery = { __typename?: 'Query'; address?: { __typename?: 'Address'; objects: { __typename?: 'MoveObjectConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'MoveObject'; bcs?: any | null; storageRebate?: any | null; digest?: string | null; version: any; objectId: any; contents?: { __typename?: 'MoveValue'; data: any; bcs: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; owner?: { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; initialSharedVersion: any; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; }>; }; } | null; }; export type GetObjectQueryVariables = Exact<{ id: Scalars['IotaAddress']['input']; showBcs?: InputMaybe; showOwner?: InputMaybe; showPreviousTransaction?: InputMaybe; showContent?: InputMaybe; showDisplay?: InputMaybe; showType?: InputMaybe; showStorageRebate?: InputMaybe; }>; export type GetObjectQuery = { __typename?: 'Query'; object?: { __typename?: 'Object'; version: any; storageRebate?: any | null; digest?: string | null; objectId: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; data: any; bcs: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; } | null; owner?: { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; initialSharedVersion: any; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; } | null; }; export type TryGetPastObjectQueryVariables = Exact<{ id: Scalars['IotaAddress']['input']; version?: InputMaybe; showBcs?: InputMaybe; showOwner?: InputMaybe; showPreviousTransaction?: InputMaybe; showContent?: InputMaybe; showDisplay?: InputMaybe; showType?: InputMaybe; showStorageRebate?: InputMaybe; }>; export type TryGetPastObjectQuery = { __typename?: 'Query'; current?: { __typename?: 'Object'; address: any; version: any; } | null; object?: { __typename?: 'Object'; version: any; storageRebate?: any | null; digest?: string | null; objectId: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; data: any; bcs: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; } | null; owner?: { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; initialSharedVersion: any; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; } | null; }; export type MultiGetObjectsQueryVariables = Exact<{ ids: Array | Scalars['IotaAddress']['input']; limit?: InputMaybe; cursor?: InputMaybe; showBcs?: InputMaybe; showContent?: InputMaybe; showDisplay?: InputMaybe; showType?: InputMaybe; showOwner?: InputMaybe; showPreviousTransaction?: InputMaybe; showStorageRebate?: InputMaybe; }>; export type MultiGetObjectsQuery = { __typename?: 'Query'; objects: { __typename?: 'ObjectConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Object'; version: any; storageRebate?: any | null; digest?: string | null; objectId: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; data: any; bcs: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; } | null; owner?: { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; initialSharedVersion: any; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; }>; }; }; export type Rpc_Object_FieldsFragment = { __typename?: 'Object'; version: any; storageRebate?: any | null; digest?: string | null; objectId: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; data: any; bcs: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; } | null; owner?: { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; initialSharedVersion: any; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; }; export type Rpc_Move_Object_FieldsFragment = { __typename?: 'MoveObject'; bcs?: any | null; storageRebate?: any | null; digest?: string | null; version: any; objectId: any; contents?: { __typename?: 'MoveValue'; data: any; bcs: any; type: { __typename?: 'MoveType'; repr: string; layout: any; signature: any; }; } | null; owner?: { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; } | { __typename: 'Immutable'; } | { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; } | { __typename: 'Shared'; initialSharedVersion: any; } | null; previousTransactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; display?: Array<{ __typename?: 'DisplayEntry'; key: string; value?: string | null; error?: string | null; }> | null; }; type Rpc_Object_Owner_Fields_AddressOwner_Fragment = { __typename: 'AddressOwner'; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }; type Rpc_Object_Owner_Fields_Immutable_Fragment = { __typename: 'Immutable'; }; type Rpc_Object_Owner_Fields_Parent_Fragment = { __typename: 'Parent'; parent?: { __typename?: 'Object'; address: any; } | null; }; type Rpc_Object_Owner_Fields_Shared_Fragment = { __typename: 'Shared'; initialSharedVersion: any; }; export type Rpc_Object_Owner_FieldsFragment = Rpc_Object_Owner_Fields_AddressOwner_Fragment | Rpc_Object_Owner_Fields_Immutable_Fragment | Rpc_Object_Owner_Fields_Parent_Fragment | Rpc_Object_Owner_Fields_Shared_Fragment; export type QueryEventsQueryVariables = Exact<{ filter: EventFilter; before?: InputMaybe; after?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }>; export type QueryEventsQuery = { __typename?: 'Query'; events: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; hasPreviousPage: boolean; endCursor?: string | null; startCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; }; export type Rpc_Events_FieldsFragment = { __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }; export type GetStakesQueryVariables = Exact<{ owner: Scalars['IotaAddress']['input']; limit?: InputMaybe; cursor?: InputMaybe; }>; export type GetStakesQuery = { __typename?: 'Query'; address?: { __typename?: 'Address'; stakedIotas: { __typename?: 'StakedIotaConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'StakedIota'; principal?: any | null; stakeStatus: StakeStatus; address: any; estimatedReward?: any | null; activatedEpoch?: { __typename?: 'Epoch'; epochId: any; referenceGasPrice?: any | null; } | null; requestedEpoch?: { __typename?: 'Epoch'; epochId: any; } | null; contents?: { __typename?: 'MoveValue'; json: any; } | null; }>; }; } | null; }; export type GetStakesByIdsQueryVariables = Exact<{ ids: Array | Scalars['IotaAddress']['input']; limit?: InputMaybe; cursor?: InputMaybe; }>; export type GetStakesByIdsQuery = { __typename?: 'Query'; objects: { __typename?: 'ObjectConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; asStakedIota?: { __typename?: 'StakedIota'; principal?: any | null; stakeStatus: StakeStatus; address: any; estimatedReward?: any | null; activatedEpoch?: { __typename?: 'Epoch'; epochId: any; referenceGasPrice?: any | null; } | null; requestedEpoch?: { __typename?: 'Epoch'; epochId: any; } | null; contents?: { __typename?: 'MoveValue'; json: any; } | null; } | null; } | null; }>; }; }; export type Rpc_Stake_FieldsFragment = { __typename?: 'StakedIota'; principal?: any | null; stakeStatus: StakeStatus; address: any; estimatedReward?: any | null; activatedEpoch?: { __typename?: 'Epoch'; epochId: any; referenceGasPrice?: any | null; } | null; requestedEpoch?: { __typename?: 'Epoch'; epochId: any; } | null; contents?: { __typename?: 'MoveValue'; json: any; } | null; }; export type SubscribeEventsSubscriptionVariables = Exact<{ filter?: InputMaybe; startAfter?: InputMaybe; }>; export type SubscribeEventsSubscription = { __typename?: 'Subscription'; events: { __typename: 'Event'; json: any; bcs: any; timestamp?: any | null; transactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; } | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; } | { __typename: 'Lagged'; count: number; }; }; export type SubscribeTransactionsSubscriptionVariables = Exact<{ filter?: InputMaybe; startAfter?: InputMaybe; }>; export type SubscribeTransactionsSubscription = { __typename?: 'Subscription'; transactions: { __typename: 'Lagged'; count: number; } | { __typename: 'TransactionBlock'; effects?: { __typename?: 'TransactionBlockEffects'; bcs: any; } | null; }; }; export type TransactionBlocksByDigestsQueryVariables = Exact<{ digests: Array | Scalars['String']['input']; }>; export type TransactionBlocksByDigestsQuery = { __typename?: 'Query'; transactionBlocksByDigests: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; } | null>; }; export type QueryTransactionBlocksQueryVariables = Exact<{ first?: InputMaybe; last?: InputMaybe; before?: InputMaybe; after?: InputMaybe; showBalanceChanges?: InputMaybe; showEffects?: InputMaybe; showRawEffects?: InputMaybe; showEvents?: InputMaybe; showInput?: InputMaybe; showObjectChanges?: InputMaybe; showRawInput?: InputMaybe; filter?: InputMaybe; }>; export type QueryTransactionBlocksQuery = { __typename?: 'Query'; transactionBlocks: { __typename?: 'TransactionBlockConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; hasPreviousPage: boolean; startCursor?: string | null; endCursor?: string | null; }; nodes: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; }>; }; }; export type GetTransactionBlockQueryVariables = Exact<{ digest: Scalars['String']['input']; showBalanceChanges?: InputMaybe; showEffects?: InputMaybe; showRawEffects?: InputMaybe; showEvents?: InputMaybe; showInput?: InputMaybe; showObjectChanges?: InputMaybe; showRawInput?: InputMaybe; }>; export type GetTransactionBlockQuery = { __typename?: 'Query'; transactionBlock?: { __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; } | null; }; export type MultiGetTransactionBlocksQueryVariables = Exact<{ digests: Array | Scalars['String']['input']; limit?: InputMaybe; cursor?: InputMaybe; showBalanceChanges?: InputMaybe; showEffects?: InputMaybe; showRawEffects?: InputMaybe; showEvents?: InputMaybe; showInput?: InputMaybe; showObjectChanges?: InputMaybe; showRawInput?: InputMaybe; }>; export type MultiGetTransactionBlocksQuery = { __typename?: 'Query'; transactionBlocks: { __typename?: 'TransactionBlockConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; hasPreviousPage: boolean; startCursor?: string | null; endCursor?: string | null; }; nodes: Array<{ __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; }>; }; }; export type PaginateTransactionBlockListsQueryVariables = Exact<{ digest: Scalars['String']['input']; hasMoreEvents: Scalars['Boolean']['input']; hasMoreBalanceChanges: Scalars['Boolean']['input']; hasMoreObjectChanges: Scalars['Boolean']['input']; afterEvents?: InputMaybe; afterBalanceChanges?: InputMaybe; afterObjectChanges?: InputMaybe; }>; export type PaginateTransactionBlockListsQuery = { __typename?: 'Query'; transactionBlock?: { __typename?: 'TransactionBlock'; effects?: { __typename?: 'TransactionBlockEffects'; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; } | null; }; export type Paginate_Transaction_ListsFragment = { __typename?: 'TransactionBlock'; effects?: { __typename?: 'TransactionBlockEffects'; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; }; export type Rpc_Transaction_FieldsFragment = { __typename?: 'TransactionBlock'; digest?: string | null; signatures?: Array | null; rawTransaction?: any | null; sender?: { __typename?: 'Address'; address: any; } | null; effects?: { __typename?: 'TransactionBlockEffects'; bcs?: any; timestamp?: any | null; events?: { __typename?: 'EventConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'Event'; json: any; bcs: any; timestamp?: any | null; sendingModule?: { __typename?: 'MoveModule'; name: string; package: { __typename?: 'MovePackage'; address: any; }; } | null; sender?: { __typename?: 'Address'; address: any; } | null; type: { __typename?: 'MoveType'; repr: string; }; }>; }; checkpoint?: { __typename?: 'Checkpoint'; sequenceNumber: any; } | null; balanceChanges?: { __typename?: 'BalanceChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'BalanceChange'; amount?: any | null; coinType?: { __typename?: 'MoveType'; repr: string; } | null; owner?: { __typename?: 'Owner'; asObject?: { __typename?: 'Object'; address: any; } | null; asAddress?: { __typename?: 'Address'; address: any; } | null; } | null; }>; }; objectChanges?: { __typename?: 'ObjectChangeConnection'; pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: string | null; }; nodes: Array<{ __typename?: 'ObjectChange'; address: any; inputState?: { __typename?: 'Object'; version: any; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; } | null; outputState?: { __typename?: 'Object'; asMoveObject?: { __typename?: 'MoveObject'; contents?: { __typename?: 'MoveValue'; type: { __typename?: 'MoveType'; repr: string; }; } | null; } | null; asMovePackage?: { __typename?: 'MovePackage'; modules?: { __typename?: 'MoveModuleConnection'; nodes: Array<{ __typename?: 'MoveModule'; name: string; }>; } | null; } | null; } | null; }>; }; } | null; }; export type ViewQueryVariables = Exact<{ functionName: Scalars['String']['input']; typeArgs?: InputMaybe | Scalars['String']['input']>; arguments?: InputMaybe | Scalars['JSON']['input']>; }>; export type ViewQuery = { __typename?: 'Query'; moveViewCall: { __typename?: 'MoveViewResult'; error?: string | null; results?: Array | null; }; }; export declare class TypedDocumentString extends String implements DocumentTypeDecoration { private value; __meta__?: Record | undefined; __apiType?: DocumentTypeDecoration['__apiType']; constructor(value: string, __meta__?: Record | undefined); toString(): string & DocumentTypeDecoration; } export declare const Rpc_Checkpoint_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Credential_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Validator_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Move_Struct_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Move_Enum_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Move_Function_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Move_Module_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Object_Owner_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Object_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Move_Object_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Stake_FieldsFragmentDoc: TypedDocumentString; export declare const Rpc_Events_FieldsFragmentDoc: TypedDocumentString; export declare const Paginate_Transaction_ListsFragmentDoc: TypedDocumentString; export declare const Rpc_Transaction_FieldsFragmentDoc: TypedDocumentString; export declare const GetCheckpointDocument: TypedDocumentString; export declare const GetCheckpointsDocument: TypedDocumentString; export declare const PaginateCheckpointTransactionBlocksDocument: TypedDocumentString; export declare const DevInspectTransactionBlockDocument: TypedDocumentString; export declare const DryRunTransactionBlockDocument: TypedDocumentString; export declare const ExecuteTransactionBlockDocument: TypedDocumentString; export declare const GetAllBalancesDocument: TypedDocumentString; export declare const GetBalanceDocument: TypedDocumentString; export declare const GetChainIdentifierDocument: TypedDocumentString; export declare const GetCoinMetadataDocument: TypedDocumentString; export declare const GetCoinsDocument: TypedDocumentString; export declare const GetCommitteeInfoDocument: TypedDocumentString; export declare const GetCurrentEpochDocument: TypedDocumentString; export declare const PaginateEpochValidatorsDocument: TypedDocumentString; export declare const GetTypeLayoutDocument: TypedDocumentString; export declare const GetDynamicFieldObjectDocument: TypedDocumentString; export declare const GetDynamicFieldsDocument: TypedDocumentString; export declare const GetLatestCheckpointSequenceNumberDocument: TypedDocumentString; export declare const GetLatestIotaSystemStateDocument: TypedDocumentString; export declare const GetMoveFunctionArgTypesDocument: TypedDocumentString; export declare const GetNormalizedMoveFunctionDocument: TypedDocumentString; export declare const GetNormalizedMoveModuleDocument: TypedDocumentString; export declare const PaginateMoveModuleListsDocument: TypedDocumentString; export declare const GetNormalizedMoveModulesByPackageDocument: TypedDocumentString; export declare const GetNormalizedMoveStructDocument: TypedDocumentString; export declare const GetProtocolConfigDocument: TypedDocumentString; export declare const GetReferenceGasPriceDocument: TypedDocumentString; export declare const GetTotalSupplyDocument: TypedDocumentString; export declare const GetTotalTransactionBlocksDocument: TypedDocumentString; export declare const GetValidatorsApyDocument: TypedDocumentString; export declare const ResolveNameServiceAddressDocument: TypedDocumentString; export declare const ResolveNameServiceNamesDocument: TypedDocumentString; export declare const IsTransactionIndexedOnNodeDocument: TypedDocumentString; export declare const GetOwnedObjectsDocument: TypedDocumentString; export declare const GetObjectDocument: TypedDocumentString; export declare const TryGetPastObjectDocument: TypedDocumentString; export declare const MultiGetObjectsDocument: TypedDocumentString; export declare const QueryEventsDocument: TypedDocumentString; export declare const GetStakesDocument: TypedDocumentString; export declare const GetStakesByIdsDocument: TypedDocumentString; export declare const SubscribeEventsDocument: TypedDocumentString; export declare const SubscribeTransactionsDocument: TypedDocumentString; export declare const TransactionBlocksByDigestsDocument: TypedDocumentString; export declare const QueryTransactionBlocksDocument: TypedDocumentString; export declare const GetTransactionBlockDocument: TypedDocumentString; export declare const MultiGetTransactionBlocksDocument: TypedDocumentString; export declare const PaginateTransactionBlockListsDocument: TypedDocumentString; export declare const ViewDocument: TypedDocumentString; export {}; //# sourceMappingURL=queries.d.ts.map