Ephemeral public key (E) as SEC1 hex.
Secret key or array of secret keys, hex.
Blinded public key or array of blinded public keys, hex.
Optional. False when slot 0 holds non-key data (eg an HTLC hashlock), so the first pubkey takes slot 1.
Array of derived secret keys as 64 char hex.
Derive blinded secret keys that correspond to given P2BK blinded pubkeys.
Pubkeys are processed in order, for a proof that is [data, ...pubkeys, ...refund]. Private key order does not matter.