struct CardanoKit::Address

Defined in:

cardano_kit/address.cr

Constant Summary

LIMIT = 128

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(prefix : String, words : Bytes) #

[View source]
def self.new(prefix : AddrPrefix, words : Bytes) #

[View source]

Class Method Detail

def self.from_bech32(address : String) #

[View source]
def self.from_bytes(prefix : AddrPrefix | String, bytes : Bytes) #

[View source]
def self.from_hexstring(prefix : AddrPrefix | String, hexstring : String) #

[View source]

Instance Method Detail

def prefix : AddrPrefix #

[View source]
def stake_address : String #

[View source]
def stake_address? : String | Nil #

[View source]
def to_bech32 : String #

[View source]
def to_s #
Description copied from class Object

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.


[View source]
def words : Bytes #

[View source]