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>-
(::Array<::String>) — Optional. The signatures of accounts listed as additional transaction
signatories. The number and order of these signatures must match the
signatoriesfield 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>-
value (::Array<::String>) — Optional. The signatures of accounts listed as additional transaction
signatories. The number and order of these signatures must match the
signatoriesfield 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.
-
(::Array<::String>) — Optional. The signatures of accounts listed as additional transaction
signatories. The number and order of these signatures must match the
signatoriesfield 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>-
(::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_signaturesfield 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>-
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_signaturesfield in the SignedTransaction. Defaults to the primary slot of each account if not specified.
-
(::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_signaturesfield in the SignedTransaction. Defaults to the primary slot of each account if not specified.
#sender_signature
def sender_signature() -> ::String-
(::String) — Required. The signature of the transaction sender.
The signature should be computed by signing the
serialized_client_transactionbytes 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-
value (::String) — Required. The signature of the transaction sender.
The signature should be computed by signing the
serialized_client_transactionbytes 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.
-
(::String) — Required. The signature of the transaction sender.
The signature should be computed by signing the
serialized_client_transactionbytes 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- (::Google::Cloud::UniversalLedger::V1::KeySlot) — Optional. The key slot of the sender used to sign the transaction. Uses the primary slot of the sender account if not specified.
#sender_signing_key_slot=
def sender_signing_key_slot=(value) -> ::Google::Cloud::UniversalLedger::V1::KeySlot- value (::Google::Cloud::UniversalLedger::V1::KeySlot) — Optional. The key slot of the sender used to sign the transaction. Uses the primary slot of the sender account if not specified.
- (::Google::Cloud::UniversalLedger::V1::KeySlot) — Optional. The key slot of the sender used to sign the transaction. Uses the primary slot of the sender account if not specified.
#serialized_client_transaction
def serialized_client_transaction() -> ::String- (::String) — Required. A serialized ClientTransaction with the transaction details.
#serialized_client_transaction=
def serialized_client_transaction=(value) -> ::String- value (::String) — Required. A serialized ClientTransaction with the transaction details.
- (::String) — Required. A serialized ClientTransaction with the transaction details.