StakePointer

class cometa.address.stake_pointer.StakePointer(slot, tx_index, cert_index)[source]

Bases: object

Pointer to a stake key registration location on the blockchain.

Used in pointer addresses to indirectly reference a stake key through its registration certificate location rather than embedding the key directly.

Parameters:
  • slot (int)

  • tx_index (int)

  • cert_index (int)

slot: int

The slot number of the stake key registration certificate.

tx_index: int

The transaction index within the slot.

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

__init__(slot, tx_index, cert_index)
Parameters:
  • slot (int)

  • tx_index (int)

  • cert_index (int)

Return type:

None

__repr__()

Return repr(self).

cert_index: int

The certificate index within the transaction.