interface

class InterfaceDict_Optional

Bases: TypedDict

desc: str
class InterfaceDict

Bases: dict

name: str
methods: List[MethodDict]
desc: str
class Interface(name: str, methods: List[Method], desc: Optional[str] = None)

Bases: object

Represents a ABI interface description.

Parameters
  • name (string) – name of the interface

  • methods (list) – list of Method objects

  • desc (string, optional) – description of the interface

static from_json(resp: Union[str, bytes, bytearray]) Interface
dictify() InterfaceDict
static undictify(d: dict) Interface
get_method_by_name(name: str) Method