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- (::Google::Cloud::UniversalLedger::V1::CurrencyValue) — Required. The amount to burn.
#burn_amount=
def burn_amount=(value) -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue- value (::Google::Cloud::UniversalLedger::V1::CurrencyValue) — Required. The amount to burn.
- (::Google::Cloud::UniversalLedger::V1::CurrencyValue) — Required. The amount to burn.
#payer_id
def payer_id() -> ::String-
(::String) — Required. The ID of the account supplying the tokens to burn. The payer
account must have the
ROLE_PAYERenabled on it.
#payer_id=
def payer_id=(value) -> ::String-
value (::String) — Required. The ID of the account supplying the tokens to burn. The payer
account must have the
ROLE_PAYERenabled on it.
-
(::String) — Required. The ID of the account supplying the tokens to burn. The payer
account must have the
ROLE_PAYERenabled on it.