diff --git a/crates/sui-graphql-rpc/staging.graphql b/crates/sui-graphql-rpc/staging.graphql index 941d3d860ae326..76a59beca3ccf6 100644 --- a/crates/sui-graphql-rpc/staging.graphql +++ b/crates/sui-graphql-rpc/staging.graphql @@ -3400,10 +3400,10 @@ type Query { - `author` is the address of the signer of the transaction or personal msg. """ verifyZkloginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: SuiAddress!): ZkLoginVerifyResult! - """ - Fetch a list of objects by their IDs and versions. - """ - multiGetObjects(keys: [ObjectKey!]!): [Object!]! + """ + Fetch a list of objects by their IDs and versions. + """ + multiGetObjects(objectKeys: [ObjectKey!]!): [Object!]! } type RandomnessStateCreateTransaction { diff --git a/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__staging.graphql.snap b/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__staging.graphql.snap index 498feb7c2fafb3..c2773c26be8505 100644 --- a/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__staging.graphql.snap +++ b/crates/sui-graphql-rpc/tests/snapshots/snapshot_tests__staging.graphql.snap @@ -2884,7 +2884,8 @@ input ObjectFilter { """ objectIds: [SuiAddress!] """ - Filter for live or potentially historical objects by their ID and version. + Filter for live objects by their ID and version. + For historical versions, use multiGetObjects query instead. """ objectKeys: [ObjectKey!] } @@ -3403,6 +3404,10 @@ type Query { - `author` is the address of the signer of the transaction or personal msg. """ verifyZkloginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: SuiAddress!): ZkLoginVerifyResult! + """ + Fetch a list of objects by their IDs and versions. + """ + multiGetObjects(objectKeys: [ObjectKey!]!): [Object!]! } type RandomnessStateCreateTransaction { @@ -3583,6 +3588,10 @@ type ServiceConfig { """ maxTransactionIds: Int! """ + Maximum number of keys that can be passed to a `multiGetObjects` query. + """ + maxMultiGetObjectsKeys: Int! + """ Maximum number of candidates to scan when gathering a page of results. """ maxScanLimit: Int!