The address type specifies the kind of spending data (Some data that are bound to an address). It’s an extensible object with payload which identifies one of the three elements:

  • A Public Key (Payload is thereby a PublicKey)
  • A Script (Payload is thereby a script and its version)
  • A Redeem Key (Payload is thereby a RedeemPublicKey)

Enumeration Members

Enumeration Members

PubKey: 0
Redeem: 2
Script: 1

Generated using TypeDoc