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

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

Burns currency tokens. The sender must be a token manager and the account supplying the tokens to burn must additionally sign the transaction.

The expected flow is that the token manager will have its designated burn account which customers would transfer the tokens to before they are burnt. Alternatively, the customers could directly sign the transaction in which case it would act as an atomic "transfer-and-burn" transaction.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#burn_amount

def burn_amount() -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue
Returns

#burn_amount=

def burn_amount=(value) -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue
Parameter
Returns

#payer_id

def payer_id() -> ::String
Returns
  • (::String) — Required. The ID of the account supplying the tokens to burn. The payer account must have the ROLE_PAYER enabled on it.

#payer_id=

def payer_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the account supplying the tokens to burn. The payer account must have the ROLE_PAYER enabled on it.
Returns
  • (::String) — Required. The ID of the account supplying the tokens to burn. The payer account must have the ROLE_PAYER enabled on it.