The transaction fee payer
The instructions to atomically execute
the last block chain can advance to before tx is declared expired
Optional Nonce information. If populated, transaction will use a durable Nonce hash instead of a recentBlockhash. Must be populated by the caller
A recent transaction id. Must be populated by the caller
Signatures for the transaction. Typically created by invoking the
The first (payer) Transaction signature
Add an externally created signature to a transaction. The public key must correspond to either the fee payer or a signer account in the transaction instructions.
Compile transaction data
Get the estimated fee associated with a transaction
Partially sign a transaction with the specified accounts. All accounts must correspond to either the fee payer or a signer account in the transaction instructions.
All the caveats from the
sign method apply to
Serialize the Transaction in the wire format.
Get a buffer of the Transaction data that need to be covered by signatures
Specify the public keys which will be used to sign the Transaction. The first signer will be used as the transaction fee payer account.
Signatures can be added with either
Sign the Transaction with the specified signers. Multiple signatures may be applied to a Transaction. The first signature is considered "primary" and is used identify and confirm transactions.
If the Transaction
feePayer is not set, the first signer will be used
as the transaction fee payer account.
Transaction fields should not be modified after the first call to
as doing so may invalidate the signature and cause the Transaction to be
The Transaction must be assigned a valid
recentBlockhash before invoking this method
Verify signatures of a complete, signed Transaction
Parse a wire transaction into a Transaction object.
Generated using TypeDoc