Skip to main content

almanak_library.models.action

json

uuid

List

Optional

BaseModel

Field

ActionType

Protocol

Params

Receipt

Transaction

default_list

def default_list()

Action Objects

class Action(BaseModel)

type

params

protocol

id

execution_details

transactions

transaction_hashes

bundle_id

Config Objects

class Config()

arbitrary_types_allowed

json_encoders

get_id

def get_id() -> uuid.UUID

get_type

def get_type() -> ActionType

get_params

def get_params() -> Params

get_protocol

def get_protocol() -> Protocol

get_execution_details

def get_execution_details() -> Optional[Receipt]

__str__

def __str__()

model_dump

def model_dump(*args, **kwargs)

model_validate

@classmethod
def model_validate(cls, obj)

from_json

@classmethod
def from_json(cls, json_str: str)