12 lines
208 B
TypeScript
12 lines
208 B
TypeScript
export type WriteRequest = {
|
|
id: string;
|
|
publicKey: string;
|
|
timestamp: number;
|
|
|
|
/**
|
|
* sha256(timestamp + id + toExtendedJson(value))
|
|
*/
|
|
signature: string;
|
|
value: unknown;
|
|
};
|