Skip to main content

signCip30CoseData

Low-level signing method for creating a valid Cip30CoseSign1 data-structure Doesn't check that the address actually corresponds to the given privateKey

export function signCip30CoseData(
  address: ShelleyAddress<PubKeyHash>,
  privateKey: Bip32PrivateKey,
  payload: BytesLike
): Cip30CoseSign1

Arguments

NameTypeDescription
addressShelleyAddress<PubKeyHash>
privateKeyBip32PrivateKey
payloadBytesLike

Return value

Cip30CoseSign1