A Cardano address, encoded as bech32, base58, or hexadecimal.
Supported address formats for the Cardano Shelley era.
Hex-encoded bytes.
TODO: what's the best way of representing bytestrings in TypeScript?
The return value of inspectAddress.
Verification key hash.
Hash of a script.
How the stake at this address will be delegated.
A bech32-encoded extended public key.
TODO: Add proper XPub type, which is the result of bech32 parsing a string.
Get information about a Cardano address. Three address formats are supported: Shelley, Icarus, and Byron.
If the address can't be parsed, the promise will be rejected with ErrInspectAddress.
the address to inspect.
an optional bech32-encoded root extended public key. This only applies to Byron addresses, and is for decrypting the InspectAddressByron.payload field.
The fields parsed from the address.
The Cabal package version string and git revision.
Generated using TypeDoc
This module is a TypeScript/JavaScript binding for the cardano-addresses package.