Skip to main content

Address

Native address type in Gno, conforming to the Bech32 format.

type Address string
func (a Address) String() string {...}
func (a Address) IsValid() bool {...}

String

Get string representation of Address.

Usage

stringAddr := addr.String()

IsValid

Check if Address is of a valid format.

Usage

if !address.IsValid() {...}