OZCredentialLookupResponse
public struct OZCredentialLookupResponse : Decodable, Equatable, Sendable
Response from looking up a credential ID in the indexer.
Contains the credential ID, all contracts where this credential is registered as a signer, and the total count of contracts. The indexer’s JSON uses camelCase at the top level even though the inner contract summaries use snake_case keys.
-
Undocumented
Declaration
Swift
public let credentialId: String -
Undocumented
Declaration
Swift
public let contracts: [OZIndexedContractSummary] -
Undocumented
Declaration
Swift
public let count: Int -
Undocumented
Declaration
Swift
public init(credentialId: String, contracts: [OZIndexedContractSummary], count: Int) -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash