Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::ContractDetails.
Details specific to a Smart Contract.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::String
Returns
- (::String) — Output only. The serialized contract code.
#contract_fields
def contract_fields() -> ::Google::Cloud::UniversalLedger::V1::Fields
Returns
- (::Google::Cloud::UniversalLedger::V1::Fields) — Output only. The contract fields (field name -> value) for this contract.
#currency_balances
def currency_balances() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::CurrencyValue}
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::CurrencyValue}) — Output only. The currency balances held by the contract (currency operator -> balance).
#owner_id
def owner_id() -> ::String
Returns
- (::String) — Output only. The ID of the owner of the contract.