SubverifierWrapper

public struct SubverifierWrapper

SDK requires information about the verifer that can’t be stored inside the verifier, add a wrapper object to allow passing of all the data

  • The name of the aggregated verifier

    Declaration

    Swift

    public let aggregateVerifierName: String?
  • The type to use

    Declaration

    Swift

    public let verifierType: verifierTypes
  • Unlike seed based wallets, Torus verifiers are bound to a network and generate different addresses. In order to give the same experience on Tezos, we need to supply the network for each verifier

    Declaration

    Swift

    public let networkType: TezosNodeClientConfig.NetworkType
  • The matching SubVerifierDetails object

    Declaration

    Swift

    public let subverifier: SubVerifierDetails
  • Create an instance of the object with an option string for the aggregate verifier name, and a SubVerifierDetails object

    Declaration

    Swift

    public init(aggregateVerifierName: String?, verifierType: verifierTypes, networkType: TezosNodeClientConfig.NetworkType, subverifier: SubVerifierDetails)