diff --git a/client/PublicRequestTypes.ts b/client/PublicRequestTypes.ts index f6dedc11..60b0c937 100644 --- a/client/PublicRequestTypes.ts +++ b/client/PublicRequestTypes.ts @@ -612,11 +612,18 @@ export interface SignPolygonTransactionRequest extends BasicRequest, RelayReques recipientLabel?: string; /** * The sender's nonce in the token contract, required when calling the - * contract function `executeWithApproval`. + * contract function `transferWithApproval`. */ approval?: { tokenNonce: number, }; + /** + * The sender's nonce in the token contract, required when calling the + * contract function `transferWithPermit`. + */ + permit?: { + tokenNonce: number, + }; } export interface SignedPolygonTransaction { diff --git a/src/lib/RequestTypes.ts b/src/lib/RequestTypes.ts index 74c1610f..7fa425da 100644 --- a/src/lib/RequestTypes.ts +++ b/src/lib/RequestTypes.ts @@ -154,7 +154,12 @@ export interface ParsedAddBtcAddressesRequest extends ParsedSimpleRequest { export interface ParsedSignPolygonTransactionRequest extends ParsedBasicRequest, RelayRequest { recipientLabel?: string; - tokenApprovalNonce?: number; + approval?: { + tokenNonce: number, + }; + permit?: { + tokenNonce: number, + }; } /**