Skip to content

Class BSV::Identity::ClientOptions

Inherits: Object

Configuration options for an IdentityClient instance.

Constants

DEFAULT

Default options matching the TS SDK DEFAULT_IDENTITY_CLIENT_OPTIONS constant.

Attributes

key_id [R]

  • @return [String] key identifier within the protocol

output_index [R]

  • @return [Integer] output index within the token transaction

protocol_id [R]

  • @return [Array] BRC-42/43 wallet protocol identifier, e.g. [1, 'identity']

token_amount [R]

  • @return [Integer] token amount in satoshis for identity operations

Public Instance Methods

initialize(protocol_id:, key_id:, token_amount:, output_index:)

  • @param protocol_id [Array]
  • @param key_id [String]
  • @param token_amount [Integer]
  • @param output_index [Integer]
  • @return [ClientOptions] a new instance of ClientOptions