Type alias BuildApproveParameters

BuildApproveParameters: Trigger & {
    gasLimit?: bigint;
    spender: Address;
}

Parameters for building an approval instruction

Type declaration

  • Optional gasLimit?: bigint

    Gas limit for the approval transaction. Required when using the standard approve function instead of permit.

    Example

    50000n
    
  • spender: Address

    Spender address.

    Example

    "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"