ape.types

Miscellaneous

ape.types.AddressType

A type representing a checksummed address.

alias of HexAddress

ape.types.BlockID

An ID that can match a block, such as the literals "earliest", "latest", or "pending" as well as a block number or hash (HexBytes).

alias of Union[str, int, hexbytes.main.HexBytes, Literal[earliest, latest, pending]]

Signatures

class ape.types.signatures.MessageSignature(v: int, r: bytes, s: bytes, **kwargs)

Bases: ape.types.signatures._Signature

A ECDSA signature (vrs) of a message.

class ape.types.signatures.TransactionSignature(v: int, r: bytes, s: bytes, **kwargs)

Bases: ape.types.signatures._Signature

A ECDSA signature (vrs) of a transaction.