Skip to main content

Transaction

Transaction Objects

class Transaction(TransactionProtocol)

Transaction

BCS

The BCS serialized form for this type is defined by the following ABNF:

transaction = %d00 transaction-v1

transaction-v1 = transaction-kind address gas-payment transaction-expiration

from_base64

@classmethod
def from_base64(cls, base64: str) -> Transaction

Deserialize a transaction from a base64-encoded string.

signing_digest

def signing_digest() -> bytes

Get the signing digest.

signing_digest_hex

def signing_digest_hex() -> str

Get the signing digest as a hex string.

to_base64

def to_base64() -> str

Serialize the transaction as a base64-encoded string.