function · Browser and Node
makeReceipt
A witness receipt.
KEL events: a KERI rct with a -B indexed signature over the event (index = position in the witness list).
Trail messages: a trc with its own time, and a -C couple over the trc.
@toip-tools/eventlogView sourceimport { makeReceipt } from "@toip-tools/eventlog";
Declaration
makeReceipt(msg: SignedMessage, signer: Signer, opts: {
index?: number;
dt: string;
}): Promise<SignedMessage>;
Parameters
msgrequiredSignedMessagesignerrequiredSigneroptsrequired{ index?: number; dt: string; }
Returns
Promise<SignedMessage>