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

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

Mints currency tokens and transfers them to a specified account. The sender must be a token manager.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#beneficiary_id

def beneficiary_id() -> ::String
Returns
  • (::String) — Required. The ID of the account to which the minted amount should be transferred. The receiving account must have the ROLE_RECEIVER enabled on it.

#beneficiary_id=

def beneficiary_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the account to which the minted amount should be transferred. The receiving account must have the ROLE_RECEIVER enabled on it.
Returns
  • (::String) — Required. The ID of the account to which the minted amount should be transferred. The receiving account must have the ROLE_RECEIVER enabled on it.

#mint_amount

def mint_amount() -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::CurrencyValue) — Required. The amount to mint. The amount must be such that the total tokens minted by the token manager do not exceed the mint limit. If the amount is higher than that, the transaction must be rejected

#mint_amount=

def mint_amount=(value) -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::CurrencyValue) — Required. The amount to mint. The amount must be such that the total tokens minted by the token manager do not exceed the mint limit. If the amount is higher than that, the transaction must be rejected
Returns
  • (::Google::Cloud::UniversalLedger::V1::CurrencyValue) — Required. The amount to mint. The amount must be such that the total tokens minted by the token manager do not exceed the mint limit. If the amount is higher than that, the transaction must be rejected