Skip to content

Commit

Permalink
fixup! Implement 0xgasless plugin without approve
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Jun 26, 2024
1 parent dc81f3e commit 88fc25c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/swap/defi/0x/zeroXApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,13 @@ export interface GaslessSwapSubmitRequest {
}

export interface GaslessSwapSubmitResponse {
type: 'metatransaction_v2'
type: 'metatransaction_v2' | 'otc'
tradeHash: string
}

export const asGaslessSwapSubmitResponse = asJSON<GaslessSwapSubmitResponse>(
asObject({
type: asValue('metatransaction_v2'),
type: asValue('metatransaction_v2', 'otc'),
tradeHash: asString
})
)
Expand Down

0 comments on commit 88fc25c

Please sign in to comment.