diff --git a/client/PublicRequestTypes.ts b/client/PublicRequestTypes.ts index a7cde705..7865b0ed 100644 --- a/client/PublicRequestTypes.ts +++ b/client/PublicRequestTypes.ts @@ -624,6 +624,17 @@ export interface SignPolygonTransactionRequest extends BasicRequest, RelayReques permit?: { tokenNonce: number, }; + + /** + * The amount of USDC to transfer. Required when calling the contract + * methods 'redeem' and 'redeemWithSecretInData' for HTLCs. + */ + amount?: number; + /** + * The label of the sending address. Required when calling the contract + * methods 'redeem' and 'redeemWithSecretInData' for HTLCs. + */ + senderLabel?: string; } export interface SignedPolygonTransaction { diff --git a/src/lib/RequestTypes.ts b/src/lib/RequestTypes.ts index ada6919c..faf2e35c 100644 --- a/src/lib/RequestTypes.ts +++ b/src/lib/RequestTypes.ts @@ -160,6 +160,8 @@ export interface ParsedSignPolygonTransactionRequest extends ParsedBasicRequest, permit?: { tokenNonce: number, }; + amount?: number; + senderLabel?: string; } /**