Class SignedAccountTransaction
- Namespace
- Concordium.Sdk.Transactions
- Assembly
- Concordium.Sdk.dll
Represents a signed account transaction which is ready to be sent to the node.
A signed account transaction constitutes an AccountTransactionHeader, an AccountTransactionPayload as well as an AccountTransactionSignature.
A SignedAccountTransaction can be created with the Sign(ITransactionSigner) method with an implementer of ITransactionSigner.
public record SignedAccountTransaction : BlockItemType, IEquatable<BlockItemType>, IEquatable<SignedAccountTransaction>
- Inheritance
-
SignedAccountTransaction
- Implements
- Inherited Members
Constructors
SignedAccountTransaction(AccountTransactionHeader, AccountTransactionPayload, AccountTransactionSignature)
Represents a signed account transaction which is ready to be sent to the node.
A signed account transaction constitutes an AccountTransactionHeader, an AccountTransactionPayload as well as an AccountTransactionSignature.
A SignedAccountTransaction can be created with the Sign(ITransactionSigner) method with an implementer of ITransactionSigner.
public SignedAccountTransaction(AccountTransactionHeader Header, AccountTransactionPayload Payload, AccountTransactionSignature Signature)
Parameters
Header
AccountTransactionHeaderHeader of the signed account transaction.
Payload
AccountTransactionPayloadPayload of the signed account transaction.
Signature
AccountTransactionSignatureSignature of the signed account transaction.
Properties
Header
Header of the signed account transaction.
public AccountTransactionHeader Header { get; init; }
Property Value
Payload
Payload of the signed account transaction.
public AccountTransactionPayload Payload { get; init; }
Property Value
Signature
Signature of the signed account transaction.
public AccountTransactionSignature Signature { get; init; }
Property Value
Methods
ToProto()
Converts this type to the equivalent protocol buffer type.
public AccountTransaction ToProto()
Returns
ToSendBlockItemRequest()
Converts the signed account transaction to a protocol buffer message instance which is compatible with SendBlockItem(SendBlockItemRequest, CancellationToken).
public SendBlockItemRequest ToSendBlockItemRequest()