AddressProps: {
    byronAddressContent?: Cardano.ByronAddressContent;
    delegationPart?: Cardano.Credential;
    networkId?: Cardano.NetworkId;
    paymentPart?: Cardano.Credential;
    pointer?: Cardano.Pointer;
    type: Cardano.AddressType;
}

Address object initialization properties.

Type declaration

  • Optional byronAddressContent?: Cardano.ByronAddressContent

    Byron addresses content (kept for backward compatibility with Byron addresses).

  • Optional delegationPart?: Cardano.Credential

    Indicates the owner of the stake rights associated with the address. Whoever owns the delegation parts owns the stake rights of any funds associated with the address. In most scenarios, the payment part and the delegation part are owned by the same party. Yet it is possible to construct addresses where both parts are owned and managed by separate entities.

  • Optional networkId?: Cardano.NetworkId

    Network identifier (taken from the second half of the header (bits [3;0])). Note: not present in Bryon addresses.

  • Optional paymentPart?: Cardano.Credential

    Indicates the ownership of the funds associated with the address. Whoever owns the payment parts owns any funds at the address. In order to spend from an address, one must provide a witness attesting that the address can be spent. In the case of a PubKeyHash, it means providing a signature of the transaction body made with the signing key corresponding to the hashed public key (as well as the public key itself for verification).

    For monetary scripts, it means being able to provide the source script and meet the necessary conditions to validate the script.

  • Optional pointer?: Cardano.Pointer

    Refers to a point of the chain containing a stake key registration certificate.

    A point is identified by 3 coordinates:

    • An absolute slot number
    • A transaction index (within that slot)
    • A (delegation) certificate index (within that transaction)
  • type: Cardano.AddressType

    Specify the type of the address. There are currently 8 types of Shelley addresses and 1 for Byron addresses.

Generated using TypeDoc