undedoloremque
Version:
Green Field JS SDK
18 lines (16 loc) • 395 B
text/typescript
import { METHOD_GET, METHOD_POST, METHOD_PUT } from '@/constants/http';
export interface ReqMeta {
method: typeof METHOD_GET | typeof METHOD_POST | typeof METHOD_PUT;
contentType: string;
url: {
hostname: string;
path: string;
query: string;
};
date: Date;
expiryTimestamp: Date;
contentSHA256: string;
unsignMsg: string;
txnHash: string;
userAddress: string;
}