Cardano.Cip95

CIP 95 support.

Retrieve the wallet account public DRep key, derived as described in CIP-105.

Retrieve the wallet account registered public stake keys.

Retrieve the wallet account unregistered public stake keys.

-> { drepId : Bytes CredentialHash
, payload : Bytes a
}

Sign a payload with a given key, using CIP-8 signature scheme. The credential should correspond to the DRep ID expected to sign.

= DrepKey (Bytes Ed25519PublicKey)
| RegisteredStakeKeys (List (Bytes Ed25519PublicKey))
| UnregisteredStakeKeys (List (Bytes Ed25519PublicKey))
| SignedData DataSignature
| UnhandledApiResponse String

Response type for all API requests done through the api object returned when enabling a wallet.

apiDecoder : String -> Decoder ApiResponse

API response decoder for CIP-30. Intented to be provided as argument to the responseDecoder function.