SignedTransaction

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

JSON representation
{
  "serializedClientTransaction": string,
  "senderSignature": string,
  "senderSigningKeySlot": enum (KeySlot),
  "otherSignatures": [
    string
  ],
  "otherSigningKeySlots": [
    enum (KeySlot)
  ]
}
Fields
serializedClientTransaction

string (bytes format)

Required. A serialized ClientTransaction with the transaction details.

A base64-encoded string.

senderSignature

string (bytes format)

Required. The signature of the transaction sender.

The signature should be computed by signing the serializedClientTransaction 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.

A base64-encoded string.

senderSigningKeySlot

enum (KeySlot)

Optional. The key slot of the sender used to sign the transaction. Uses the primary slot of the sender account if not specified.

otherSignatures[]

string (bytes format)

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 senderSignature, 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.

A base64-encoded string.

otherSigningKeySlots[]

enum (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 otherSignatures field in the SignedTransaction. Defaults to the primary slot of each account if not specified.