Skip to content

Commit

Permalink
Update GraphQL schema to v1.39.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten authored and bmwill committed Dec 12, 2024
1 parent b6f1a87 commit e852e03
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions crates/sui-graphql-client-build/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ enum AddressTransactionBlockRelationship {
AFFECTED
}

"""
An Authenticator represents the access control rules for a ConsensusV2 object.
"""
union Authenticator = Address

"""
System transaction for creating the on-chain state used by zkLogin.
"""
Expand Down Expand Up @@ -448,6 +453,10 @@ type Checkpoint {
By default, the scanning range consists of all transactions in this checkpoint.
"""
transactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter, scanLimit: Int): TransactionBlockConnection!
"""
The Base64 serialized BCS bytes of CheckpointSummary for this checkpoint.
"""
bcs: Base64
}

type CheckpointConnection {
Expand Down Expand Up @@ -848,6 +857,16 @@ type ConsensusCommitPrologueTransaction {
consensusCommitDigest: String
}

"""
A ConsensusV2 object is an object that is automatically versioned by the consensus protocol
and allows different authentication modes based on the chosen authenticator.
(Initially, only single-owner authentication is supported.)
"""
type ConsensusV2 {
startVersion: UInt53!
authenticator: Authenticator
}

"""
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.
"""
Expand Down Expand Up @@ -2905,7 +2924,7 @@ enum ObjectKind {
"""
The object's owner type: Immutable, Shared, Parent, or Address.
"""
union ObjectOwner = Immutable | Shared | Parent | AddressOwner
union ObjectOwner = Immutable | Shared | Parent | AddressOwner | ConsensusV2

input ObjectRef {
"""
Expand Down Expand Up @@ -3382,7 +3401,8 @@ type Query {
"""
typeByName(name: String!): MoveType!
"""
The coin metadata associated with the given coin type.
The coin metadata associated with the given coin type. Note that if the latest version of
the coin's metadata is wrapped or deleted, it will not be found.
"""
coinMetadata(coinType: String!): CoinMetadata
"""
Expand Down

0 comments on commit e852e03

Please sign in to comment.