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

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

A transaction with attached signatures. To submit a transaction, this message should be serialized and included in a SubmitTransactionRequest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#other_signatures

def other_signatures() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The signatures of accounts listed as additional transaction signatories. The number and order of these signatures must match the signatories field in the ClientTransaction.

    The bytes to be signed are the same as those for the sender_signature, which each signatory should sign with their own private key.

    The number and identity of additional signatories depends on the particular transaction kind. For a transaction chain, one signature is needed for each account appearing either as the sender or as a signatory of a unit in the chain.

#other_signatures=

def other_signatures=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The signatures of accounts listed as additional transaction signatories. The number and order of these signatures must match the signatories field in the ClientTransaction.

    The bytes to be signed are the same as those for the sender_signature, which each signatory should sign with their own private key.

    The number and identity of additional signatories depends on the particular transaction kind. For a transaction chain, one signature is needed for each account appearing either as the sender or as a signatory of a unit in the chain.

Returns
  • (::Array<::String>) — Optional. The signatures of accounts listed as additional transaction signatories. The number and order of these signatures must match the signatories field in the ClientTransaction.

    The bytes to be signed are the same as those for the sender_signature, which each signatory should sign with their own private key.

    The number and identity of additional signatories depends on the particular transaction kind. For a transaction chain, one signature is needed for each account appearing either as the sender or as a signatory of a unit in the chain.

#other_signing_key_slots

def other_signing_key_slots() -> ::Array<::Google::Cloud::UniversalLedger::V1::KeySlot>
Returns
  • (::Array<::Google::Cloud::UniversalLedger::V1::KeySlot>) — Optional. The key slots of the accounts listed as additional transaction signatories. If set, the number and order of these key slots must match the other_signatures field in the SignedTransaction. Defaults to the primary slot of each account if not specified.

#other_signing_key_slots=

def other_signing_key_slots=(value) -> ::Array<::Google::Cloud::UniversalLedger::V1::KeySlot>
Parameter
  • value (::Array<::Google::Cloud::UniversalLedger::V1::KeySlot>) — Optional. The key slots of the accounts listed as additional transaction signatories. If set, the number and order of these key slots must match the other_signatures field in the SignedTransaction. Defaults to the primary slot of each account if not specified.
Returns
  • (::Array<::Google::Cloud::UniversalLedger::V1::KeySlot>) — Optional. The key slots of the accounts listed as additional transaction signatories. If set, the number and order of these key slots must match the other_signatures field in the SignedTransaction. Defaults to the primary slot of each account if not specified.

#sender_signature

def sender_signature() -> ::String
Returns
  • (::String) — Required. The signature of the transaction sender.

    The signature should be computed by signing the serialized_client_transaction bytes with their own private key.

    For a transaction chain, the bytes to be signed are computed as the concatenation of:

    • A digest of the serialized client transaction of the entire chain.
    • A digest of the serialized signed transaction of each unit in the chain, in the order they appear in the chain.

    The digests are computed using SHA-256.

#sender_signature=

def sender_signature=(value) -> ::String
Parameter
  • value (::String) — Required. The signature of the transaction sender.

    The signature should be computed by signing the serialized_client_transaction bytes with their own private key.

    For a transaction chain, the bytes to be signed are computed as the concatenation of:

    • A digest of the serialized client transaction of the entire chain.
    • A digest of the serialized signed transaction of each unit in the chain, in the order they appear in the chain.

    The digests are computed using SHA-256.

Returns
  • (::String) — Required. The signature of the transaction sender.

    The signature should be computed by signing the serialized_client_transaction bytes with their own private key.

    For a transaction chain, the bytes to be signed are computed as the concatenation of:

    • A digest of the serialized client transaction of the entire chain.
    • A digest of the serialized signed transaction of each unit in the chain, in the order they appear in the chain.

    The digests are computed using SHA-256.

#sender_signing_key_slot

def sender_signing_key_slot() -> ::Google::Cloud::UniversalLedger::V1::KeySlot
Returns

#sender_signing_key_slot=

def sender_signing_key_slot=(value) -> ::Google::Cloud::UniversalLedger::V1::KeySlot
Parameter
Returns

#serialized_client_transaction

def serialized_client_transaction() -> ::String
Returns
  • (::String) — Required. A serialized ClientTransaction with the transaction details.

#serialized_client_transaction=

def serialized_client_transaction=(value) -> ::String
Parameter
  • value (::String) — Required. A serialized ClientTransaction with the transaction details.
Returns
  • (::String) — Required. A serialized ClientTransaction with the transaction details.