Skip to main content

TransactionProtocol

TransactionProtocol Objects

class TransactionProtocol(typing.Protocol)

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

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.