Skip to main content

TransactionV1

TransactionV1 Objects

class TransactionV1(TransactionV1Protocol)

A 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, bytes: str) -> TransactionV1

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.