UNPKG

@circle-fin/circle-sdk

Version:
53 lines (49 loc) 1.33 kB
/* tslint:disable */ /* eslint-disable */ /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface MetadataCryptoPayment */ export interface MetadataCryptoPayment { /** * The protocol type. so far we only support \"TransferWithAuthorization\". find more details in EIP-3009 * @type {string} * @memberof MetadataCryptoPayment */ type: MetadataCryptoPaymentTypeEnum; /** * meta transaction nonce * @type {string} * @memberof MetadataCryptoPayment */ metaTxNonce: string; /** * This comes from the /presign response * @type {string} * @memberof MetadataCryptoPayment */ signatureValidAfter: string; /** * This comes from the /presign response * @type {string} * @memberof MetadataCryptoPayment */ signatureValidBefore: string; /** * Raw signature coming from the wallet response * @type {string} * @memberof MetadataCryptoPayment */ rawSignature: string; } export const MetadataCryptoPaymentTypeEnum = { TransferWithAuthorization: "TransferWithAuthorization" } as const; export type MetadataCryptoPaymentTypeEnum = typeof MetadataCryptoPaymentTypeEnum[keyof typeof MetadataCryptoPaymentTypeEnum];