CreateSwapQuoteResponseAllOfPermit2:
    | { eip712: EIP712Message; hash: string }
    | null

The approval object which contains the necessary fields to submit an approval for this transaction. Null if the fromToken is the native token or the transaction is a native token wrap / unwrap.

Type declaration

  • { eip712: EIP712Message; hash: string }
    • eip712: EIP712Message
    • hash: string

      The hash for the approval according to EIP-712. Computing the hash of the eip712 field should match the value of this field.

      ^0x[a-fA-F0-9]{64}$

  • null