Skip to content

EntryAbi (Class)

A single callable entrypoint in a compiled contract's ABI.

dispatch_tag property

dispatch_tag: bytes

The entrypoint's four-byte dispatch tag.

blake3("name(type,type)")[:4] — content-addressed over the entrypoint's name and its resolved parameter types. Constructor arguments reach it only through a parameter whose array length is one of them (byte[n]), where a different n resolves to a different type and so a different tag; for every other parameter shape the tag is the same across every instance of the contract. Every signature script built for this entrypoint ends with this value as its final data push.

name property

name: str

params property

params: list[ParamAbi]

__repr__

__repr__() -> str

The detailed string representation.

RETURNS DESCRIPTION
str

The EntryAbi as a repr string.

TYPE: str