struct

CardanoKit::Address

Inherits Struct < Value < Object

Constants

LIMIT = 128

Constructors

new(prefix : String, words : Bytes)
Source
new(prefix : AddrPrefix, words : Bytes)
Source

Class methods

from_bech32(address : String)
Source
from_bytes(prefix : AddrPrefix | String, bytes : Bytes)
Source
from_hexstring(prefix : AddrPrefix | String, hexstring : String)
Source

Instance methods

prefix
Source
stake_address
Source
stake_address?
Source
to_bech32
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
words
Source