Universal Ledger V1 API - Class Google::Cloud::UniversalLedger::V1::CreateCurrencyOperator (v0.1.0)

Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::CreateCurrencyOperator.

Creates a new currency operator. The sender must be the platform operator.

If the transaction is successful, the ID of the newly created account is returned as an event in the TransactionCertificate of the finalized transaction.

This transaction can introduce a new currency into the system or create an additional currency operator for an existing currency. If an existing currency operator has to be replaced, the TransferCurrencyOperator transaction should be sent instead.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account_comment

def account_comment() -> ::String
Returns
  • (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.

#account_comment=

def account_comment=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.
Returns
  • (::String) — Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable.

#currency_code

def currency_code() -> ::String
Returns
  • (::String) — Required. The fiat currency associated with this operator, represented as a 3-capital-letter ISO 4217 code. Considered public information.

#currency_code=

def currency_code=(value) -> ::String
Parameter
  • value (::String) — Required. The fiat currency associated with this operator, represented as a 3-capital-letter ISO 4217 code. Considered public information.
Returns
  • (::String) — Required. The fiat currency associated with this operator, represented as a 3-capital-letter ISO 4217 code. Considered public information.

#key_format

def key_format() -> ::Google::Cloud::UniversalLedger::V1::KeyFormat
Returns

#key_format=

def key_format=(value) -> ::Google::Cloud::UniversalLedger::V1::KeyFormat
Parameter
Returns

#public_key

def public_key() -> ::String
Returns
  • (::String) — Required. The public key of the new currency operator. This public key will be associated with the currency operator and stored on the ledger. It will be used to validate the signature of the transactions emanating from the operator's account.

    The format of the public key is defined by the key_format field. Considered public information.

#public_key=

def public_key=(value) -> ::String
Parameter
  • value (::String) — Required. The public key of the new currency operator. This public key will be associated with the currency operator and stored on the ledger. It will be used to validate the signature of the transactions emanating from the operator's account.

    The format of the public key is defined by the key_format field. Considered public information.

Returns
  • (::String) — Required. The public key of the new currency operator. This public key will be associated with the currency operator and stored on the ledger. It will be used to validate the signature of the transactions emanating from the operator's account.

    The format of the public key is defined by the key_format field. Considered public information.