Expand description
Structs§
- Address
- Kaspa
Address
struct that serializes to and from an address format string:kaspa:qz0s...t8cv
. - Address
ArrayT - WASM (TypeScript) type representing an array of
Address
objects:Address[]
. - Address
OrString ArrayT - WASM (TypeScript) type representing an array of Address-like objects:
(Address | string)[]
. - Address
OrUndefinedT - WASM (TypeScript) type representing an
Address
or an undefined value:Address | undefined
. - AddressT
- WASM (TypeScript) type representing an Address-like object:
Address | string
.
Enums§
- Address
Error - Error type produced by
Address
operations. - Prefix
- Address prefix identifying the network type this address belongs to (such as
kaspa
,kaspatest
,kaspasim
,kaspadev
). - Version
- Kaspa
Address
version (PubKey
,PubKey ECDSA
,ScriptHash
)
Constants§
- PAYLOAD_
VECTOR_ SIZE - Size of the payload vector of an address.
Type Aliases§
- Payload
Vec - Used as the underlying type for address payload, optimized for the largest version length (33).